Knowledge Base

Global Variables

Global Variables are key-value pairs shared across all workflows on a Nodlyn instance. Use them for API URLs, credentials references, counters, and last-processed timestamps without hard-coding values in every node.

Syntax

In any node setting, reference a global key with {{$var.keyName}}. Nodlyn resolves placeholders at runtime before the node executes.

  • {{$var.apiUrl}} — shared base URL
  • {{$var.lastRunId}} — updated by a prior run

Manage values

Open the Jobs panel → Variables tab → Global. Add, edit, or delete keys directly in Studio. Changes apply to the next run.

Workflow-scoped variables

Variables can also be scoped to a single workflow. Use Read Variable and Write Variable nodes, or set keys under Jobs → Variables → Workflow. Global scope takes precedence when both exist.

Inspector hint

Fields containing {{$var.*}} show a violet highlight and a “Uses global variables” badge in the Inspector.

Runtime export

Global and workflow variables are included in the runtime agent manifest and seeded when an exported agent starts — including multi-workflow bundles.

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.