Question

Trigger on slack emoji count

  • 11 June 2020
  • 1 reply
  • 444 views

Userlevel 1

Hi All,

 

Im looking to setup a zap for slack only.

 

I want it to trigger off a message in a specific channel that has a emoji reaction count of x amount.

E.g, a slack message which as 10 smiley face reactions is the trigger.

 

Is this possible?


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

1 reply

Userlevel 7
Badge +11

Hi @jay9044!

I don’t believe this is possible right out of the box with the Slack integration. If you wanted to, you could add a few steps to keep a tally of how many times a reacji has been added to a specific Slack message. One way I can think of would be to use our Storage app, with the Increment Value feature.

So the Zap would look something like this:

Trigger: Slack — New Reaction Added
Action: Storage — Increment Value (use the message timestamp as the key, and increment by 1)
Filter: Only continue if the value from Storage exactly matches [whatever your number is]
Action: Whatever your next action(s) will be

The tricky thing is that the Zap will keep triggering every time a reaction is added, using up a lot of tasks needlessly. There’s no way to set a threshold in the Slack trigger, which would be ideal.