I'm developing a workflow in Latenode to add contacts to multiple Apollo.io sequences using a single HTTP Request node, but I'm encountering issues where only a subset of sequences are processed or only one contact is added per sequence. Is there a way to

Hello,

I’m developing a workflow in Latenode to add contacts to multiple Apollo.io sequences. My setup includes a Merge node that outputs 12 items, each 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 Latenode would be greatly appreciated.

Thank you!

Hello! Could you show what your scenario looks like? It seems that using an iterator would be appropriate here, as you’re likely receiving a response with a list of sequences that can be processed one at a time with an iterator.

Alternatively, this could likely be handled using JavaScript without issue. Just describe what you want to accomplish in the Ask AI node (located next to “Add Node”), and it will generate the code and any necessary fields for you.