Knowledge Base

Write Variable

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

PropertyTypeDescription
ScopeselectThis workflow only, or Global (shared across all workflows).
Variable KeytextKey to write or delete. Required.
Source Field (dot-path in payload; leave empty to use literal below)textTake value from pipeline field, e.g. payload.temperature.
Literal Value (used when Source Field is empty)textFixed string to store. Supports {{field}} from upstream data.
Delete key instead of writingtoggleRemove the key from the store.

Outputs

FieldDescription
keyKey written or deleted.
valueNew value, or null on delete.
previousValuePrior value before this write.
deletedTrue when key was removed.

See also

Nodlyn Assistant
Ask me anything about Nodlyn
Hi! 👋 I'm the Nodlyn assistant. Ask me about the product, workflow components, connectors, agent runtime, agent capabilities, deployment, and more. If I don't know an answer, I'll point you to our contact form.