Skip to main content
Variables are key-value pairs that can be referenced in workflow prompts using @variableKey syntax. When a workflow runs, Kadoa replaces variable references with the actual values. For an overview of variable concepts, data types, and usage in prompts, see Variables.

Prerequisites

  • Kadoa account with API key
  • SDK installed: npm install @kadoa/node-sdk
Variables are currently available in the Node SDK. Python SDK support is coming soon.

Create a Variable

Data Types

Values are always passed as strings, regardless of data type.

List Variables

Get a Variable

Update a Variable

Workflows referencing this variable via @key will use the new value on their next run.

Delete a Variable

Deleting a variable is permanent. Workflows referencing it via @key will no longer resolve the value.

Using Variables in Prompts

Reference variables in workflow prompts with @variableKey: