Commerce Marketing Automation, Run on Store and Payment Data
Commerce marketing automation beyond email: the store and payment events behind it, SMS, ad audiences, on-site offers, Shopify Flow, guardrails, holdouts.
Article summary
TL;DR
Commerce marketing automation runs marketing on what happens in the store and in payments: orders, failed renewals, refunds, disputes. Those events update one customer profile and its segments, which then drive email, SMS, ad audiences, on-site offers and internal tasks. It also decides who should not receive marketing right now.
- Start from events, not channels: store events, checkout events and payment events (paid, failed renewal, refund, dispute).
- Every automation needs a stop rule. Paid, card updated, refunded or disputed customers leave promotional flows.
- Ad audiences built from customer lists carry their own rules: hashing, a lawful basis, removal on opt-out, and consent signals for EEA users at Google.
- Shopify Flow handles the operations side for free on paid plans: triggers, conditions, actions, including dispute and failed subscription billing triggers.
- Measure each automation against a holdout group. Attributed revenue counts orders that would have happened anyway.
On this page
Commerce marketing automation runs your marketing on what actually happens in the store and in payments. An order is paid, a renewal fails, a refund goes out, a customer opens a dispute: each event should change what that customer receives next, in every channel, including whether they receive marketing at all. This guide covers the data behind it, the channels beyond email, the operations side, the guardrails and how to measure it. By industry: email flows for supplement brands, email flows for skincare brands, email flows for online pharmacies, email flows for telehealth companies, email flows for fitness brands and email flows for info product businesses.
What is commerce marketing automation?
It's the set of rules that turns commerce events into actions. A trigger (an event), conditions (who qualifies), and actions (what happens). Shopify describes its own automation tool in exactly those terms: workflows built from triggers, conditions and actions.1Shopify Help Center, Shopify Flow
What makes it "commerce" is the data. Generic marketing automation reacts to form fills, opens and page views. Commerce marketing automation also reacts to checkouts, payments, subscriptions, refunds and disputes, and it acts in more places than the inbox.
| Email automation | Commerce marketing automation | |
|---|---|---|
| What starts it | Signup, open, click, cart, order | The same, plus payment outcomes: paid, failed renewal, refund, dispute |
| Where it acts | The inbox | Email, SMS, ad audiences, on-site content, internal tasks |
| Who it excludes | Unsubscribed and bounced addresses | Also customers with a failed payment, an open dispute or a pending refund |
| Source of truth | The email tool's profile | The store, the checkout and the payment processor, synced to one profile |
| How it's judged | Opens, clicks, attributed revenue | Incremental orders and recovered payments against a holdout |
Verdict
The email flows are one output. The core is the event data and the rules that decide, for each customer, what to send, where, and what to hold back.
Each email trigger (welcome, abandoned checkout, post-purchase, win-back, failed payment) is mapped event by event in our guide to triggered email campaigns. This page covers everything around it.
The data behind it: store, checkout and payment events
Automation is only as good as the events behind it. In an ecommerce stack, they come from four places, and they need to land on one customer profile.
Fig. 1Where the events come from
Store platformCustomer created, order created, order paid, product back in stock
- CheckoutCheckout started, abandoned, upsell accepted, order confirmed
Payment processorPayment succeeded or failed, renewal failed, refund, dispute opened
- Messaging and supportConsent given or withdrawn, unsubscribes, tickets
one profile, several sources
The store platform knows about products, carts and orders. Shopify Flow alone exposes triggers such as Customer created, Customer abandons checkout, Order paid, Order risk analyzed, Refund created, Dispute created, Product variant back in stock and Customer joined segment.2Shopify Help Center, Shopify Flow triggers
The checkout knows what happened at the moment of payment: which offer was shown, which upsell was accepted, whether the card was declined. How each step works and which events it emits is covered in the checkout flow.
The payment processor knows the outcome of every charge, including the ones that happen without the customer: renewals, retries, refunds and disputes. Processors send these as webhooks. Stripe, for example, sends payment_intent.succeeded when a payment completes, invoice.payment_failed when an invoice payment attempt fails, charge.refunded for full and partial refunds, charge.dispute.created when a customer disputes a charge with their bank, and charge.dispute.closed when the dispute is won or lost.6Stripe Docs, Types of events
Payment events that should change your marketing
Most stacks wire store events into marketing and leave payment events to finance. That's how a customer who just disputed a charge gets a "we miss you" discount the next day. Here is what each payment event should do.
- Payment succeededThe order is real, the customer is in good standingStart post-purchase flows; remove them from abandonment flows and prospecting audiences
- Renewal payment failedRevenue at risk, often without the customer knowingStart the payment update flow; pause promos and cross-sells until paid
- Retry or card update succeededThe problem is solvedStop every recovery message at once; resume normal flows
- Refund issuedThe customer is unhappy or returned the productHold review requests and cross-sells; ask why if you don't know
- Early fraud warningThe card issuer reported the charge as possible fraudHold fulfillment if not shipped; keep the customer out of retargeting
- Dispute openedThe customer went to the bank instead of youSuppress all marketing; flag the account; send the case to whoever answers disputes
A few notes on the payment side:
- Failed renewals. The failed payment message is one piece of dunning, which also covers retries and the grace period. Why renewals fail and which declines are worth retrying is in subscription payment failures. Customers lost this way are involuntary churn: they need a card update link, not a discount.
- Refunds and disputes. A refund and a chargeback both send money back, but the second one also costs a fee and adds to your chargeback rate; see chargeback vs refund. Marketing that keeps pushing offers to an unhappy customer is one of the ways a refund request turns into a dispute. Prevention is covered in chargeback prevention.
- Snapshots and order. Webhook events can arrive late, twice or out of order, so check the current state of the payment before an automation acts on it.
Customer profile and segments
Events change the profile. The profile places the customer in segments. Segments drive the channels. Shopify defines its customer segments as "dynamic, rule-based customer lists" and says customers are automatically added or removed as they meet the criteria or stop meeting them.5Shopify Help Center, Customer segmentation That last part is what makes them usable for automation: a static list exported last month doesn't know who paid, refunded or disputed since.
Fig. 2What the automation needs to know about one customer
- Last order
- Paid 12 days ago · full price
- Subscription
- Monthly · renewal failed yesterday, retry scheduled
- Refunds and disputes
- None open
- Email consent
- Subscribed, double opt-in, March 4
- SMS consent
- None recorded
- Segments
- Repeat buyer · Full-price buyer · Payment issue open
Illustrative record.
each line is a rule somewhere
Read the record as the automation would. Maya gets the card update email, not this week's promotion. She gets no marketing text, because there is no SMS consent. She stays in the "repeat buyer" audience for exclusions, not in prospecting. When the retry succeeds, the "payment issue open" segment drops and normal flows resume.
The segments worth building first are the ones that change an action:
- Value and frequency: first-time buyers, repeat buyers, high spenders, customers past their usual reorder gap.
- Offer sensitivity: full-price buyers versus discount-only buyers, so discounts don't go to people who would pay full price.
- Subscription state: trialing, active, payment issue, paused, canceled.
- Exclusions: open dispute, pending refund, unsubscribed, bounced, no consent for a channel.
How to build segments step by step, from RFM to behavioral groups, is covered in our guide on how to segment customers.
Channels beyond email
The same event and the same segment can act in several places. Each channel has its own consent rules and its own lag.
Email
The default channel for most flows. Order and billing emails are transactional; welcome, abandonment, cross-sell and win-back emails are marketing. Map the triggers in triggered email campaigns.
SMS
Short, urgent messages to customers who opted in. In the US, automated marketing texts need prior express written consent that can't be a condition of purchase.
Ad audiences
Customer lists synced to Meta and Google: exclude buyers from prospecting, retarget lapsed customers, build lookalikes from your best segment.
On-site content
What a recognized visitor sees: banners, offers, popups, the account page. No message sent, so it reaches people without channel consent.
Email. Email remains the main channel, and its rules are well documented. In the US, CAN-SPAM doesn't require prior consent for commercial email but requires an opt-out honored within 10 business days, with penalties up to $53,088 per email.13FTC, CAN-SPAM Act: A Compliance Guide for Business In the EU, marketing email needs consent, except for your own similar products sold to existing customers who could object at collection and in every message.15Directive 2002/58/EC (ePrivacy Directive), Article 13 Keeping those emails out of spam folders is covered in how to avoid emails going to spam.
SMS. Under the TCPA rules, automated marketing texts need the customer's prior express written consent, and that consent can't be required to buy.14eCFR, 47 CFR 64.1200, Delivery restrictions (TCPA) Keep SMS for messages where speed matters: a failed payment with a short update link, a delivery problem, a back-in-stock alert the customer asked for. Consent capture, 10DLC registration and timing are in SMS marketing for ecommerce.
Ad audiences from customer lists: Meta and Google rules
Syncing segments to ad platforms is where commerce automation pays off outside owned channels: stop paying to show prospecting ads to people who just bought, retarget lapsed customers, seed lookalikes from full-price repeat buyers. It's also where the platform rules are strictest.
| Rule | Meta Custom Audiences (customer list) | Google Customer Match |
|---|---|---|
| Data format | Contact data hashed with SHA256 before upload; external IDs such as loyalty or user IDs can be sent unhashed | Contact data uploaded to Google Ads, matched to Google accounts |
| Whose data | Data you have the rights to use | Only data collected "in the first-party context", from your own customers |
| Legal basis and consent | You represent that you have "all necessary rights and permissions and a lawful basis" to use the audience | Consent where required by law or Google policy, including the EU user consent policy |
| EEA users | Your own lawful basis under EU law | Since March 2024, both consent fields (ad_user_data and ad_personalization) must be set to granted; missing consent counts as not consented |
| Opt-outs | Remove a person from the audience when they opt out | If an EEA user withdraws either consent, remove them from the list or replace the list without them |
| Disclosure | Not specified in the API guide | Privacy policy must disclose that you share customer data with third parties |
| Update lag | Changes "usually take up to 24 hours" | Not stated in the policy pages cited |
| Account conditions | Custom Audience Terms accepted | Good policy compliance and payment history; some features need 90 days of history and more than USD 50,000 lifetime spend |
Sources: Meta for Developers, Meta Custom Audiences Terms, Google Ads Help.7Meta for Developers, Custom Audiences (Marketing API)8Meta, Custom Audiences Terms9Google Ads Help, Customer Match policy10Google Ads Help, FAQs about the EU user consent policy for Customer Match upload partners
Three consequences for your automations:
- Consent travels with the record. Google advises uploading users with different consent statuses in separate jobs.10Google Ads Help, FAQs about the EU user consent policy for Customer Match upload partners Keep consent as a field on the profile, with its date and source, so the sync can split them.
- Exclusions lag. With up to 24 hours before a Meta audience change applies, a customer who disputed a charge this morning may still see a retargeting ad tonight.7Meta for Developers, Custom Audiences (Marketing API) Sync exclusion audiences (open dispute, refund pending, unsubscribed) at least as often as the others.
- Sensitive audiences get flagged. On September 2, 2025, Meta began rolling out restrictions on custom and lookalike audiences that suggest specific health conditions or financial status, and flagged audiences can't be used to run campaigns.7Meta for Developers, Custom Audiences (Marketing API) Name segments after behavior ("repeat buyer, 90 days"), never after a condition the product addresses.
Not legal advice
Whether a given customer list may be uploaded depends on how and where you collected it. Store each consent with its wording, date and source, and check with counsel before uploading EU data.
Inside Tagada
Build the funnel once, route every customer to the right offer
Checkout, upsells and subscriptions on one flow, with conditions per country, order or customer.

On-site personalization
The site is the channel that needs no send. When a visitor is recognized (logged in, or arriving from a tracked email link), the same segments can change what the page shows.
Automations that use the profile well
- A subscriber with a failed renewal sees a banner to update the card on the account page
- A repeat buyer sees "reorder" and their usual product first, not the first-order discount popup
- A full-price buyer isn't shown a discount they would never have asked for
- A customer who just bought sees a post-purchase offer that complements the order, not the same product again
Automations that backfire
- A discount popup shown to a customer who paid full price an hour ago
- Upsells on the account page of someone with an open refund request or dispute
- Different prices or offers in email and on the site for the same segment
- Personalization based on data the customer doesn't expect you to hold
The checkout is the strongest on-site moment: the order bump and the one-click upsell after payment are automations too, driven by what's in the cart and how the customer paid. See also personalization in the glossary.
Operations automations with Shopify Flow
Not every automation sends a message. Many protect the margin: holding a risky order, tagging a customer who disputed, alerting the team when a subscription charge fails. On Shopify, this is what Flow is built for.
Shopify defines the three parts this way: "Triggers are events that start a workflow"; conditions "continue a workflow when certain rules are met, such as the start of an if-then statement"; actions "can make changes in your store, affect data in the workflow, or do something with an external app or service".2Shopify Help Center, Shopify Flow triggers3Shopify Help Center, Shopify Flow conditions4Shopify Help Center, Shopify Flow actions
Fig. 3A Flow workflow for disputes
approved declined or closed routing step
- Dispute createdTrigger
- checksOrder not fulfilled?Condition
- if trueHold fulfillment orderAction
- thenAdd customer tagAction: dispute-open
- thenSend internal emailAction: to the team
trigger, condition, action
The tag is what connects operations to marketing: your email, SMS and audience tools can exclude anyone tagged dispute-open. Other workflows worth building, all from Flow's documented triggers and actions:2Shopify Help Center, Shopify Flow triggers4Shopify Help Center, Shopify Flow actions
| Trigger | Condition | Actions |
|---|---|---|
| Order risk analyzed | Risk level is high | Hold fulfillment order, add order tag, send internal email |
| Subscription billing attempt failure | Customer has an active subscription | Add customer tag for the payment issue, notify the team |
| Subscription billing attempt success | Customer has the payment issue tag | Remove the tag, so promotional flows resume |
| Refund created | Full refund | Add customer tag, wait, then remove it after a set period |
| Customer joined segment | Segment is your high-value repeat buyers | Add customer tag used by your email and ad tools |
| Product variant back in stock | Variant had waitlist signups | Send HTTP request to your messaging tool |
Plans
Shopify says Flow is a free app on the Basic, Grow, Advanced and Plus plans. The Send HTTP Request action needs Grow, Advanced or Plus, tasks from custom partner apps need Plus, and usage limits differ by plan.1Shopify Help Center, Shopify Flow
Outside Shopify, the same logic runs on webhooks from your processor and checkout, handled in your own code or an automation tool. The checklist for disputes themselves, once the tag is set, is in chargeback prevention and, if you decide to fight, the chargeback rebuttal letter.
Guardrails: consent, suppression and frequency
An automation that sends the right message is half the job. The other half is the rules that stop the wrong one. Write them as a matrix: customer state on one side, channel on the other.
| Customer state | Promo email | Marketing SMS | Ad retargeting | Review request | Order and billing |
|---|---|---|---|---|---|
| Paid, no issue | Yes | YesWith SMS consent | Yes | Yes | Yes |
| Renewal failed, retries running | No | No | No | No | Yes |
| Refund pending | No | No | No | No | Yes |
| Dispute open | No | No | No | No | Yes |
| Unsubscribed from email | No | YesWith SMS consent | Conditional | No | Yes |
| EU customer, no consent recorded | NoUnless the existing customer exception applies | No | Conditional | No | Yes |
"Conditional" for ads means the platform rules in the section above: a lawful basis at Meta, consent signals for EEA users at Google.8Meta, Custom Audiences Terms10Google Ads Help, FAQs about the EU user consent policy for Customer Match upload partners
Then rank and cap:
- Transactional first. Order, shipping, billing and account messages are never capped or delayed by marketing rules.
- Money at risk next. A failed payment or trial-ending notice outranks every promotion, and pauses promotions while it's open.
- One marketing message per window, across channels. Klaviyo's Smart Sending, for example, skips marketing messages to anyone messaged in the last 16 hours for email and 24 hours for SMS by default, never skips transactional messages, and doesn't resend what it skipped.11Klaviyo Help Center, Smart Sending A cap that only counts emails still lets an SMS and an email land on the same afternoon.
- One owner per message. Shopify, your processor's billing tool and your email platform can all send order and billing emails. Pick one sender per message and switch off the others.
- Exits on every flow. Paid, card updated, ordered, refunded, disputed or unsubscribed: each one removes the customer from the flows it makes irrelevant.
Write the order once, then apply it in every tool's filters.
Why implementing marketing automation in an online store gets confusing
The most common source of confusion isn't the tool. It's that several tools act on the same customer without a shared rulebook.
| Problem | What the customer sees | Fix |
|---|---|---|
| Several senders | Two "update your card" emails, from the billing tool and the email platform, with two different links | One owner per message; switch off the duplicate sender |
| Several copies of the customer | An email with an old address, plan or card, because the tool read a profile that hadn't synced yet | One system of record per field: payment state from the processor, orders from the store, consent from where it was collected |
| Consent kept in one tool | An SMS or an ad after unsubscribing, because only the email platform knew | Consent as a profile field, synced to every channel |
| Revenue counted twice | Nothing, but every flow looks profitable in its own dashboard | One measurement method across channels: holdouts |
| No exits | A reminder after the order was placed, or a promo the day after a dispute | A stop rule on every automation |
Enterprise suites ship prebuilt commerce campaigns, such as abandoned cart and new order placed, and integration platforms sync catalog and campaign data between store, ad platforms and a data warehouse. Both help. Neither decides, for you, which tool owns which message or who should be excluded.
How to measure it: holdouts, not attributed revenue
Messaging tools report attributed revenue: orders placed within a window after a message. Klaviyo's default window is 5 days for email and SMS, and a conversion counts when a recipient opens or clicks and then takes the action, including opens recorded by Apple Mail Privacy Protection unless you exclude them.12Klaviyo Help Center, Understanding message conversion tracking Ad platforms run their own attribution on the same orders. Add the numbers up and you'll count some orders twice, and credit automations for customers who would have bought anyway.
A holdout answers the only question that matters: what did the automation add?
- Split at entry. When a customer qualifies for the automation, randomly hold out a fixed share. They qualify but get nothing.
- Keep everything else equal. Same campaigns, same site, same offers. Only the automation differs.
- Pick the outcome from the goal. Completed orders for abandonment, recovered payments for failed renewals, second orders for post-purchase, retention by month for subscribers.
- Compare per person who entered. Treated minus holdout is the incremental effect. Subtract refunds and disputes before calling it revenue.
- Keep a small holdout running. Never at zero, or you can't tell a working automation from one that takes credit.
Run it per automation, long enough to get a meaningful number of outcomes in both groups.
For ad audiences, the same logic applies: exclude a random share of the segment from the sync and compare purchases. For subscriptions, compare cohorts over several months; see cohort analysis. Measured revenue also depends on events reaching the ad platforms in the first place; server-side tracking sends paid orders from the server rather than the browser.
Where to start
Build in the order of money at risk, not in the order a platform's template library suggests.
Fig. 4A build order for commerce marketing automation
- Events and profileStore, checkout, processor on one record
- GuardrailsConsent fields, suppression, owners
- Payment flowsFailed renewal, card update, dispute tags
- Lifecycle flowsWelcome, abandonment, post-purchase, win-back
- Audiences and siteExclusions, retargeting, on-site offers
each step needs the one before
- Events and profile. List every event you need, where it comes from and how it reaches the profile. Payment events come from the processor through webhooks.
- Guardrails. Add consent fields per channel, the suppression segments (payment issue, refund pending, dispute open), and assign each message to one tool.
- Payment flows. Failed renewal and card update messages, dispute tagging, holds on risky orders. They protect revenue you already earned.
- Lifecycle flows. Welcome, abandoned checkout, post-purchase and win-back, each with an exit. The details are in triggered email campaigns.
- Audiences and site. Sync exclusion audiences first, then retargeting and lookalikes; then on-site offers by segment. Put a holdout on each.
Where Tagada fits
Many of the events that drive commerce marketing automation start in the checkout and the billing layer: checkout started, upsell accepted, order paid, renewal failed, retry succeeded.
How Tagada helps
The checkout and billing events behind your automations
Tagada runs the checkout, with one-click upsells, order bumps, A/B tests, Apple Pay and Google Pay, and subscriptions with trials, billing cycles, dunning and automatic retries, standalone, alongside Shopify or WooCommerce, or headless. Payments route across TagadaPay and processors such as Stripe, NMI and Airwallex, with one set of rules and a cascade to another processor when one is down or times out. Server-side tracking sends conversions to Meta, Google and TikTok. Your email and SMS tools stay your email and SMS tools. Pricing is on the pricing page.
Whatever the stack, the method holds: put store and payment events on one profile, decide who should not receive marketing before deciding who should, give each message one owner, and measure every automation against a holdout.
Frequently asked questions
What is commerce marketing automation?
How is ecommerce marketing automation different from email automation?
What causes confusion when implementing marketing automation software in an online store?
Can I upload my customer list to Meta and Google Ads?
Should customers with an open chargeback receive marketing?
Is Shopify Flow free?
Sources
Checked October 14, 2026- Shopify Help Center, Shopify Flow
- Shopify Help Center, Shopify Flow triggers
- Shopify Help Center, Shopify Flow conditions
- Shopify Help Center, Shopify Flow actions
- Shopify Help Center, Customer segmentation
- Stripe Docs, Types of events
- Meta for Developers, Custom Audiences (Marketing API)
- Meta, Custom Audiences Terms
- Google Ads Help, Customer Match policy
- Google Ads Help, FAQs about the EU user consent policy for Customer Match upload partners
- Klaviyo Help Center, Smart Sending
- Klaviyo Help Center, Understanding message conversion tracking
- FTC, CAN-SPAM Act: A Compliance Guide for Business
- eCFR, 47 CFR 64.1200, Delivery restrictions (TCPA)
- Directive 2002/58/EC (ePrivacy Directive), Article 13
Tagada
Payment events driving your marketing? Start with a checkout that retries
Funnels, one-click upsells, subscription billing and payment routing, on one customer record.
- 01Create your free account
- 02Connect your store or build a checkout
- 03Launch funnels, upsells and subscriptions
