Automatically Add New Shopify Customers to Your Mailchimp List
Every time a new customer places their first order in your Shopify store, this workflow instantly adds them as a subscriber in Mailchimp. Never miss a chance to nurture a new customer with your email marketing.
- 1
Set up the Shopify Trigger
Add a
Shopify Triggernode to your canvas. Connect your Shopify store by entering your store name and API credentials in the node's credential section. Set theTopicfield tocustomers/createso the workflow fires only when a brand-new customer account is created. Activate the trigger to register the webhook with Shopify. - 2
Extract the customer data you need
Add a
Setnode after the trigger. Create three fields: setemailto{{ $json.email }},firstNameto{{ $json.first_name }}, andlastNameto{{ $json.last_name }}. This keeps the data clean before sending it to Mailchimp. - 3
Check that the email address exists
Add an
IFnode to guard against empty email addresses. Set the condition to:{{ $json.email }}is not empty. Connect theTruebranch to the next step and leave theFalsebranch unconnected so incomplete records are silently skipped. - 4
Add the subscriber to Mailchimp
Add a
Mailchimpnode on theTruebranch. Connect your Mailchimp account using an API key from your Mailchimp account settings. SetOperationtoAdd/Update Subscriber, choose your targetAudiencefrom the dropdown, mapEmailto{{ $json.email }}, and fill in the merge fieldsFNAMEwith{{ $json.firstName }}andLNAMEwith{{ $json.lastName }}. SetStatustosubscribed(orpendingif you want double opt-in).
Frequently asked questions
Will existing Shopify customers be added to Mailchimp when I activate this workflow?
No. The Shopify Trigger only fires for new customer creation events that happen after the workflow is activated. To import existing customers you would need to do a one-time manual export from Shopify and import it directly into Mailchimp.
What happens if a customer already exists in Mailchimp?
The Mailchimp node uses the Add/Update Subscriber operation, which is safe to run on existing contacts — it will simply update their name fields without creating a duplicate or throwing an error.
How do I stay compliant with email marketing laws like GDPR?
Make sure your Shopify checkout includes a clear opt-in checkbox for marketing emails and that you only sync customers who have consented. You can add an extra IF condition to check the Shopify field `email_marketing_consent.state` equals `subscribed` before passing the contact to Mailchimp.