Funnels & growth14 min readUpdated October 14, 2026

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.
Want to go further? AskChatGPTClaudePerplexityGrok
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 automationCommerce marketing automation
What starts itSignup, open, click, cart, orderThe same, plus payment outcomes: paid, failed renewal, refund, dispute
Where it actsThe inboxEmail, SMS, ad audiences, on-site content, internal tasks
Who it excludesUnsubscribed and bounced addressesAlso customers with a failed payment, an open dispute or a pending refund
Source of truthThe email tool's profileThe store, the checkout and the payment processor, synced to one profile
How it's judgedOpens, clicks, attributed revenueIncremental 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

Customer profileOrders, subscription, payment state, consent, segments
  1. Store platformCustomer created, order created, order paid, product back in stock
  2. CheckoutCheckout started, abandoned, upsell accepted, order confirmed
  3. Payment processorPayment succeeded or failed, renewal failed, refund, dispute opened
  4. Messaging and supportConsent given or withdrawn, unsubscribes, tickets

one profile, several sources

Event names from Shopify Flow's trigger list and Stripe's event types.

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.

  1. Payment succeededThe order is real, the customer is in good standingStart post-purchase flows; remove them from abandonment flows and prospecting audiences
  2. Renewal payment failedRevenue at risk, often without the customer knowingStart the payment update flow; pause promos and cross-sells until paid
  3. Retry or card update succeededThe problem is solvedStop every recovery message at once; resume normal flows
  4. Refund issuedThe customer is unhappy or returned the productHold review requests and cross-sells; ask why if you don't know
  5. Early fraud warningThe card issuer reported the charge as possible fraudHold fulfillment if not shipped; keep the customer out of retargeting
  6. 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

Customer · Maya ChenSubscriber since March, 7 orders
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

Illustrative record.

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.

  1. 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.

  2. 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.

  3. Ad audiences

    Customer lists synced to Meta and Google: exclude buyers from prospecting, retarget lapsed customers, build lookalikes from your best segment.

  4. 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.

RuleMeta Custom Audiences (customer list)Google Customer Match
Data formatContact data hashed with SHA256 before upload; external IDs such as loyalty or user IDs can be sent unhashedContact data uploaded to Google Ads, matched to Google accounts
Whose dataData you have the rights to useOnly data collected "in the first-party context", from your own customers
Legal basis and consentYou represent that you have "all necessary rights and permissions and a lawful basis" to use the audienceConsent where required by law or Google policy, including the EU user consent policy
EEA usersYour own lawful basis under EU lawSince March 2024, both consent fields (ad_user_data and ad_personalization) must be set to granted; missing consent counts as not consented
Opt-outsRemove a person from the audience when they opt outIf an EEA user withdraws either consent, remove them from the list or replace the list without them
DisclosureNot specified in the API guidePrivacy policy must disclose that you share customer data with third parties
Update lagChanges "usually take up to 24 hours"Not stated in the policy pages cited
Account conditionsCustom Audience Terms acceptedGood 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.

Start free

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

  1. Dispute createdTrigger
  2. checksOrder not fulfilled?Condition
  3. if trueHold fulfillment orderAction
  4. thenAdd customer tagAction: dispute-open
  5. thenSend internal emailAction: to the team

trigger, condition, action

Illustrative example. Trigger and action names from Shopify Flow's reference pages.

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

TriggerConditionActions
Order risk analyzedRisk level is highHold fulfillment order, add order tag, send internal email
Subscription billing attempt failureCustomer has an active subscriptionAdd customer tag for the payment issue, notify the team
Subscription billing attempt successCustomer has the payment issue tagRemove the tag, so promotional flows resume
Refund createdFull refundAdd customer tag, wait, then remove it after a set period
Customer joined segmentSegment is your high-value repeat buyersAdd customer tag used by your email and ad tools
Product variant back in stockVariant had waitlist signupsSend 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.

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 statePromo emailMarketing SMSAd retargetingReview requestOrder and billing
Paid, no issueYesYesWith SMS consentYesYesYes
Renewal failed, retries runningNoNoNoNoYes
Refund pendingNoNoNoNoYes
Dispute openNoNoNoNoYes
Unsubscribed from emailNoYesWith SMS consentConditionalNoYes
EU customer, no consent recordedNoUnless the existing customer exception appliesNoConditionalNoYes

"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:

  1. Transactional first. Order, shipping, billing and account messages are never capped or delayed by marketing rules.
  2. Money at risk next. A failed payment or trial-ending notice outranks every promotion, and pauses promotions while it's open.
  3. 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.
  4. 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.
  5. 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.

ProblemWhat the customer seesFix
Several sendersTwo "update your card" emails, from the billing tool and the email platform, with two different linksOne owner per message; switch off the duplicate sender
Several copies of the customerAn email with an old address, plan or card, because the tool read a profile that hadn't synced yetOne system of record per field: payment state from the processor, orders from the store, consent from where it was collected
Consent kept in one toolAn SMS or an ad after unsubscribing, because only the email platform knewConsent as a profile field, synced to every channel
Revenue counted twiceNothing, but every flow looks profitable in its own dashboardOne measurement method across channels: holdouts
No exitsA reminder after the order was placed, or a promo the day after a disputeA 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?

  1. Split at entry. When a customer qualifies for the automation, randomly hold out a fixed share. They qualify but get nothing.
  2. Keep everything else equal. Same campaigns, same site, same offers. Only the automation differs.
  3. 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.
  4. Compare per person who entered. Treated minus holdout is the incremental effect. Subtract refunds and disputes before calling it revenue.
  5. 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

  1. Events and profileStore, checkout, processor on one record
  2. GuardrailsConsent fields, suppression, owners
  3. Payment flowsFailed renewal, card update, dispute tags
  4. Lifecycle flowsWelcome, abandonment, post-purchase, win-back
  5. Audiences and siteExclusions, retargeting, on-site offers

each step needs the one before

A suggested order, not a benchmark.
  1. 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.
  2. Guardrails. Add consent fields per channel, the suppression segments (payment issue, refund pending, dispute open), and assign each message to one tool.
  3. Payment flows. Failed renewal and card update messages, dispute tagging, holds on risky orders. They protect revenue you already earned.
  4. Lifecycle flows. Welcome, abandoned checkout, post-purchase and win-back, each with an exit. The details are in triggered email campaigns.
  5. 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.

Nick Bonnassies

CMO at Tagada

CMO at Tagada. Before Tagada, Nick built direct-to-consumer brands that generated over $115M in sales, raised over $25M in crowdfunding and sold two of them. He also works as a fractional CMO on marketing operations and AI systems.

Frequently asked questions

What is commerce marketing automation?

It's marketing automation driven by commerce data: orders, checkouts, subscriptions and payment outcomes, not only opens and clicks. Those events update a customer profile and segments, which then trigger email, SMS, ad audience updates, on-site offers and internal tasks. It also suppresses marketing for customers whose payment failed or who opened a dispute.

How is ecommerce marketing automation different from email automation?

Email automation sends emails when something happens. Ecommerce marketing automation uses the same events to act across every channel: it adds or removes people from Meta and Google audiences, changes what a logged-in customer sees on the site, sends texts to those who opted in, and opens tasks for the team, such as holding a risky order.

What causes confusion when implementing marketing automation software in an online store?

Usually three things. Several tools send messages on their own, so nobody knows which one owns a message. Customer data lives in several places that disagree. And attributed revenue makes every flow look profitable. Fix it with one owner per message, one system of record per field, and a holdout group per automation.

Can I upload my customer list to Meta and Google Ads?

Yes, within their rules. Meta requires hashed contact data, a lawful basis to use it, and removal of anyone who opts out. Google's Customer Match policy accepts only first-party data, requires consent where the law requires it and a privacy policy that discloses sharing, and for EEA users needs both consent signals set to granted.

Should customers with an open chargeback receive marketing?

No. Pause promotions, cross-sells, review requests and ad retargeting for customers with an open dispute or an unresolved refund request. Keep transactional messages about the order. Lift the suppression when the dispute closes, and decide case by case whether a customer who disputed a charge should go back into marketing at all.

Is Shopify Flow free?

Shopify says Flow is a free app on the Basic, Grow, Advanced and Plus plans. Some parts are limited by plan: the Send HTTP Request action, which lets Flow call other services, needs Grow, Advanced or Plus, and tasks from custom partner apps need Plus. Usage limits also differ by plan.

Sources

Checked October 14, 2026
  1. Shopify Help Center, Shopify Flow
  2. Shopify Help Center, Shopify Flow triggers
  3. Shopify Help Center, Shopify Flow conditions
  4. Shopify Help Center, Shopify Flow actions
  5. Shopify Help Center, Customer segmentation
  6. Stripe Docs, Types of events
  7. Meta for Developers, Custom Audiences (Marketing API)
  8. Meta, Custom Audiences Terms
  9. Google Ads Help, Customer Match policy
  10. Google Ads Help, FAQs about the EU user consent policy for Customer Match upload partners
  11. Klaviyo Help Center, Smart Sending
  12. Klaviyo Help Center, Understanding message conversion tracking
  13. FTC, CAN-SPAM Act: A Compliance Guide for Business
  14. eCFR, 47 CFR 64.1200, Delivery restrictions (TCPA)
  15. 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.

  1. 01Create your free account
  2. 02Connect your store or build a checkout
  3. 03Launch funnels, upsells and subscriptions