I would like to use Mailchimp Api 3.0 to add a subscriber to an automation workflow, but I can't find where the workflow_id
or workflow_email_id
are located... this is from the documentation:
POST /automations/{workflow_id}/emails/{workflow_email_id}/queue Add a subscriber to a workflow email
http://developer.mailchimp.com/documentation/mailchimp/reference/automations/emails/queue/
Can anyone tell me to find it? It's probably somewhere really obvious. I mean the list_id
is well covered, but I can't find any info about this.
Automated workflows free up time for your team. You can send messages that are more personalized with less effort. Mailchimp makes it even easier by tracking the results of those messages, so you can go into your dashboard and see what's working best.
To edit an email's content, pause the email you want to work with and click Edit Email. Navigate through the steps of the Email Designer to make changes, and click Save and Return to Workflow after you're finished.
On your account dashboard, click the Automations icon. Click Classic Automations. Find and choose the automation you want to use.
The answer is found in the official mailchimp knowledge base: It explains that you simply go into the workflow and read the id from the URL.
Other ways to get id information about anything:
So, once you set up your lists and automations, go into the playground, and you'll find all the ids you'll need for everything.
I found this confusing as well. Here is how I got the answer:
https://us9.api.mailchimp.com/3.0/automations
to find the workflow_idhttps://us9.api.mailchimp.com/3.0/automations/<workflow_id>/emails
to find the workflow_email_id. The workflow_email_id will be the "id" in the array that's returned.https://us9.api.mailchimp.com/3.0/automations/<workflow_id>/emails/<workflow_email_id>/queue
Keep in mind you might need to subscribe an email address to a list first for the post request to work. To subscribe you can use: https://us9.api.mailchimp.com/3.0/lists/<list_id>
with your data:
{
"members": [{
"email_address" : "[email protected]",
"status": "subscribed"
}]
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With