Saving the JSON as a file in output directory

How can I save a JSON response as a file in the directory?
Extension can be .txt or .json.

Hi,

You can create a data table using Create Data Table Activity
Using Add row write the JSON response in that Data Table
Finally you can export that datatable in csv format.

or alternately,

You can write a microbot to write value in a file and use the same

Regards,
Amit Anand