What is sample JSON output?
When you create a Code Step, you will come across this Sample Output JSON Format. We would require a JSON here, to access the variables used in the conditional logic to make connections with the Output Steps.
Let us understand how do we get the Sample JSON Output for the Code Step.
Once you have created a Code Step and edited the code in the Code Editor, you can now test it by clicking on the Run button. You can learn more about testing the code, here.
After running the code, the output will be displayed as shown below.
You can simply select and copy this output from here, and paste this in the Sample Output JSON Format of your Code Step.
This is how you use the sample JSON output.