Hi @everyone, I wanted to share a quick solution to a data mapping issue I solved in Make.com while building an integration between Gemini API and Alpaca (trading platform). The Flow: HTTP (Gemini): Takes market data and responds with a flat JSON allocating weights (e.g., {"NVDA": 40, "AAPL": 35}). Iterator: I used an Iterator module with {{toArray()}} to parse Gemini's object into separate bundles. HTTP (Alpaca): Takes the key (Ticker) and value (Amount) to send fractional market orders. The Bug & The Fix: I was getting stuck because Make kept wrapping my mapped keys inside bracket arrays automatically inside Alpaca's body content, causing bad payload schema errors. The fix was simply running a single forced test run ("Run once") right after setting up the Iterator. This forced Make to internalize the clean data structures and let me map them as raw strings without the automatic brackets. If anyone is working on multi-order loops or dynamic JSON splitting with LLMs in Make, feel free to ask! Happy to share the blueprint file if you want to inspect the routing.
No replies yet
Join the Discord to continue the conversation
B
BuildShip
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows