Before you start. You need a verified sending domain and Shopify connected to Brew. Once both are set, and each topic is subscribed in Shopify Admin, every event below is available as an automation trigger.Selling app subscriptions instead? The same patterns work with RevenueCat or custom events from your own checkout.
New Shopper
Someone created an account or bought for the first time. Engagement will never be higher, so say hello while they’re still looking at the confirmation page. Send one email. Welcome them and set expectations for what you’ll send. Give them one reason to come back, such as a bestseller, a guide, or a first-order perk. Build this as an automation triggered bycustomers/create, with a Filter step that lets through only customers who opted in to marketing.
Order Placed
Customers open the order confirmation to check that the order went through. Make that answer clear. Send it onorders/create (or orders/paid if you only want to confirm captured payment). Include the order number, total, and payment status from the trigger payload. Order events don’t carry line items.
Build this as a single-email automation. If the receipt must also reach unsubscribed customers, send it from a domain with a transactional sending purpose.
Transactional-purpose sends skip the unsubscribe footer and deliver to unsubscribed contacts. On a marketing-purpose domain, the same automation respects unsubscribes.
{{ orderNumber }}, {{ totalPrice }}, {{ financialStatus }}. See the Shopify integration for the full variable list, and Merge Tags for the syntax and fallbacks.
Abandoned Cart
Most carts don’t convert. A reminder within a day reaches shoppers while they still remember the cart. Send a 2 to 3 email flow starting about an hour after the checkout is created. Lead with the reminder and a link back, not a discount. Build this as a marketing flow triggered bycheckouts/create, with a Filter step that lets through only customers who opted in to marketing.
Shipped and Delivered
People open shipping emails to check tracking, often more than once. Delivery is also the right moment to ask for a review, while the box is still on the counter. Send a shipment notification onfulfillments/create with the tracking link. Send the review request on the same event after a Wait of about a week. No Shopify event says the box arrived.
Don’t trigger the review request from fulfillments/update. Shopify can send it more than once per fulfillment. Each one starts its own run, so a customer could get several review requests.
Build these as two separate automations. The shipment notice follows the same unsubscribe caveat as the order confirmation. The review request is marketing, so give it the same opt-in Filter as the welcome email.
Winning Back Lapsed Customers
Customers who bought once and went quiet aren’t gone. They haven’t had a reason to come back yet. Shopify order events writeshopifyLastOrderAt onto each shopper’s contact. Filter on it with a fixed date, such as a last order before a date 90 days ago. The date doesn’t roll forward, so move it each time you run the win-back.
Save that audience, limited to customers who opted in to marketing, then send a win-back. Use a one-off Email, or a one-off flow run against the saved audience if you want a follow-up stage for non-openers.
Where to Start
If you’re building store emails for the first time, do them in this order:- Order placed: table stakes; every customer sees it
- Abandoned cart: the fastest revenue recovery you can ship
- Shipped and delivered: highest engagement, sets up the review
- New shopper: compounds as your store grows
- Winning back lapsed customers: run it quarterly once the rest are live
From an Agent or Code
Connecting Shopify is app-only;list_integrations or GET /v1/integrations confirms it. Each prompt on this page then works as a message to an agent over MCP:
create_emailmakes each design first.save_automationthen saves the flow on the Shopify event, with each send node pinned to one design and a verified domain.test_automationruns it to one address, andsave_automationwithpublished: truesets it live.check_triggertells you whether Brew has received a given Shopify topic yet.- For the win-back,
create_audience(orPOST /v1/audiences) saves the filter onshopifyLastOrderAtand the opt-in field.send_emailwith thataudienceIdsends the one-off Email. For a follow-up flow, point its manual-audience trigger at the audience withsave_automation, then launch it withrun_automation.
Related
- Shopify: the 13 events, the payload fields each carries (such as
orderNumberandtrackingUrl), and consent. - Transactional Email: receipts and shipping notices that must reach unsubscribed customers.
- Run a One-Off Flow: a win-back with a follow-up stage.
- Merge Tags: the syntax and fallbacks for payload fields.
- Lifecycle Emails for SaaS and B2B: the same approach for software.
Need Help?
Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:- Self-Service Tools
- Talk to Our Team
Search Documentation
Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.
Ask ChatGPT or Claude
Click here to open the Copy page menu at the top of this page, then send the page to ChatGPT, Claude, or your editor.