Dictionary
Uncontrolled node
Overview
The Dictionary node creates a structured key-value data object that can be used throughout your workflow. This node is useful for defining static configuration data, organizing related values, or creating data structures to pass to other nodes.
Unlike controlled nodes, the Dictionary node has no event inputs or outputs. It simply provides a data output containing the dictionary object defined in its properties.
Inputs
This node has no input sockets. The dictionary data is configured via the properties panel.
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| Dictionary | Dictionary | A key-value editor allowing you to define the structure and values of the dictionary. Supports nested objects and arrays. | Empty object {} |
Outputs
| Output | Type | Description |
|---|---|---|
| Output | Data | Contains the dictionary object as defined in the node's properties. Returns an empty object {} if no dictionary is defined. |
Runtime Behavior
When the workflow runs, the Dictionary node converts its internal dictionary definition into a standard JavaScript object and outputs it via the Output socket.
If the dictionary property is left empty or undefined, the node will output an empty object {} by default. The output can be connected to any node that accepts data inputs, such as the Set Value, AI Write, or database operation nodes.
Example
Creating a Configuration Dictionary
- Add a Dictionary node to your workflow
- Open the properties panel and click on the Dictionary field
- Add key-value pairs:
api_url:"https://api.example.com"timeout:30retry_count:3
- Connect the Output to an API Request node's
headersordatainput
The Dictionary node will output:
{
"api_url": "https://api.example.com",
"timeout": 30,
"retry_count": 3
}
This is useful for storing configuration constants or structured data that multiple nodes need to reference.