Data Structure
All data passed between nodes is an array of objects.
The format is:
[
{
// For most data:
// Wrap each item in another object, with the key 'json'
"json": {
// Example data
"apple": "beets",
"carrot": {
"dill": 1
}
},
// For binary data:
// Wrap each item in another object, with the key 'binary'
"binary": {
// Example data
"apple-picture": {
"data": "....", // Base64 encoded binary data (required)
"mimeType": "image/png", // Best practice to set if possible (optional)
"fileExtension": "png", // Best practice to set if possible (optional)
"fileName": "example.png", // Best practice to set if possible (optional)
}
}
},
]
Data item processing
Nodes have the capability to handle numerous items simultaneously. For instance, by selecting the Trello node to execute the Create-Card function, and formulating an expression that establishes the Name attribute by utilizing a property known as name-input-value from the incoming data, the node will generate a card for each item, consistently selecting the name-input-value of the present item.
Example:
[
{
name-input-value: "test1"
},
{
name-input-value: "test2"
}
]
Last updated