Skip to main content

Hey, I am looking for help to finish my Slack automation. I want to enable the flowing scenario. 
If there is no emoji reaction to message in 10 minutes, create a thread and ping me. 

I set up a trigger for a new message, added Delay by Zapier and added action to find the right message by permalink. 

How do I do check if the message has any emoji reactions? 

Hi @Michael-767, welcome to the Community! 👋 

To get the reactions for a message Slack has a specific reactions.get API endpoint you’d need to use. To make a request to that endpoint you can use Slack’s API Request (Beta) action, and set it up as shown below, to search for the message using it’s timestamp (Ts) instead of it’s permalink:
aba62fcb134b4b5dcc7404d62f511b0a.png
That should get you the number of reactions as well as the name of the reactions:

bf07952470b1d61a36a8ce363982f8e3.png

From there you can use a filter to check the number of reactions is less than 1 so that the subsequent Send Email action will only run if there hasn’t been a emoji reaction added. 

 

Hope that helps to get you pointed in the right direction. If you run into any issues or have further questions do let me know! 🙂