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?
Best answer by SamBBest answer by SamB
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: That should get you the number of reactions as well as the name of the reactions:
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: That should get you the number of reactions as well as the name of the reactions: