Skip to main content
Best answer

Trigger "New Reaction Added in Slack" once only

  • February 8, 2022
  • 5 replies
  • 372 views

Forum|alt.badge.img+1
 
This question has been asked before, e.g. here:

The proposed solutions are cumbersome, though.

I wondered if it would be possible to let the zap add a `:check:` reaction as a latch, and then check for the existence of that reaction. However I couldn't see how to check for the existence of a reaction. Does anyone know of a way?

Best answer by SamB

Hey @Jean

I came across your question and it inspired me to do some digging into other potential workarounds. And I found a way to see how many reactions there have been using webhooks. Essentially you’d use a GET request to connect to Slack’s reactions.get endpoint and see the current count of reactions on a specific message.

I wrote up a quick guide on how to do it here: 

Not sure if it’s much less cumbersome than the other suggestions, but hopefully it’ll be helpful! :relaxed:

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

5 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • February 8, 2022

Hi @Jean 

An alternative approach would be to log each Slack New Reaction Added in a GSheet or Airtable, then check against that each time to determine if the Zap should proceed by passing thru a Filter step.

 


Forum|alt.badge.img+1
  • Author
  • Tinkerer
  • February 9, 2022

An alternative approach would be to log each Slack New Reaction Added in a GSheet or Airtable,

Hi Troy :-)

That’s exactly what I had in mind with “cumbersome” :disappointed_relieved:

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • Answer
  • February 11, 2022

Hey @Jean

I came across your question and it inspired me to do some digging into other potential workarounds. And I found a way to see how many reactions there have been using webhooks. Essentially you’d use a GET request to connect to Slack’s reactions.get endpoint and see the current count of reactions on a specific message.

I wrote up a quick guide on how to do it here: 

Not sure if it’s much less cumbersome than the other suggestions, but hopefully it’ll be helpful! :relaxed:


Forum|alt.badge.img+1
  • Author
  • Tinkerer
  • February 14, 2022

Hi @SamB --- wow, this is impressive even by Zapier support’s usual level of excellence. I see the endpoint has the reaction emoji name too, so we can filter on the count of the specific reaction I’m interested in.

For me, this is less cumbersome, because the work is done in one place, and there’s no separate spreadsheet to be documented and risk falling out of sync.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • February 14, 2022

YAY! That’s fantastic news, @Jean! I’m so glad you found it helpful. :blush::tada: