Yes — as long as the response body is in JSON format.Real-Time Routing webhooks can capture variables nested inside the response body, but only when the response body is in JSON format. Applies to: Real-Time Routing Webhooks
How to map a nested variable
- Configure the Real-Time Routing webhook.
- Test the webhook to confirm you get a successful response.
- On the webhook’s Configuration tab, select the Data Mapping sub-tab.
- In the Webhook Response Field, enter the path to the value you want to extract from the JSON response. This tells Invoca where to find the value in the webhook’s response. For example, if the value is nested under
action.parameters.user_parameters, you’d enteraction.parameters.user_parameters.number. - In the Marketing Data Field section, search for and select the field you want to map the value to.
- Click Save.