Follow up question: is there any easier way to do this? To listen for all mailchimp campaign sends? Without the client needing to do anything on their mailchimp. Can nodes be dynamically created into the flow as new lists get created? ie grab all lists, listen for each?
(Original issue below, solved by creating a new workflow. Unknown why.)
Summary
Describe the problem/error/question
I have found no other way than to require as many triggers as there are lists for listening for new Mailchimp sent campaigns. I have a workflow to build, I simply set them all into a random node, wanted to activate to get data to work on. I double checked. NONE of them have duplicate webhooks or entries.
Follow up question, is there any easier way to do this? To listen for all sends? Without the client needing to do anything on their mailchimp. Can nodes be dynamically created into the flow as new lists get created? ie grab all lists, listen for each?
Or has there been overthought somewhere along this path and theres an easier way to auto post campaigns to wordpress? Client just wants a copy on their site.
There is no easy way for that
But it’s possible with the n8n API node that will prepare all triggers. I’ve prepared the example. You’ll need to edit the Set data node to point to the right field value (leave the field name as is) with the campaign ID. Plus in the Generate Payload you can use four options:
apiCredName - the name of your Mailchimp credentials to set for each node
executeWorkflowId - what workflow to execute for further actions with the campaigns. Better to use that approach instead of developing all logic in the same workflow (it will be harder to maintain it otherwise)
columns - how many columns with Mailchimp triggers will be on the workflow
step - the space between each node (both horizontal and vertical)