Round Robin is a term used when you want to evenly distribute items to everyone in the group. This means that everyone will get a single "thing" before anyone gets a second "thing". This helps to evenly distribute actions over a group.
There are multiple ways to do this with Zapier. The easiest and most reliable method uses a combination of Storage by Zapier along with the Formatter by Zapier app.
This method relies on using a spreadsheet-like formula function in our Formatter tool: the Modulo function.
The first step would be to use the Increment Value action of Storage to set up a counter that we can increment every time this Zap runs:
Next up, we would use the counter to perform the "modulo" of the number of items in the list. The number after the comma is however many items you want to round robin.
Using the Spreadsheet Formula, we can get which item to select. So, for a 4-item list, we would use this formula in the Formatter step:
Then, we use the modulo value for selecting which item in the list to select using the Formatter's "Pick from List" action. When the first number is 1, it outputs 1. When it's the same as the second number, it outputs 0.
In Pick From List, the number 0 means the first option in the list. Because the modulo outputs 0, this works great!
Finally, we would then use the value that we picked from the last action:
Paths are available for accounts on the Professional, Professional Plus, and Teams plans. If you’re on a Free or Starter plan, you can try Paths for free for 7 days. Just add a Paths step to a Zap and you can start your free trial from the editor.
In the event that you want to take different actions entirely (or have an app like Google Sheets where custom values can't easily be used) you can use Paths. For the above example, you could set up one path per possible Formatter output, then add the action(s) you need within those Paths.
If we have 4 Paths, you could use Formatter's Pick from List function to output one of four paths:
Then set up one path for each of those possible outputs: