Imagine you have a list of ad objects, the budget of which needs to be increased by 10%. If you have a list, but you want to make changes to an ad object one by one, For Each node will help you to iterate over each of the objects. When you trigger start
, the first object will appear in the item
output socket. When you trigger next
, the next item will be in the output. Take a look at the example below to understand better how you can use it.
field | schema | explanation |
---|---|---|
items | any | Input the list of objects that needs to be manipulated one by one. |
field | schema | explanation |
---|---|---|
item | any | Item, which is ready to be manipulated. |
index | integer | Position of the item in the output. |
count | integer | Total number of objects in the list |