Collect

Built-in step · 1 step

Gather items over time and send them on together.

Collect and send together

Gather an item from each run and send them on together, so the steps after this one run once for the whole batch, like one email a day with every new lead. Send at a time, once there are enough items, or whichever comes first. A run that only adds its item ends here and says when its batch goes out. When you run the workflow yourself, its item is sent at once, on its own.

Inputs

Item to collectvaluetextRequired
What this run adds to the batch, usually what started the workflow, like the new lead or the new request.
Send attimetime
The time of day the batch is sent, in the workspace's time zone. Leave it empty to send only once there are enough items.
Onrepeattext
The days the batch is sent on.One of: FREQ=DAILY (Every day), FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR (Every weekday), FREQ=WEEKLY;BYDAY=MO (Every Monday), FREQ=WEEKLY;BYDAY=TU (Every Tuesday), FREQ=WEEKLY;BYDAY=WE (Every Wednesday), FREQ=WEEKLY;BYDAY=TH (Every Thursday), FREQ=WEEKLY;BYDAY=FR (Every Friday), FREQ=WEEKLY;BYDAY=SA (Every Saturday), FREQ=WEEKLY;BYDAY=SU (Every Sunday).
Or once there arecountnumber
Send as soon as the batch has this many items, even before its time. Leave it empty to send only at the time. A batch is sent at 1,000 items whatever this says.From 2 to 1000.

Outputs

Every item in the batch, in the order they came. The steps after this one run once with the whole list.

Example output
[
  {
    "email": "ada@example.com",
    "name": "Ada Lovelace"
  },
  {
    "email": "grace@example.com",
    "name": "Grace Hopper"
  }
]

On this page