Delete Variable
Description
Section titled “Description”The Delete Variable module allows deleting a variable previously stored in the workflow memory system. Internally it uses the base Variable module with the delete action. Once deleted, the variable is no longer available for subsequent queries from any workflow. It is useful for cleaning up temporary data or variables that are no longer needed.
Configuration
Section titled “Configuration”| Parameter | Type | Required | Description |
|---|---|---|---|
| key | text | Yes | Name of the variable to delete. Supports {{variable}}. |
Output
Section titled “Output”{ "nextModule": "siguiente_modulo", "data": { "variable": { "resolvedKey": "nombre_variable_eliminada" } }}Usage Example
Section titled “Usage Example”Basic case
Section titled “Basic case”{ "label": "Delete Variable", "key": "datos_temporales"}- Internally executes the Variable module with
action: 'delete'. - Deletion is permanent. Once deleted, the variable cannot be recovered.
- Supports dynamic variables
{{variable}}in the key name. - If the variable does not exist, the operation completes without error.
- parentNode:
variable.
Related Nodes
Section titled “Related Nodes”- setVariable (to create/update variables)
- getVariable (to get the value before deleting)
- variable (base module used internally)