Create n8n Variable
n8n_create_variableCreate a global workflow variable that is accessible in all workflows via $vars.key. Provide key, value, and optional type for variable.
Instructions
Create a new global workflow variable accessible in all workflows via $vars.key.
Args:
key (string): Variable key/name
value (string): Variable value
type (string?): Variable type (default 'string')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable key/name | |
| type | No | Variable type | string |
| value | Yes | Variable value |