How variables work
When your workflow runs, Kadoa replaces each variable reference with the value you defined. For example, you create a variable namedkeywords with the value "ESG reports". This prompt:
$. In the SDK and API, you write @variableKey. See Use a variable in a prompt.
Who can use variables
Variables belong to your team.- All team members can use variables in their workflows.
- Members, Admins, and Owners can create, edit, and delete variables.
- Only Admins and Owners can create, edit, or delete secret variables.
- Viewers and Compliance Officers can see variables but cannot change them.
Create a variable
- Dashboard
- SDK & API
- MCP
- Go to Settings > Variables.
- Select New variable.
- Enter a unique Key. Keys cannot contain spaces.
- Select a Type. See Data types.
- Enter the Value. For an Array, enter one value per line. For a JSON Object, enter valid JSON.
- Select Create.
Use a variable in a prompt
- Dashboard
- SDK & API
- In the setup prompt or in your chat with Kadoa’s agent, type
$. A list of available variables opens. - Select a variable. It appears as a chip in the prompt and stays linked to the stored variable.
Example: location-based search
zipCodes: ["10001","10002"], radius: 25
Example: authenticated portal access
username: "user@example.com", password: (Secret)
View variables
- Dashboard
- SDK & API
- MCP
- Go to Settings > Variables.
Update a variable
Workflows that reference the variable use the new value on their next run. You cannot change a variable’s type after you create it.- Dashboard
- SDK & API
- MCP
- Go to Settings > Variables.
- Select the variable. The dialog lists the workflows that use it.
- Change the Key or Value.
- Select Save.
Delete a variable
- Dashboard
- SDK & API
- MCP
- Go to Settings > Variables.
- Select the trash icon next to the variable.
- Select Delete to confirm.
Data types
The API always takes values as strings, regardless of data type.