Intermediate~15 min setupMarketing & E-commerceVerified April 2026
Mailchimp logo
WooCommerce logo

How to trigger post-purchase email sequences with Power Automate

Tag new customers in Mailchimp based on WooCommerce purchases to trigger product-specific email sequences automatically.

Steps and UI details are based on platform versions at time of writing — check each platform for the latest interface.

Best for

WooCommerce stores selling multiple product categories that need different follow-up sequences.

Not ideal for

Single-product stores or businesses that prefer manual customer tagging control.

Sync type

real-time

Use case type

notification

Real-World Example

💡

A skincare e-commerce store with 200 daily orders uses this to automatically tag customers based on whether they bought cleansers, moisturizers, or serums. Each product category triggers a 5-email educational sequence specific to that skincare routine. Before automation, they manually imported orders weekly and customers waited 3-7 days for relevant follow-up content.

What Will This Cost?

Drag the slider to your expected monthly volume.

1 op per trigger eventEach time this workflow runs counts as one operation toward your monthly limit.
/mo
505005K50K

Each platform counts differently — Zapier: 1 task per trigger. Make: 1 operation per module per record. n8n: 1 execution per run.

Prices shown for annual billing. Based on published pricing as of April 2026.

Estimated ROI

1000

min saved/mo

$583

labor value/mo

Free

no platform cost

Based on ~2 min manual effort per operation at $35/hr fully loaded labor cost.

Implementation

Skip the setup

Import this workflow directly into Power Automate

Copy the pre-built Power Automate blueprint and paste it straight into Power Automate. All modules, filters, and field mappings are already configured — you just need to connect your accounts.

Before You Start

Make sure you have everything ready.

WooCommerce store with webhook functionality enabled (not available on WordPress.com basic plans)
Mailchimp account with at least one audience list and email sequences configured
WordPress admin access to configure WooCommerce webhook settings
Products organized into categories in WooCommerce for proper tag assignment
Power Automate account (included with most Microsoft 365 business plans)

Field Mapping

Map these fields between your apps.

FieldAPI Name
Required
Email Address
Tags
Product Categories
5 optional fields▸ show
First Name
Last Name
Order Total
Order Date
Customer Phone

Step-by-Step Setup

1

Create > Automated cloud flow > HTTP

Create webhook trigger in Power Automate

Navigate to make.powerautomate.com and click 'Create' then 'Automated cloud flow'. Name your flow 'WooCommerce to Mailchimp Tags'. Search for 'HTTP' and select 'When a HTTP request is received' trigger. Power Automate will generate a webhook URL after you save the flow.

  1. 1Click 'Create' in the left navigation menu
  2. 2Select 'Automated cloud flow' from the options
  3. 3Name it 'WooCommerce to Mailchimp Tags'
  4. 4Search for 'HTTP' in the connector search
  5. 5Choose 'When a HTTP request is received'
What you should see: You should see an HTTP trigger box with 'HTTP POST URL' that shows 'will be generated after save'.
Common mistake — Don't try to configure the JSON schema yet - you need to save the flow first to get the webhook URL.
Power Automate
+
click +
search apps
Mailchimp
MA
Mailchimp
Create webhook trigger in Po…
Mailchimp
MA
module added
2

New step > Data Operations > Parse JSON

Add Parse JSON action

Click '+ New step' and search for 'Data Operations'. Select 'Parse JSON' action. This will extract order data from WooCommerce webhook payload. Leave the Content and Schema fields blank for now - you'll populate these after getting sample data from WooCommerce.

  1. 1Click the '+ New step' button below the HTTP trigger
  2. 2Search for 'Data Operations' in the connector list
  3. 3Select 'Parse JSON' from the actions
  4. 4Leave Content field empty for now
  5. 5Leave Schema field empty for now
What you should see: You should see a Parse JSON action box with empty Content and Schema fields.
3

Save > HTTP Trigger

Save flow and copy webhook URL

Click 'Save' in the top toolbar. After saving, click back on your HTTP trigger step. Power Automate now displays the generated webhook URL. Copy this entire URL - you'll paste it into your WooCommerce webhook settings. The URL looks like https://prod-xx.eastus.logic.azure.com/workflows/xxx.

  1. 1Click 'Save' in the top menu bar
  2. 2Wait for the save confirmation message
  3. 3Click on the HTTP trigger step to expand it
  4. 4Copy the complete 'HTTP POST URL' that appears
  5. 5Store this URL temporarily in a text file
What you should see: You should see a long Azure Logic Apps URL starting with 'https://prod-' that you can copy.
Common mistake — This webhook URL contains security tokens - don't share it publicly or commit it to version control.
4

WooCommerce > Settings > Advanced > Webhooks

Configure WooCommerce webhook

In your WordPress admin, go to WooCommerce > Settings > Advanced > Webhooks. Click 'Add webhook' and set Topic to 'Order created'. Paste your Power Automate webhook URL in the Delivery URL field. Set Status to Active and API Version to WP REST API Integration v3.

  1. 1Navigate to WooCommerce > Settings in WordPress admin
  2. 2Click the 'Advanced' tab at the top
  3. 3Select 'Webhooks' from the left sidebar
  4. 4Click the 'Add webhook' button
  5. 5Set Topic dropdown to 'Order created'
  6. 6Paste your webhook URL in 'Delivery URL' field
  7. 7Set Status to 'Active'
What you should see: You should see a webhook entry with Status 'Active' and a green checkmark after saving.
Common mistake — Make sure to select 'Order created' not 'Order updated' - otherwise you'll get duplicate triggers for payment updates.
5

My flows > Flow name > Run history

Test webhook with sample order

Place a test order in your WooCommerce store to generate sample webhook data. Go back to Power Automate and check your flow's run history. Click on the most recent run to see the raw JSON data WooCommerce sent. Copy this JSON payload - you'll use it to generate the Parse JSON schema.

  1. 1Place a test order on your WooCommerce site
  2. 2Return to Power Automate and click 'My flows'
  3. 3Click on your 'WooCommerce to Mailchimp Tags' flow
  4. 4Click 'Run history' to see triggered runs
  5. 5Click the most recent run entry
  6. 6Copy the JSON body from the HTTP trigger output
What you should see: You should see JSON data containing order details like billing_email, line_items, and total.
Common mistake — If no run appears after 2 minutes, check your WooCommerce webhook logs for delivery failures.
Power Automate
▶ Test flow
executed
Mailchimp
WooCommerce
WooCommerce
🔔 notification
received
6

Parse JSON > Use sample payload to generate schema

Generate Parse JSON schema

Return to your flow editor and click on the Parse JSON action. Click 'Use sample payload to generate schema' link at the bottom. Paste the JSON data you copied from the test run. Power Automate automatically creates the schema structure. For Content field, select 'body' from the dynamic content menu.

  1. 1Click 'Edit' on your flow to return to the designer
  2. 2Click on the Parse JSON action to expand it
  3. 3Click 'Use sample payload to generate schema' link
  4. 4Paste your copied JSON webhook data
  5. 5Click 'Done' to generate the schema
  6. 6Click in Content field and select 'body' from dynamic content
What you should see: The Schema field populates with generated JSON structure and Content shows 'body' dynamic token.
7

New step > Mailchimp > Add or update a list member

Add Mailchimp connection

Click '+ New step' and search for 'Mailchimp'. Select 'Add or update a list member' action. Power Automate prompts you to sign in to Mailchimp. Use your Mailchimp credentials and authorize Power Automate to access your account. Select your main customer audience from the List dropdown.

  1. 1Click '+ New step' below the Parse JSON action
  2. 2Search for 'Mailchimp' in the connectors
  3. 3Select 'Add or update a list member' action
  4. 4Click 'Sign in' when prompted for Mailchimp connection
  5. 5Authorize Power Automate in the Mailchimp popup
  6. 6Select your customer list from the 'List' dropdown
What you should see: You should see Mailchimp action configured with your selected audience list.
Common mistake — Choose 'Add or update' not 'Add' to prevent errors when existing customers place new orders.
8

Mailchimp action > Field mapping

Map customer fields

Set Email Address to the billing email from your parsed JSON data. Click in the field and select 'billing > email' from dynamic content. Set Status to 'subscribed' if customers opt-in during checkout, or 'transactional' for order confirmations only. Map First Name and Last Name to the corresponding billing fields from WooCommerce.

  1. 1Click in the 'Email Address' field
  2. 2Select 'email' from the billing section in dynamic content
  3. 3Set 'Status' dropdown to 'subscribed' or 'transactional'
  4. 4Click 'First Name' field and select billing first_name
  5. 5Click 'Last Name' field and select billing last_name
What you should see: All customer fields show dynamic content tokens from the WooCommerce order data.
Common mistake — Use 'transactional' status to avoid GDPR issues if customers didn't explicitly consent to marketing emails.
Mailchimp fields
email_address
status
merge_fields.FNAME
merge_fields.LNAME
tags[0].name
available as variables:
1.props.email_address
1.props.status
1.props.merge_fields.FNAME
1.props.merge_fields.LNAME
1.props.tags[0].name
9

Mailchimp action > Show advanced options > Tags

Create product-based tags

Expand 'Show advanced options' in the Mailchimp action. In the Tags field, you need to create conditional logic based on product categories. Click 'Switch to input entire array' and build an expression that maps WooCommerce product categories to Mailchimp tags. Use the expression editor to check line items and assign relevant tags.

  1. 1Click 'Show advanced options' at bottom of Mailchimp action
  2. 2Scroll to find the 'Tags' field
  3. 3Click 'Switch to input entire array' toggle
  4. 4Click in the tags field to open expression editor
  5. 5Build conditional expressions based on line_items data
What you should see: Tags field shows expression builder where you can create product category conditions.
Common mistake — WooCommerce sends product data in line_items array - you'll need to loop through items if customers buy multiple products.
10

Save > Test > Run history

Test and activate flow

Save your flow and place another test order with different products. Check the run history to verify the flow executed successfully. In Mailchimp, verify the test customer was added with correct tags. If everything works, your flow is ready for production. Monitor the first few days for any failed runs or incorrect tagging.

  1. 1Click 'Save' to save all your changes
  2. 2Place a test order with different product categories
  3. 3Check 'Run history' for successful execution
  4. 4Log into Mailchimp to verify customer and tags
  5. 5Check that email sequences triggered correctly
What you should see: Test customer appears in Mailchimp with correct product-based tags and sequences start sending.

Add this expression to the Tags field to automatically tag customers based on their purchased product categories. This expression loops through all line items and extracts unique category tags.

JavaScript — Code Stepunion(
▸ Show code
union(
  foreach(
    body('Parse_JSON')?['line_items'],

... expand to see full code

union(
  foreach(
    body('Parse_JSON')?['line_items'],
    lambda('item',
      split(item?['categories']?[0]?['slug'], '-')
    )
  ),
  createArray()
)

Going live

Production Checklist

Before you turn this on for real, confirm each item.

Troubleshooting

Common errors and how to fix them.

Frequently Asked Questions

Common questions about this workflow.

Analysis

VerdictWhy n8n for this workflow

Use Power Automate for this if you're already in the Microsoft ecosystem and want native integration with Office 365 tools. The HTTP webhook trigger responds in under 30 seconds and the Mailchimp connector handles member updates reliably. You get 750 flow runs per month on most business plans, which covers stores processing up to 25 orders daily. Skip this if you need complex product logic - Make handles conditional expressions much better.

Cost

Real cost breakdown: at 500 orders per month, you're using 500 flow runs. Most Microsoft 365 Business Premium plans ($22/user/month) include enough runs. If you exceed limits, additional runs cost $0.60 per 1000. Compare that to Zapier at $20/month for 750 tasks or Make at $9/month for 1000 operations - Power Automate wins if you're already paying for Microsoft 365.

Tradeoffs

Make beats Power Automate on conditional logic and data transformation. Its visual router handles complex product categorization better than Power Automate's expression editor. Zapier has cleaner field mapping and better error messages when Mailchimp rejects data. N8n gives you more control over webhook security and custom retry logic. But Power Automate wins on enterprise security compliance and built-in Office 365 data connections if you need customer data in Excel or SharePoint.

You'll hit JSON parsing issues when customers have special characters in their names or addresses. WooCommerce sometimes sends malformed webhook data that breaks the Parse JSON action. The Mailchimp connector occasionally fails on bulk tag updates during high-traffic periods like Black Friday - add retry logic with 2-minute delays. Power Automate's expression builder is clunky compared to other platforms, making complex product category mappings frustrating to build and debug.

Ideas for what to build next

  • Add order value segmentationCreate different email sequences for customers who spend above certain thresholds, like VIP treatment for orders over $200.
  • Implement customer journey trackingSend purchase data back to WooCommerce custom fields to track email engagement and create lookalike audiences.
  • Build abandoned cart recoverySet up a separate flow that removes customers from abandoned cart sequences when they complete a purchase through this webhook.

Related guides

Was this guide helpful?
Mailchimp + WooCommerce overviewPower Automate profile →