PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, September 6, 2022

[FIXED] Where do I find the workflow id of an automation in Mailchimp?

 September 06, 2022     mailchimp, mailchimp-api-v3.0     No comments   

Issue

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.


Solution

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:

  1. Using the API endpoint, detailed here: http://developer.mailchimp.com/documentation/mailchimp/reference/automations/ You'll see that the Response body parameters return everything about the automations, including the id.
  2. Probably the easier way: use the developer playground https://us1.api.mailchimp.com/playground/?_ga=1.218336095.774374564.1480036371

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.



Answered By - Gelun
Answer Checked By - Candace Johnson (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing