Delete Variable
Controlled node
Overview
Remove a variable or a nested value from the workflow.
Delete Variable removes a named value from the current workflow's local scope. Use it to discard temporary state without clearing unrelated variables.
Inputs
| Input | Type | Description |
|---|---|---|
| run | Event | Deletes the selected value. |
| name | Text | The variable name or nested path to remove. |
| Dynamic | Data | Additional sockets created by placeholders such as item_{{id}}. |
Outputs
| Output | Type | Description |
|---|---|---|
| done | Event | Fires after the deletion attempt, including when the variable was already absent. |
What gets removed
customerremoves the entire variable.customer.temporaryNoteremoves that property without deleting the rest of the object.items.0removes the first item from a stored list; later indexes shift down.
Use a valid name or path. An absent variable or property is harmless; you do not need to check that it exists before deleting it.
Scope
In the top-level workflow, local and shared variables use the same scope, so this node can remove those values.
Inside a nested workflow, it deletes only that workflow's local value. It does not fall back to deleting a top-level shared variable. If both scopes contain the same name, removing the local value can make the shared value visible to Variable.
Example
After using temporaryResult, connect the final action's completion event to run and set name to temporaryResult.
This removes the workflow variable, not any database row or library file referenced by its value.