Variables
Variables are a way to store and retrieve data within a flow. They are stored in the database and can be accessed by any node in the flow.
Actions
Steps this node can perform. Add one from Add a step, then pick the action.
Get Multiple Values
Get multiple values stored at defined keys
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Keys | List | Yes | Array of keys to retrieve values for. Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters |
| Success If Not Exist | Yes / No | Whether to return success and continue flow if keys don't exist (false will stop the flow) Default: true |
Output
Later steps use this data by picking this step in the $ picker. For example, success is $.<step ID>.output.success.
{
"success": false,
"values": {}
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
success | Yes / No | Whether the operation was successful |
values | Object | Object with keys mapped to their values |
Get Value
Get a value stored at a defined key
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Key | Text | Yes | Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters |
| Success If Not Exist | Yes / No | Whether to return success and continue flow if the key doesn't exist (false will stop the flow) Default: true |
Output
Later steps use this data by picking this step in the $ picker. For example, exists is $.<step ID>.output.exists.
{
"exists": false,
"success": false,
"value": "string"
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
exists | Yes / No | Whether the key existed |
success | Yes / No | Whether the operation was successful |
value | any | The retrieved value |
Pop Value From List
Pop a value off a list of values, removing the value from the list. Optionally, return a default value if the list is empty
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Key | Text | Yes | Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters |
| Location | Choice | Location to pop from - from head (FIFO) or from tail (LIFO) Options: From head, From tailDefault: start | |
| Default Value | Text | Value to return if list is empty | |
| Success If Not Exist | Yes / No | Whether to return success and continue flow if the key doesn't exist (false will stop the flow) Default: true |
Output
Later steps use this data by picking this step in the $ picker. For example, list_length is $.<step ID>.output.list_length.
{
"list_length": 0,
"success": false,
"value": "string"
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
list_length | Number | The new length of the list after popping |
success | Yes / No | Whether the operation was successful |
value | any | The popped value or default value |
Push Value Onto List
Push a value onto a list of values
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Key | Text | Yes | Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters |
| Value | Code | Yes | The value to push onto the list. Supports all primitive data types (string, number, boolean, array, object, null) |
Output
Later steps use this data by picking this step in the $ picker. For example, key is $.<step ID>.output.key.
{
"key": "string",
"list_length": 0,
"success": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
key | Text | The key for the list |
list_length | Number | The new length of the list |
success | Yes / No | Whether the operation was successful |
Remove All Values
Removes all values for the connected account
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Key Pattern | Text | Optional pattern to filter keys to remove (e.g., 'temp:*') Default: * | |
| Confirm Deletion | Yes / No | Yes | Must be true to confirm deletion of all matching keys |
Output
Later steps use this data by picking this step in the $ picker. For example, deleted_count is $.<step ID>.output.deleted_count.
{
"deleted_count": 0,
"success": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
deleted_count | Number | Number of keys that were deleted |
success | Yes / No | Whether the operation was successful |
Remove Value
Remove a value stored at a defined key. Also works if the value is a list
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Key | Text | Yes | Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters |
Output
Later steps use this data by picking this step in the $ picker. For example, existed is $.<step ID>.output.existed.
{
"existed": false,
"success": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
existed | Yes / No | Whether the key existed before removal |
success | Yes / No | Whether the operation was successful |
Set Multiple Values
Set multiple values stored at defined keys
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Values | Key–value pairs | Yes | Object with key-value pairs to store. Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters. Supports all primitive data types (string, number, boolean, array, object, null) |
Output
Later steps use this data by picking this step in the $ picker. For example, keys_set[0] is $.<step ID>.output.keys_set[0].
{
"keys_set": [
"string"
],
"success": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
keys_set[] | List | Array of keys that were successfully set |
success | Yes / No | Whether the operation was successful |
Set Value
Set a value stored at a defined key
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Key | Text | Yes | Put the key that you want to use to concatenate the words (i.e., hyphen, underscore) and try to avoid special characters |
| Value | Code | Yes | The value to store (will be JSON-encoded). Supports all primitive data types (string, number, boolean, array, object, null) |
Output
Later steps use this data by picking this step in the $ picker. For example, key is $.<step ID>.output.key.
{
"key": "string",
"success": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
key | Text | The key that was set |
success | Yes / No | Whether the operation was successful |