JSON Extract Action
JSON Extract Action (V2)
The JSON Extract Action node allows you to read and extract specific values from a JSON payload. It is typically used to process structured data returned by other nodes, such as FFProbe as JSON Action, MediaInfo as JSON Action, or any external REST API response.
Instead of handling the full JSON manually, this node lets you target a single value and reuse it later in the stream.
Input Parameters
Payload The complete JSON object from which the value should be extracted.
The payload can be provided:
directly as JSON text
via {node.result.?}
from a file using {file.content.?}
The payload must always be valid JSON.


Key path Defines which value inside the JSON structure should be read.
The path follows object navigation notation:
Use
.to access nested objectsUse
[index]to access array entries
Example:
Output and Wildcards
The extracted value is returned as the node result and can be accessed using:
Example
Given the following payload:
If the Key path is:
the node returns:
If the Key path is:
the node returns:
Using a JSON File
If the JSON exists only as a file, first reference its content as the payload:
The node will then parse the file and allow extraction using the defined key path.
Typical Use Cases
reading resolution, duration, or codec data from FFProbe/MediaInfo output
retrieving IDs returned by APIs
extracting metadata from webhook responses
obtaining track counts, frame rates, or markers from media analysis
feeding extracted values into metadata fields or conditional logic
Practical Tip
This node becomes especially powerful when chained after an HTTP Request Action. A common workflow is:
API call → JSON Extract → Metadata / Rename / Routing
Instead of parsing the response manually in JavaScript, let this node do the structured extraction — it is faster, clearer, and far less error-prone.
Last updated