New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
Sending and campaignsUpdated 4 Nov 2026

Email marketing automation: workflow examples and triggers that work

Email marketing automation explained through concrete workflows: welcome, abandoned cart, post-purchase, re-engagement and renewal. Learn triggers, delays, exit rules, suppression logic and how to test before going live.

SQ
Written by Sana Qureshi
Email Compliance Specialist
Reviewed by Ethan Brooks
  • Published7 Jul 2023
  • Read time6 min
  • Length1,249 words
Share this guide

Email marketing automation sends messages automatically when a subscriber does something or reaches a state: signs up, abandons a cart, buys, goes quiet, or approaches renewal. A workflow is built from four parts: a trigger that starts it, conditions that decide who qualifies, actions such as send, wait or tag, and exit rules that stop it. Start with the five workflows in this guide, because they cover most of the value, and test each end to end before turning it on.

Automation works because it matches the message to the moment. It also fails quietly: a bad condition can mail the wrong people for weeks before anyone notices. This article gives concrete workflow designs, the logic around them, and a launch checklist. Delays, volumes and offers in the examples are illustrations to adapt, not benchmarks.

TriggerThe event or state that enters a person into the flow
ConditionsFilters such as consent, segment, purchase history
ActionsSend, wait, branch, tag, update a field, notify sales
Exit rulesGoal reached, unsubscribe, or a competing flow takes priority

Anatomy of a workflow

PartQuestion to answerExample
TriggerWhat event starts it, and is it reliable?Form submitted, order placed, cart left, 90 days without a click
Entry conditionsWho may enter?Has marketing consent, not already in this flow, not a customer
Wait stepsHow long between messages?Hours for carts, days for education
BranchesWhat differs by behaviour?Opened or clicked, purchased, value above a threshold
GoalWhat counts as success?Purchase, demo booked, setup complete
Exit rulesWhen does the person leave?Goal met, unsubscribe, complaint, bounce, moved to another flow
Frequency capHow is overload prevented?Maximum marketing emails per week across all flows

A generic definition, written as configuration so the logic is easy to review, looks like this:

workflow: abandoned-cart
trigger:  event = cart_updated AND no order within 60 minutes
enter_if: consent = true AND NOT in(workflow: abandoned-cart)
steps:
  - send:  cart-reminder-1
  - wait:  24h
  - if:    order_placed -> exit(goal)
  - send:  cart-reminder-2
  - wait:  48h
  - if:    order_placed -> exit(goal)
  - send:  cart-reminder-3-optional-incentive
exit_on: unsubscribe, complaint, hard_bounce, order_placed

This is pseudo-configuration, since every platform has its own builder. The point is that each workflow has an explicit entry, goal and exit.

Workflow 1: Welcome series

Trigger: new subscription with consent. Send the first message immediately, because interest is highest at sign-up. Deliver whatever you promised (a guide, a code, access), set expectations for what and how often you will send, and invite a reply. Follow with two or three messages over the first one to two weeks that introduce the best content or product and ask a simple preference question. Exit when the series ends or the person buys. See welcome series and deliverability for cadence and early reputation effects.

Workflow 2: Abandoned cart or browse

Trigger: cart or product view without purchase, for a known and consented contact. Send within hours, then once or twice more over a few days. Show the products, make return to cart one click, and offer help rather than pressure. Only use an incentive if margin allows and avoid training customers to abandon carts for a discount. Always exit on purchase. Details and sequence ideas are in abandoned cart emails.

Workflow 3: Post-purchase

  1. Order confirmation is transactional and sent separately from marketing flows.
  2. Shipping and delivery updates are also transactional.
  3. Usage or setup help a few days after delivery, matched to the product.
  4. Review or feedback request once the customer has had time to use it.
  5. Replenishment or cross-sell after a period that fits the product lifecycle.

Keep transactional and marketing content in separate streams so a promotional complaint cannot harm receipts. Examples of the transactional side are in transactional email examples.

Workflow 4: Re-engagement and sunset

Trigger: no opens or clicks for a period you define (for instance 90 or 180 days; choose from your own cycle). Send two or three messages that offer a reason to stay, such as best content or a preference update. Anyone who does not respond is suppressed from marketing mail. This protects your complaint rate and reputation as inactive addresses are the most likely to be spam traps or abandoned. Because opens can be inflated by privacy features, base inactivity on clicks and site or purchase activity as well. See sunset policy.

Workflow 5: Renewal and lifecycle milestones

Trigger: a date field, such as subscription end, plus a number of days. Send a reminder well ahead, a second closer to the date and a final one on or after, each stating what will happen and how to manage the plan. Add milestone messages for anniversaries and usage thresholds. Exit when the person renews or cancels. Include an easy link to account settings, which reduces support load.

Triggers: choosing the right ones

Trigger typeExamplesWatch out for
Subscription eventForm submit, double opt-in confirmedConfirm consent before the first marketing message
BehaviouralPage view, cart event, link clickTracking blocked or inaccurate; security scanners may click links
TransactionalOrder, payment, shipmentKeep content transactional; do not slip promotions in
Time-basedBirthday, renewal, 90 days idleTime zone and data quality of the date field
Data changeSegment membership, score, field updateLoops where a flow changes data that retriggers itself
Manual or APIEvent sent from your appDuplicate events; use idempotency keys

Where your product is the source of events, send them to your automation platform through webhooks or an API. Automation tools such as n8n, Zapier or Make can bridge gaps; see automation tool setup.

Rules that keep automation safe

  • Global frequency cap. A person in three flows at once should not receive three emails in a day.
  • Flow priority. Define which flow wins on collision, such as purchase flows over promotional ones.
  • Re-entry limits. Prevent the same person from restarting a flow within a set period.
  • Suppression everywhere. Unsubscribed, complained and hard-bounced addresses must be excluded from every flow automatically.
  • Fallback content. Personalisation fields can be empty; set defaults so no one sees a blank first name.
  • Ownership. Every flow has a named owner, a charter and a review date.

Test before you launch

  1. Create test contacts for each branch and send them through the whole flow with shortened delays.
  2. Check rendering and links on at least the major clients and a phone.
  3. Confirm that exit rules fire: buy as a test user and make sure the cart flow stops.
  4. Confirm unsubscribe works within the flow and updates the central list.
  5. Start with a small percentage of eligible contacts for the first day and look at bounces and complaints.
  6. Document the flow in one page so a colleague can maintain it.

Troubleshooting

SymptomLikely causeFix
People receive a cart email after buyingExit rule missing or event delayedAdd purchase as exit and check event latency
Duplicate emailsContact entered twice or two flows overlapAdd entry restrictions and priority rules
Flow never startsTrigger event not arriving, or consent condition falseCheck event logs and the entry conditions
Blank personalisationEmpty field with no defaultSet fallback values
Complaint spike after launchWrong audience or no consent checkPause the flow and audit entry conditions
Messages sent at odd hoursTime zone not handledUse recipient time zones or fixed safe windows
Metrics look inflatedPrefetching and scanner clicksJudge by conversions and unique human actions

Summary and next steps

Build welcome, cart, post-purchase, re-engagement and renewal flows in that order. Define triggers, entry, goal and exit for each, cap total frequency, test every branch and review monthly. Overview material is in automated emails. If you send from your own application, MigoSMTP delivers the messages and posts delivery, bounce and complaint events by webhook so your automation can react to them.

Run automated mail on reliable infrastructure Authenticated delivery with event webhooks for your flows.

See the SMTP relay

References and further reading

Frequently asked questions

What is email marketing automation?

Sending emails automatically in response to triggers such as sign-ups, purchases or inactivity, using defined conditions, waits and exit rules.

Which automated emails should I build first?

Start with a welcome series, then abandoned cart or browse, post-purchase, re-engagement and renewal reminders.

What is an exit rule?

A condition that removes a person from a workflow, such as completing the goal, unsubscribing or entering a higher-priority flow.

How do I stop people getting too many automated emails?

Set a global frequency cap, give flows a priority order and limit re-entry.

How should I test an automation?

Run test contacts through every branch with shortened delays, verify exit rules and unsubscribe, then launch to a small share first.

Topics#automation#workflows#triggers#lifecycle#segmentation
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales