@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
| Type | Description | Example |
|---|---|---|
STRING | Plain text (default) | "ESG reports" |
NUMBER | Numeric values | "25" |
BOOLEAN | True/false | "true" |
JSON | Structured JSON data | '{"zip": "10001"}' |
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
Using Variables in Prompts
Reference variables in workflow prompts with@variableKey: