Shopify Flow/Notifications & Internal Alerts/Automate SendGrid Alerts for Custom Item Orders
Team VisibilityMedium Difficulty

Automate SendGrid Alerts for Custom Item Orders

Instantly alert your team via SendGrid when an order includes a custom item, ensuring immediate internal follow-up and preventing missed details.

The Problem

Manually identifying orders containing custom, non-catalog items is time-consuming and prone to human error, risking overlooked details critical for fulfillment or bespoke service. Without an automated alert, unique customer requests can fall through the cracks, leading to delayed communication, incorrect product delivery, and potential customer dissatisfaction.

What This Automation Solves

This Flow immediately triggers upon `Order created`, checking if `at least one line item is missing a product ID` – your clear signal for a custom item. If true, it uses `Send HTTP request` to fire off a targeted internal email via SendGrid, ensuring your fulfillment or design team gets a real-time heads-up to initiate custom workflows, with the `Run code` step logging the response for traceability.

When to Use This Automation

  • Selling bespoke, made-to-order products not listed as standard Shopify variants.
  • Taking custom client requests via draft orders that are converted to sales.
  • Needing special handling or design approval for specific line items.

Workflow

  1. Trigger

    Step 1

    This workflow starts when a new order is created

  2. Condition

    Step 2

    At least one line item is missing a product id

  3. Action

    Step 3

    Send email via Send Grid, coming from the contact email on the shop

  4. Action

    Step 4

    Log reponse

Step-by-Step Setup

  1. 1

    Set the trigger to `Order created` to start the workflow.

  2. 2

    Add a `Condition` to check if `at least one line item is missing a product ID`.

  3. 3

    Configure `Send HTTP request` with your SendGrid API key and email details for an internal alert.

  4. 4

    Add a `Run code` action to log the SendGrid response for debugging.

Related Questions

How does Shopify Flow identify a "custom item"?
Shopify Flow identifies a "custom item" in this context when a line item in an order does not have a `product ID` associated with it, indicating it's not linked to a standard product in your catalog.
Why use SendGrid instead of standard Shopify notifications?
SendGrid offers greater control over email content, sender identity, and deliverability metrics, making it ideal for critical internal alerts or highly customized transactional communications that require specific formatting or tracking.
Can I send this alert to a specific team or department?
Yes, by configuring the `to` field in your SendGrid HTTP request body, you can direct the internal alert to a specific email address, such as fulfillment@yourstore.com or customorders@yourstore.com.
What is the purpose of the "Run code" step?
The "Run code" step, configured to log the SendGrid response, is crucial for debugging. It confirms whether the email was sent successfully and can capture any error messages from SendGrid.

Recommended Tools & Apps

Launch this automation

Open Shopify Flow and use this page as your setup blueprint.

Open Shopify Flow

Merchant Insight

To make this truly robust, consider adding order tag actions after sending the SendGrid alert. Tagging "Custom Order – Notified" can help visually flag these orders in your Shopify admin, preventing duplicate alerts and streamlining manual

Related Automations