Preserve data types
An upstream field binding preserves its type. Use it to pass an array into For each, a number into a comparison, or an object into an HTTP body. A text template always produces text, even when its value looks like JSON. For an HTTP response, declare the output fields you need, such asjson.items as an array. A sample helps discover fields but does not guarantee that every response contains them. Add an optional binding or fallback for values produced only by one conditional branch.
Example: process a list and summarize it
- Start with a manual trigger while developing.
- Add an HTTP step that fetches a JSON list and declare its array output.
- Bind the array to For each.
- Connect Each item to the body and select the body nodes in the inspector.
- Use the loop’s
itemandindexas inputs, and configure collected outputs. - Connect Done to a summary step using
iterationOutputs.

