Closed HenryHengZJ closed 1 year ago
User is now able to use $index for multiple dynamic executions.
$index
Example: Sending multiple different Discord message with different inputs
1.) Assuming a NodeJS node has the following input code:
const example = [ { id: "1", amount: 0 }, { id: "2", amount: 10 }, { id: "3", amount: 30 } ]; return example;
which outputs:
2.) We can use $index in Discord node like below:
3.) Since there are 3 loops, hence 3 different Discord message will be sent:
Use cases:
User is now able to use
$index
for multiple dynamic executions.Example: Sending multiple different Discord message with different inputs
1.) Assuming a NodeJS node has the following input code:
which outputs:
2.) We can use
$index
in Discord node like below:3.) Since there are 3 loops, hence 3 different Discord message will be sent:
Use cases: