← Blog

Shopify Flow AI Prompt Examples for Email Chains

· updated · Shopify, Tutorials

Shopify Flow AI Prompt Examples for Email Chains

One-off transactional emails are useful, but the real revenue lives in email chains – multi-step sequences that unfold over days or weeks: a welcome series, a post-purchase follow-up, a win-back campaign. Historically those required a marketing platform plus careful workflow design. Today you can describe the whole chain in plain language and let Shopify Sidekick generate the Shopify Flow workflow for you, then use WorkflowMail to deliver each message.

This post is a cookbook. It builds on our earlier guide, Creating Shopify Flow Workflows with Sidekick (and Sending Emails with WorkflowMail), and focuses specifically on multi-email chains. For each recipe you'll find a copy-paste Sidekick prompt, the logic Sidekick should produce, and notes on where WorkflowMail fits in. Sidekick's workflow generation is documented in Shopify's guide on generating content with Sidekick.

What counts as an "email chain" in Shopify Flow?

An email chain is a sequence of messages triggered by one business event, where each later message depends on time passing and/or on what the customer did (or didn't) do in between. In Shopify Flow that translates to:

  • A trigger (customer created, order paid, checkout abandoned, no order in N days, etc.).
  • Wait steps that pause the workflow for hours or days between emails.
  • Conditions that branch the chain (e.g., "has the order been fulfilled yet?", "did the customer click the review link?").
  • A WorkflowMail "Send transactional email" action at each step, personalized with Shopify data.
  • Tags (e.g., welcome-series-step-2) so you can track progress and prevent duplicate sends.

Because Sidekick can add all of these elements from a single description, a chain that used to take an afternoon to wire up can now be drafted in minutes – then reviewed and activated.

How to use these prompts

  1. Make sure WorkflowMail is installed on your store (it provides the email action Sidekick will reference).
  2. In your Shopify admin go to Apps > Flow and click Create workflow.
  3. Open Sidekick (the icon on the top right) and paste one of the prompts below.
  4. Sidekick generates the workflow and shows an overview – click to open it.
  5. Review every trigger, condition, Wait duration, and email body. Test with sample data, then turn the workflow on.

Sidekick-generated workflows are inactive by default and tagged sidekick, so they won't send anything until you activate them. You can also browse prebuilt starting points in the WorkflowMail templates in the Flow editor.

WorkflowMail templates in the Shopify Flow editor

Recipe 1 – Welcome series for new customers (3 emails)

A classic onboarding chain: greet the customer, teach them how to get value, then nudge them toward a first purchase.

Create a workflow that triggers when a customer is created. Send a welcome email with WorkflowMail immediately. Wait 2 days, then send a "getting started" email with our top 3 products and a 10% discount code. Wait 5 more days; if the customer has not placed an order yet, send a final "we miss you" email with a free-shipping offer. Tag the customer "welcome-series-complete" at the end. Use WorkflowMail for every email.

What Sidekick should build: Customer created trigger → WorkflowMail action → Wait 2 days → WorkflowMail action → Wait 5 days → Condition "customer has 0 orders" → WorkflowMail action → Add customer tag. Each WorkflowMail step should pull the customer's first name and store name into the subject/body.

Recipe 2 – Post-purchase follow-up and review request

Turn a single order into a conversation: thank them, ask for a review, then cross-sell.

When an order is paid, send a thank-you email with WorkflowMail containing the order number and a link to track the shipment. Wait 7 days. If the order is fulfilled, send a review request email asking the customer to rate their purchase. Wait 14 more days; if the customer has not placed a second order, send a cross-sell email recommending products from the same collection. Use WorkflowMail for all three emails and include the customer's first name.

Tip: Add a condition checking order fulfillment status before the review request so you don't ask for a review of an order that hasn't shipped yet.

Recipe 3 – Win-back chain for inactive customers

Re-engage customers who haven't bought in a while, escalating the incentive across three touches.

Create a scheduled workflow that runs weekly and finds customers who have not placed an order in the last 180 days and are not tagged "winback-sent". Send a "we miss you" email with WorkflowMail offering 10% off. Wait 7 days; if no order was placed, send a second email offering 15% off plus free shipping. Wait 14 more days; if still no order, send a final "last chance" email. Tag the customer "winback-sent" after the first email and "winback-complete" at the end.

Why tags matter here: Without a guard tag, a weekly scheduled workflow can re-trigger the chain for the same customer. The tag acts as a deduplication flag.

Recipe 4 – VIP milestone and upsell chain

Celebrate a spend milestone, then follow up with a tailored upsell.

When a customer's lifetime spend exceeds $1,000, tag them "VIP" and send a VIP welcome email with WorkflowMail thanking them and listing their exclusive perks. Wait 3 days, then send a personalized upsell email recommending our premium collection. Wait 10 days; if the customer hasn't used their VIP discount code, send a reminder email. Use WorkflowMail for all emails and address the customer by first name.

Recipe 5 – Abandoned checkout recovery chain

Recover carts that didn't convert, with escalating urgency.

When a checkout is abandoned, wait 1 hour and send a reminder email with WorkflowMail showing the abandoned items and a "complete your order" button. Wait 24 hours; if the order still hasn't been placed, send a second email offering 5% off. Wait 3 days; if still no order, send a final reminder with a 10% discount and a 48-hour expiry. Stop the chain if an order is placed at any point. Use WorkflowMail for every email.

Note: Abandoned-checkout triggers depend on your store setup. If Sidekick can't find the trigger, rephrase using "when a cart is created but no order is placed within 1 hour" or build it from the WorkflowMail templates.

Recipe 6 – Back-in-stock / waitlist notification chain

Notify interested customers when an item returns, then follow up if they don't buy.

When a product variant's inventory goes from 0 to greater than 0, find customers tagged "waitlist-<product>" and send a back-in-stock email with WorkflowMail including the product name, image, and a buy link. Wait 3 days; if the customer hasn't purchased, send a reminder email. Remove the waitlist tag after the first email so the customer isn't notified twice for the same restock.

Recipe 7 – High-value order internal notification chain

Keep your team in the loop and follow up with the customer.

When an order exceeds $500, send an internal notification email with WorkflowMail to ops@yourstore.com with order number, customer name, total, and a link to the order in Shopify Admin. Wait 1 day; if the order is not fulfilled, send a second reminder to the warehouse team. When the order is fulfilled, send the customer a thank-you email with WorkflowMail and a delivery-tracking link.

Recipe 8 – Refund and return follow-up chain

Close the loop after a refund to protect the relationship.

When an order is refunded, send the customer an email with WorkflowMail acknowledging the refund and explaining next steps. Wait 7 days, then send a feedback survey email asking why they returned the item. Wait 30 days; if the customer places a new order, send a thank-you email; otherwise send a win-back offer. Use WorkflowMail for all emails.

Recipe 9 – Subscription renewal reminder chain

If you sell subscriptions, remind customers before renewal and after.

When a subscription is scheduled to renew in 7 days, send a reminder email with WorkflowMail showing the renewal date, amount, and a link to manage the subscription. Wait until the renewal date; if payment succeeds, send a confirmation email; if it fails, send a payment-failed email with a link to update the card. Use WorkflowMail for all emails.

Anatomy of a prompt that works

Sidekick performs best when each prompt states the full contract of the workflow. Include:

  • Trigger – the exact business event that starts the chain.
  • Timing – "immediately", "wait 2 days", "wait until renewal date".
  • Conditions – "if no order placed", "if fulfilled", "if spend exceeds $X".
  • Actions – name WorkflowMail explicitly so Sidekick uses its "Send transactional email" action.
  • Personalization – customer first name, order number, product names, discount codes.
  • Guard tags – to prevent duplicate sends on scheduled/recurring triggers.
  • Stop conditions – "stop the chain if an order is placed".

Compare the weak prompt "Send VIP emails" with the strong prompt "When a customer's lifetime spend exceeds $1,000, send them a VIP welcome email with WorkflowMail and add the VIP tag". Specificity is the single biggest lever for quality.

Use the WorkflowMail template library as a starting point

You don't have to start from a blank prompt. WorkflowMail ships ready-made Flow templates you can install and customize – open the WorkflowMail templates in the Flow editor, pick one that matches your use case, then ask Sidekick to adapt it (e.g., "Add a 3-day Wait and a second WorkflowMail follow-up email to this workflow"). Combining templates + Sidekick edits is usually faster than prompting from scratch.

Before you activate: review checklist

  • Verify every condition's comparison operator (greater-than vs. at-least, "has 0 orders" vs. "has no orders in 180 days").
  • Confirm Wait durations are in the intended units (hours vs. days).
  • Test with sample data and confirm each WorkflowMail email renders with real Shopify variables.
  • Check that guard tags prevent re-triggering on scheduled workflows.
  • Ensure the workflow is inactive until you're ready, then turn it on.

AI-generated workflows save hours, but they still need a human review before they touch real customers.

Final thoughts

Email chains are where automation pays for itself, and Sidekick removes most of the friction of building them. Pair a precise prompt with WorkflowMail for delivery and you can ship a welcome series, a win-back campaign, or a VIP journey in an afternoon instead of a week.

Ready to try? Install WorkflowMail, open Shopify Flow, and paste your first prompt from this list. For more on Sidekick workflow generation, see Shopify's guide on generating content with Sidekick.

AIFlowFlowMailWorkflowMailShopifySidekickworkflowmailemail chainsFlow email appFlow email

Keep reading