Automatic response variables

Automatic response variables

By choosing "Auto populate response variables" the child action will automatically parse the response JSON and add top-level variables to the variable scope. 

Example JSON response from parent action:

{ "gender": "male", "name": { "title": "mr", "first": "sal", "last": "van ballegooij" }, "location": { "street": "1978 predikherenstraat", "city": "oldenzaal", "state": "groningen", "postcode": 32432, "coordinates": { "latitude": "46.8524", "longitude": "-179.9888" }, "timezone": { "offset": "+5:00", "description": "Ekaterinburg, Islamabad, Karachi, Tashkent" } } }

 

Will result in the following variables being available:

{{gender}} - The String "male" in this case

{{name}} - An object, use "." notation to drill down. Ie. {{name.title}} for "mr"

{{location}} - An object, use "." notation to drill down. Ie. {{location.coordinates.latitude}} for "46.8524"