Stores or deletes a persistent variable at runtime. Use workflow scope for private state or global scope for shared configuration.
When to use
- Save last reading, file cursor, or feature flag.
- Update shared API base URL from an admin workflow.
- Clear state by deleting a key.
Properties
| Property | Type | Description |
| Scope | select | This workflow only, or Global (shared across all workflows). |
| Variable Key | text | Key to write or delete. Required. |
| Source Field (dot-path in payload; leave empty to use literal below) | text | Take value from pipeline field, e.g. payload.temperature. |
| Literal Value (used when Source Field is empty) | text | Fixed string to store. Supports {{field}} from upstream data. |
| Delete key instead of writing | toggle | Remove the key from the store. |
Outputs
| Field | Description |
key | Key written or deleted. |
value | New value, or null on delete. |
previousValue | Prior value before this write. |
deleted | True when key was removed. |
See also