How to successfully add a user to MailChimp audience on checkout?

1 0 0

Hi. I'm trying to create a workflow that adds a user to a MailChimp audience on checkout. Has anyone had any success doing this since the Shopify/MailChimp divorce?


Specifically, I can't find the right syntax to pass the API key in HTTP request header from Flow. I am first passing content-type: application/json followed by Authorization: anystring:<our API key>, but this isn't working. MailChimp always throws a 401 APIKeyMissing error.


I greatly appreciate any input. Many thanks.

Reply 1 (1)

Shopify Staff
33 15 16

Hi @gatorman, thanks for your question! Since both Shopify and Mailchimp have open APIs, it should be no issue as long as the Mailchimp API information you add to our HTTP request action is correct. There would be nothing on our end that blocks those calls being made to Mailchimp through Flow.


You may want to check with Mailchimp directly exactly the calls you need to make, and vet that code with them to make sure it's correct. Good luck!

Anthony // Product Marketing Manager @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - Learn about Shopify Plus