I’m trying to use the Loop block in Architect to iterate over a JSON array returned from a custom Data Action. The Data Action calls an external API and returns a valid JSON payload like [{"id": 1, "name": "Test"}, {"id": 2, "name": "Test2"}]. I’ve set the Loop block’s input to the Data Action’s output variable, but the loop only executes once with the entire array as a single string instead of iterating through each object. I’ve checked the JSON structure multiple times and it looks correct. The Data Action is configured to return application/json and the response body is parsed correctly in the initial test run.
I’ve tried using the ForEach iterator type and setting the loop variable to reference the array directly. The loop seems to treat the array as a single entity rather than a collection of items. Is there a specific configuration I’m missing in the Loop block or the Data Action response mapping? I need to process each item in the array to update CRM records via another Data Action inside the loop. Any help would be appreciated.