Command Set
This feature allows you to assign dynamic values to nodes based on data from the automation process. Use the {{}}
symbol and expand it with information that corresponds to each specific data type.
table
Extracting Data from a Table.
table.columnName
variables
Extracting Data from a Variable.
variables.variableName
loopData
Extracting Data Within a Node Loop.
loopData.loopId
globalData
Extracting General Data from a Scenario.
globalData
prevBlockData
Extracting Values from the Previous Block.
prevBlockData
googleSheets
Extracting Data from Google Sheets.
googleSheets.referenceKey
spreadSheets
Extracting Data from a Spreadsheet.
spreadSheets.referenceKey
When defining a set of instructions, you must follow the format {{keyword}}
and replace the word keyword
with the specified source of information. This allows the automation to distinguish between static and dynamic data.
Suppose you have a variable named listname
in the process, and its value is an array of objects. You want to send this variable to the API using an HTTP request
.
[
{ "name": "Telegram", "url": "https://telegram.org/" },
{ "name": "X", "url": "https://twitter.com/" },
{ "name": "Etsy", "url": "https://www.etsy.com/" }
]
You can use the following set of instructions within the content section of the HTTP Request
node :
{{variables.listname}}
But what if you want to use the url
property of the first element in the array as a value in the node?
To do this, you can use the following set of instructions :
{{variables.listname[0].url}}
In that set of instructions, 0
refers to the first element of the array. If you want to retrieve the second element of the array, replace it with 1
, or use 2
when you want to retrieve the third element, and so on.
Last updated