Skip to main content

Hi community,

I’m trying to create a trigger every time a bot is mentioned in a channel. It works if it’s in a public channel. Is it possible to make it work also in a private channel where the bot has been invited?

 

Thank you!

I just invited the bot to the private channel and it works. Didn’t understand the trigger description since it says just “public channels”. Maybe change it to something like “public channels and invited private channels” : )


Well, I guess it still doesn’t work in Private channels. If I’m in the private channel, the mention@bot will trigger the Zap but if I am not in the channel (I mean the account which created the app), the Zap is not triggered. 

 

For testing purpose, I gave the bot all permissions that are possible in Slack. But it still doesn’t work.

 

p.s. In public channel, it works regardless of whether I’m in the channel.

 

Anyone knows why?

 

Thank you!


Hi @OliveiraHero,

Before we dig deeper into this, have you tried using the “New Message Posted to Private Channel” trigger for the private channel issue? Maybe you can utilize two Zaps one for public channel and one for private channel.

c3dee7677591b9c1087972521795d7b0.png
(view larger)

Please keep us posted! 😊


Hi @OliveiraHero!

We have an existing feature request to support private channels for mentions, in addition to the currently-supported public channels. I’ve added your vote to that request, so you’ll be notified via email if/when that gets implemented. 

As a possible workaround, could you try using this trigger:

 

You could add a filter step after it to ensure that the message contains a mention of the bot you’re interested in. Just an idea! 


Thank you all for the answers! It’ll be great to have the new feature support as the alternative needs a specific channel predefined and costs a lot of “triggers” : )


Hi @OliveiraHero,

You are most welcome! We’re happy that we we’re able to help.

If you have any other questions, please don’t hesitate to post them in the Community. We’re always happy to help! 😊


Hi community,

I’m trying to create a trigger every time a bot is mentioned in a channel. It works if it’s in a public channel ytmp3indir. Is it possible to make it work also in a private channel where the bot has been invited?

 

Thank you!

 

Yes, it is possible to make a bot trigger every time it is mentioned in a private channel where the bot has been invited.

When a bot is invited to a private channel, it will receive an authorization token that allows it to access the channel's messages and metadata. The bot can use this token to subscribe to message events in the channel and receive notifications whenever it is mentioned.