Set up Mailchimp authorization for Postman Flows
To run Postman Flows templates that use Mailchimp, you need to set up authorization between Mailchimp and Postman. You can do this by creating an API key in Mailchimp and saving the ID of your subscriber list as an environment variable in Postman.
Before you get started, you need:
- A Mailchimp account
- A Postman environment to run the flow
Create a Mailchimp API key
To create a Mailchimp API key to use with Postman Flows, do the following:
-
Log in to Mailchimp.
-
From your account settings, navigate to Account & billing.
-
Select Extras > API keys.
-
Select Create A Key. Enter a name for the key, and then select Generate Key.
-
Copy the key you generated, excluding the suffix that contains the data center identifier. For example, if the key value is
YOUR_API_KEY-us00, don’t include-us00. -
Save the key value as a variable in your Postman environment named
Mailchimp_Api_Key. -
Save the data center identifier as a variable in your Postman environment named
Mailchimp_DC.
Create an audience ID variable
To create a variable that enables the flow to access your subscriber list, do the following:
-
In the Mailchimp sidebar, select Audience > All contacts.
-
Select Settings > Audience name & defaults.
-
Copy the value for Audience ID.
-
Save the audience ID as a variable in your Postman environment named
Mailchimp_List_ID.
Next steps
After you’ve completed your Mailchimp configuration, you can return to the flow template or set up authorization for another integration in Postman.