How to return translated JSON response to output in Data action?

Hi,

I'm trying to create a data action that can return a JSON object as a response (I know it needs to be escaped into a string with the esc.json tool) after translation. I don't want to return the actual response (${rawResult}) received from the endpoint, rather I want to send the JSON created after the translation map. Something like in the below screenshot. I want to get this below response into a output variable which can be used in architect.

Thanks in Advance!

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.