Handling Multiple Items in a Single HTTP Node to Add Contacts to Multiple Apollo.io Sequences

Hello,

I’m building a workflow in n8n to add contacts to multiple Apollo.io sequences. My setup includes a Merge node that outputs 12 items, with each item containing parameters for a unique Apollo sequence (sequence_id, contact_ids, user_id, etc.).

Objective

The goal is to add each contact to its respective sequence on Apollo.io using API requests to the add_contact_ids endpoint. Ideally, I’d like to achieve this with a single HTTP Request node that iterates over each item from the Merge node output.

Problem

When using a single HTTP Request node:

  • Only part of the data (8 out of 12 sequences) is processed.
  • Sometimes, only one contact is added.

Technical Context

  • The API endpoint in use is https://api.apollo.io/api/v1/emailer_campaigns/{sequence_id}/add_contact_ids.
  • Based on headers returned, rate limits are not being reached.
  • The HTTP node is configured with JSON expressions for dynamic values, but it doesn’t appear to handle all 12 items reliably.

Question

Is there a way to process multiple items in a single HTTP Request node for this purpose? Or is this a limitation that requires using 12 separate HTTP nodes to ensure each sequence is processed? Any best practices or advanced configurations to handle this within n8n would be greatly appreciated.

Thank you!

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @Rohit_Gurav , it all depends on the capability of the API. If multiple items are accepted by the API then HTTP Request node can deliver it. It’s just a matter of composing the request appropriately.

Have you checked their API doc to see what it allows doing for your use case, Add Contacts to a Sequence?

If I read it right, to add more than one contact ID you need to add contact_ids[] (array of IDs) to the query string. That also means you need to group those IDs into array for the relevant sequence prior to utilizing it in HTTP Request node.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.