Issue with combining two HTTP API requests (GetVisits + Leads) for LeadFeeder data → Google Sheets

Hi everyone,

I’m trying to pull data from LeadFeeder via two HTTP modules — one for visits and one for leads — and then push everything into Google Sheets (1 row per visit with both visit + company info).

The issue is that when I use multiple Iterators (one for visits and one or two for leads), it ends up consuming way too many operations (dozens, even for just 6 visits) and produces duplicate rows instead of unique combined ones.

Does anyone know a cleaner way to combine both API outputs (data and included) without using multiple iterators or webhooks (which LeadFeeder confirmed aren’t available yet)?


For more details, here’s what I’ve tried so far:

  1. HTTP – GetVisits → retrieves the list of website visits

  2. Iterator (Visits) → iterates through each visit

  3. HTTP – Leads → gets company info for each visit

  4. Iterator (Leads) → iterates through the lead data

  5. Iterator (Lead details) → handles the second dataset from the included object

  6. Google Sheets – Add a Row → adds each visit + lead

For 6 visits, the flow runs like this:

  • HTTP – GetVisits = 1 operation

  • Iterator (Visits) = 1 operation

  • HTTP – Leads = 6 operations

  • Iterator (Leads) = 6 operations

  • Iterator (Lead details) = 6×6 = 36 operations
    → resulting in repeated data and a huge operation cost.

So far, I can’t seem to merge data and included cleanly within one HTTP call or iterator without breaking the mapping.

Any advice on how to better structure or optimize this would be amazing :folded_hands:

Hey there,

your iterators are most likely in the wrong places. You can maybe switch to bulk row import as well instead of one by one.

Can you share some pictures of the scenario and the different outputs and what you want the final data to look like?

1 Like

Welcome to the Make community!

We’d love to help, however, you have not provided sufficient information to demonstrate the problem that would allow us to reproduce the scenario and any issue/s and/or error/s.

To allow others to assist you with your scenario, please provide the following:

1. All Relevant Screenshots

We need to see what you’re working with to give you the best advice. Screenshots are extremely important because Make is a visual editor — a picture provides us with more context.

It would help us identify the issue by having screenshots of:

  • the full scenario,
  • the zoomed in section of the scenario that you are referring to (if your scenario is huge),
  • a full scenario run/execution (showing output “speech” bubbles),
  • any error messages,
  • individual module fields,
  • relevant filter settings (conditions), and
  • each module’s output bundles
  • any external services (spreadsheet headers, sample data, regex101.com, etc.)

You can upload images here using the Upload icon in the text editor:

We would appreciate it if you could upload screenshots here instead of linking to them outside of the forum. This allows us to zoom in on the image when clicked, and avoid tracking cookies from third-party websites.

2. Scenario Blueprint

Please export the scenario blueprint. Providing your scenario blueprint file will allow others to quickly recreate and see how you have set up the mappings in each module, and also allows us take screenshots or provide module exports of any solutions we have for you in return - this would greatly benefit you in implementing our suggestions as you can simply paste module exports back into your scenario editor!

To export your scenario blueprint, click the three dots at the bottom of the editor then choose ‘Export Blueprint’.

You can upload the file here by clicking on this button:

3. Module Output Bundles

Please provide the output bundles of each of the relevant modules by running the scenario (you can also get this without re-running your scenario from the History tab).

Click on the white speech bubbles on the top-right of each module and select “Download input/output bundles”.

A. Upload as a Text File

Save each bundle contents in a plain text editor (without formatting) as a bundle.txt file.

You can upload the file here by clicking on this button:

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
Here are some ways to provide text content in a way that it won’t be modified by the forum.

  • Method 1: Type code fence manually
    Add three backticks ``` in a separate line before and after the content, like this,

    ```
    text goes here
    ```
    
  • Method 2: Highlight and click the “preformatted text” button in the editor

  • Method 3: Upload your file and share the public link
    (this method is only recommended for large files exceeding the forum upload limit)

Providing the input/output bundles will allow others to replicate what is going on in the scenario, especially if there are complex data structures (nested arrays and collections) or if external services are involved, and help you with mapping the raw property names from collections.

Sharing these details will make it easier for others to assist you.