cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Slack new event trigger are taking event only once.

durgesh
Deputy Chef I
Deputy Chef I

I am using Slack new event trigger in my recipe, but it takes trigger only once. To take an event again from Slack I have to create another recipe because one recipe takes trigger only once in the initial test. How can it take multiple events from a single recipe?

I will be thankful to someone who helps me to figure it out.

2 REPLIES 2

jan-donyada
Workato employee
Workato employee

Hey Durgesh, are you using a Custom OAuth Profile with your Slack connection? Also, why do you want multiple events going into the same recipe?

jan-donyada
Workato employee
Workato employee

Assuming you're using a custom profile for your Slack connection, you can go over to your Slack app https://api.slack.com/apps/{your_app_id}/event-subscriptions and subscribe to all sorts of user events:


Since these events all go to the same recipe:



you can then do some simple IF logic to decide how to respond to the different events. In the example below, the recipe responds to 2 different events: a 'test' message to the #general channel, and reaction_added event added to messages anywhere:


View the recipe. Hope this helps!