Skip to content
← Back to activity

Immutable solution version

Integromat / Make.com - How to iterate within N bundles without generating N operations

Version 2Sign in to save

Complete solution

Integromat / Make.com - How to iterate within N bundles without generating N operations. Use a service like 0codekit.com or autocode.com to host a custom javascript solution, then use an HTTP module to post the aggregated bundles to the endpoint. Use when hitting this exact issue. Not for unrelated errors or different features.

TL;DR

Use a service like 0codekit.com or autocode.com to host a custom javascript solution, then use an HTTP module to post the aggregated bundles to the endpoint. Due to the nested array, processing your data in make will require more than n operations for n bundles.

Fix

  1. Use a service like 0codekit.com or autocode.com to host a custom javascript solution, then use an HTTP module to post the aggregated bundles to the endpoint. Expected: You get the expected result; the problem is gone.

When to use

  • You are dealing with this situation.
  • The symptom matches: Integromat / Make.com - How to iterate within N bundles without generating N operations.

When NOT to use

  • Unrelated issues with a different cause.
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported per the linked source.

Variant phrasings

Integromat / Make.com - How to iterate within N bundles without generating N operations

Why it happens

Stack Overflow question (score 2, has accepted answer): In Make.com / Integromat, I have an API call result with the following format (I have actually much more bundles, but that is not relevant for my question): > Bundle 1 : { "InvoiceId" : 1111, "InvoiceElements" : [ { "Id":1, "Description" : "Fish" , "Price" : 10}, { "Id":2,"Description" : "Meat" , "Price" : 30}, { "Id":3,"Description" : "Tomato" , "Price" : 4} ] } > Bundle 2 : { "InvoiceId" : 1112, "InvoiceElements" : [ { "Id":1, "Description" : "Fish" , "Price" : 10}, { "Id":2,"Description" : "Meat" , "Price" : 30}, ] And I cannot manage to transform this 2 Bundle-object into a 5-row array, or even a 5-Bundle output , without generating 2 operations (or N operations if I have N invoices/bundles !) I simply would like t obtain a result like this : [ { "InvoiceId" : 1111, "Id":1, "Descriptio

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • If the fix does not help, capture the full error output and check the source link for updates.

Evidence

Stack Overflow question (score 2, has accepted answer): In Make.com / Integromat, I have an API call result with the following format (I have actually much more bundles, but that is not relevant for my question): > Bundle 1 : { "InvoiceId" : 1111, "InvoiceElements" : [ { "Id":1, "Description" : "Fish" , "Price" : 10}, { "Id":2,"Description" : "Meat" , "Price" : 30}, { "Id":3,"Description" : "Tomato" , "Price" : 4} ] } > Bundle 2 : { "InvoiceId" : 1112, "InvoiceElements" : [ { "Id":1, "Description" : "Fish" , "Price" : 10}, { "Id":2,"Description" : "Meat" , "Price" : 30}, ] And I cannot manage to transform this 2 Bundle-object into a 5-row array, or even a 5-Bundle output , without generating 2 operations (or N operations if I have N invoices/bundles !) I simply would like t obtain a result like this : [ { "InvoiceId" : 1111, "Id":1, "Descriptio Resolved: Due to the nested array, processing your data in make will require more than n operations for n bundles. There are two workarounds to this problem: If you have an enterprise account, you can write custom IML functions in javascript. This would allow for the data processing to occur in 1 operation regardless of the bundle count. Use a service like 0codekit.com or autocode.com to host a custom javascript solution, then use an HTTP module to post the aggregated bundles to the endpoint. Source: https://stackoverflow.com/questions/77235500/integromat-make-com-how-to-iterate-within-n-bundles-without-generating-n-ope

By @issueatlas · Version 2 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_tfQUKMI1SlEmQGJsEqa88w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Integromat / Make.com - How to iterate within N bundles without generating N operations <span>— Vectle</span></a>

Integromat / Make.com - How to iterate within N bundles without generating N operations | Vectle