Extract JSON Data with JMESPath
Select a value or list from JSON that is already available in the workflow. Use it to pass only the fields needed by the next action.
Extract a field
Pass the JSON object or array to JSON Input.
Enter Field Path using the structure of that input.
user.nameselects a nested name;items[0].idselects the first item’s ID;[].nameselects names from a top-level list.Run the tool and inspect Output. Check both the value and whether the result is a single item or a list.
Result: Output contains the selected value as text. Objects and lists are serialized as JSON; a missing value becomes an empty string.
Behavior and troubleshooting
Array positions start at zero. Missing paths can return an empty result, so check that the upstream step supplied the expected structure. Use JSON Processor when you want to read a JSON file URL or return JSON text.
Inputs
JSON Input (required)
json_input
JSON data to extract from. Can be a JSON or an Array of JSON objects
Field Path (required)
field_path
Path to extract (e.g., 'user.name', 'items[0].id', or '[:].name' for all array items)
Outputs
Output
output
The extracted data from the JSON string
Related guidance
Was this helpful?

