I’m setting up a Zap that follows these steps:
- Retrieve a collection of email addresses from an API endpoint.
- Add each email to Mailchimp.
However, I encounter an error when trying to add multiple emails at once, as Mailchimp appears to reject batch subscriptions. The error message I receive is:
Oops. We encountered a problem while creating a subscriber.
Error: Invalid Resource - Please provide a valid email address.
This issue arises due to Mailchimp’s restriction on multiple subscriptions being processed simultaneously.
My question is, is there a method to execute an action for each individual item in the list?
For example, something like this:
emailCollection.forEach(function(singleEmail) {
executeSubscription(singleEmail);
});
Keep in mind that I’m unable to use the command line interface. Can this be achieved using a funnel action in Zapier or possibly through scripting?
Thank you!