Best answer

Create a daily "Chore Wheel" Slack message that rotates through a list of names?

  • 22 December 2020
  • 4 replies
  • 1012 views

Userlevel 1

I’m trying to create a Slackbot of sorts that posts a daily message at 9am every weekday that assigns the next person in a list to a recurring task.

Right now, I got as far as setting up Formatter and then “Pick from list”. However, the only options are returning the first item, last item, or random item in the list. Instead, I want it to pick the next item in the list from the previous one that was chosen. Basically, for every new daily Slack message that gets posted, it just chooses the next name in the list, instead of being random.

Any way to accomplish this?

icon

Best answer by BowTieBots 22 December 2020, 03:01

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

4 replies

Userlevel 7
Badge +14

Check out Storage by Zapier: https://zapier.com/apps/storage/help

You can use Storage to save a value that can be later retrieved and used in a Zap.

Here’s a video as well: https://www.luhhu.com/blog/how-to-create-a-round-robin-in-zapier-video

Userlevel 4
Badge +4

@craiglloyd You can use two look up tables and storage to store the next person’s lookup value. If you were to set this up for 3 people it would look like this

  1. Daily Trigger
  2. Get storage value which returns a value of 1 thru 3
  3. First lookup table gets the person based on the number
    1. 1= Jane
    2. 2= Joe
    3. 3= Steve
  4. Perform your slack operation or anything else you need
  5. Second lookup table increments the number or sets it back to 1 if 3
    1. 1=2
    2. 2=3
    3. 3=1
  6. Set the storage value to the new number
Userlevel 7
Badge +9

Hey @craiglloyd did this solve your issue?

Userlevel 1

@andywingrave Yes, it did!