Inject Variables node
The Inject Variables node resolves nested variable interpolation when a variable contains another variable inside its value. It performs a recursive replacement of placeholders defined with {{ }}.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
-
Inject depth: Defines how many recursive resolution steps are performed. Each step performs one level of variable injection.
depth = 1— single interpolation pass-
depth = 2— nested variables pass (recommended for double interpolation cases) -
Input: The
{{nested Variable}}to be injected. For example:{{response.data.{{variable.value}}}}
-
Save in the flow store: Save the result into a variable for reuse by other nodes. See Save in the flow store for details.
Default output node
- Success
- Invalid Depth
- Failure
JSON metadata
{
"name": "inject_variable",
"active": true,
"bundleName": "default-nodes",
"bundleVersion": "1.0",
"category": "utility_components",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Inject Variables"
}, {
"lang": "it",
"value": "Inject Variables"
}
],
"nodeName": "InjectVariable",
"index": 1,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "InvalidDepth",
"level": "warning"
}, {
"name": "Failure",
"level": "error"
}
]
}