Aj1n
Aj1n6h ago

Title: API tool returns 200 but captured variables are empty when response JSON has arrays

What I’m looking to achieve Call a Make (Integromat) custom webhook from a Voiceflow API block, then capture the webhook’s response into variables (e.g., api_response, api_raw) and show them in the next Message block. What the issue is The API step reports success (HTTP 200) in Logs. However, the variables mapped in Capture response are empty in the next block whenever the response includes an array field. If the response is a simple string value only, the mapping works and the variable populates. Reproducible on Voiceflow Pro, Chrome (macOS), Make EU2. Solutions I’ve already tried Mapping both the root ($) and a named property to variables (e.g., api_raw, api_response). Changing Content-Type between application/json and application/json; charset=utf-8. Simplifying the Make scenario to a minimal webhook response (works only when it’s a plain string; breaks when an array is present). Re-defining data structure in Make, re-running “Run once”, and confirming in Make → Execution History that the response body is correct. Testing with GET/POST, toggling Failure Path, and adding debug prints in the following VF Message block.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?