JSON parser step
-
- UpdatedJan 30, 2025
- 4 minutes to read
- Yokohama
- Building applications
Identify structured data from a JSON payload without having to write a script. Map incoming JSON content to a complex object output that you can use in other steps or actions. At runtime, values from a JSON payload populate the complex object output.
To learn more about complex objects, see Complex data.
Roles and availability
Available as an Workflow Studio action step. Users with the action_designer role can create a custom action with one or more action steps.
Payload size limit
At runtime, JSON parser step supports payloads up to 10 MB. For larger payloads, create a Data Stream action. For more information on Data Stream actions, see Data Stream actions and pagination.
Fields
JSON parser step example
This example tracks newly created problems from a production instance as defects in a test instance. First, create a new action named Parse Problems from Production. Add a REST step to retrieve a list of problems from the production instance. Then, add the JSON parser step to parse the REST step's Response Body and provide a complex object output that represents the Problem [problem] table's schema. Finally, create an action output of type Object named Problems from Production. Drop the root data pill from the JSON parser step into this output's value field.


Next, create a new flow named Sync New Problems, which is triggered daily at midnight. The first action in the flow is the Parse Problems from Production action. Then, add a For Each flow logic block and drop the data pill into the Item field. Within the For Each block, add an If flow logic block that checks if each problem's state is new, then creates a defect record in the test instance whose assignment group and short description is mapped to each new problem from the production instance.
