Action Data
Data Selector
Selects a specific value from a JSON object or array using a slash-delimited path. Supports both object keys and array indices. This node processes raw JSON of the data field, so you might need to step through 'outputs' or 'value' keys.
Node IDDataSelectorAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Selection Path path | string | Yes | — | Slash-delimited path to the desired value. Use object keys for objects and numeric indices for arrays. Examples: 'user/profile/name', 'users/0/id', '1/title', 'data/items/2/nested/value'. |
Mode mode | enum | No | Fail on Not Found | Behavior when the path is not found. 'Fail on Not Found' produces an error, 'Return Empty' returns a null value, 'Create with Default' returns the specified default value. |
Default Value defaultValue | textarea | No | "" | The default value to return when the path is not found and mode is set to 'Create with Default'. Accepts any valid JSON or plain text. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An execution signal carrying the data object or array to be searched. Expects a standard data object. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Selected Data output0 | any | selected_data | Emits a data object containing the selected value. The type of this data depends on the selected value. |