Skip to content

A workflow's REST Call task successfully gets a response from an external API (confirmed working the same way in Postman), but the workflow isn't picking up the expected value from it — for example trying to get an id nested inside a 'columns' array in the JSON response.

Answer

Workflows use JsonPath to extract values from a REST response, and a JsonPath expression pointing at an array needs to specify which element of the array you want — for a value nested in an array like columns, $.columns.id won't resolve, but $.columns[0].id (specifying the array index) will. Check that your JsonPath expression correctly reflects the actual shape of the response, particularly around arrays, rather than assuming a path that works for a plain object will also work for an array.

← Browse Workflows and automation questions