Get An Email When A Specific Customer Places an Order

Topic summary

A user wants to set up automated notifications in Shopify Flow when a specific customer (identified by email or shipping address) places an order, and potentially cancel orders if they use a coupon code.

Suggested Solution:

  • Trigger: Use “Order Created”
  • Condition: Check if customer email or shipping address matches the target
  • Action: Send internal email notification when condition is met
  • Optional cancellation: Add a second condition checking if a discount code was used, then trigger “Cancel Order” action if true

This workflow enables real-time alerts for specific customer orders and automated order cancellation based on coupon usage.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hello. How can I set up a flow in Shopify Flow app when a specific customer places an order? I want to target the customers by their email address or shipping address.

Is there a way to cancel their order if they use a coupon code?

Hi @B_Lew

Yes! You can set this up using Shopify Flow by creating an automated workflow. Here’s how:

  1. Trigger: Select “Order Created” as the trigger.
  2. Condition: Add a condition to check if the customer’s email or shipping address matches the specific one you’re targeting.
  3. Action (Notification): If the condition is met, choose “Send Internal Email” to notify yourself or your team.
  4. (Optional) Cancel Order: To cancel orders when a coupon is used, add another condition: “Discount Code is Used” → If true, select “Cancel Order” as the action.

This setup ensures you’re instantly alerted when that customer orders, and their order gets canceled if they use a discount code :slightly_smiling_face:

1 Like