Home

Webhook or bot to reply to users in channel without @

%3CLINGO-SUB%20id%3D%22lingo-sub-269710%22%20slang%3D%22en-US%22%3EWebhook%20or%20bot%20to%20reply%20to%20users%20in%20channel%20without%20%40%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269710%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20it%20possible%20to%20use%20webhook%20or%20bot%20to%20reply%20to%20users%20in%20a%20channel%20without%26nbsp%3B%40%3F%20Have%20it%20just%20listen%20for%20keywords%20and%20replies%20when%20it%20catches%20it%3F%20If%20someone%20can%20head%20me%20into%20the%20correct%20direction%20would%20be%20helpful.%20TIA%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-269710%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewebhook%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270164%22%20slang%3D%22en-US%22%3ERe%3A%20Webhook%20or%20bot%20to%20reply%20to%20users%20in%20channel%20without%20%40%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270164%22%20slang%3D%22en-US%22%3EActually%20now%20that%20I%20think%20about%20this%20and%20was%20playing%20around%20in%20the%20graph%2C%20you%20technically%20if%20your%20user%20has%20the%20access%20in%20the%20team%2C%20totally%20use%20graph%20calls%20to%20periodically%20read%20the%20messages%20coming%20in%20and%20act%20on%20the%20content%20of%20those%20message.%20So%20out%20of%20the%20box%20there%20is%20no%20easy%20way%2C%20but%20I%20don't%20see%20why%20you%20couldn't%20use%20the%20graph%20endpoint%20for%20Teams%2C%20and%20use%20the%20GET%20channel%20messages%20%2F%20replies%20etc.%20to%20conjure%20up%20something%20that%20flow%20can%20sit%20and%20monitor%20this%20and%20act%20on%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-270026%22%20slang%3D%22en-US%22%3ERe%3A%20Webhook%20or%20bot%20to%20reply%20to%20users%20in%20channel%20without%20%40%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-270026%22%20slang%3D%22en-US%22%3EInside%20of%20Team%20chats%20no%2C%20but%20if%20you%20chat%20with%20a%20bot%20%2F%20app%20directly%20you%20don't%20need%20%40.%20But%20currently%20any%20actionable%20chat%20message%20must%20use%20%40.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269718%22%20slang%3D%22en-US%22%3ERE%3A%20Webhook%20or%20bot%20to%20reply%20to%20users%20in%20channel%20without%20%40%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269718%22%20slang%3D%22en-US%22%3EDoh%2C%20we%20use%20this%20in%20hipchat.%20I%20hope%20they%20add%20this%20ability.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-269713%22%20slang%3D%22en-US%22%3ERe%3A%20Webhook%20or%20bot%20to%20reply%20to%20users%20in%20channel%20without%20%40%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-269713%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20my%20knowledge%20this%20can't%20be%20done!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E
Takahiro Masuda
Occasional Contributor

Is it possible to use webhook or bot to reply to users in a channel without @? Have it just listen for keywords and replies when it catches it? If someone can head me into the correct direction would be helpful. TIA

4 Replies

In my knowledge this can't be done!

 

Adam

Doh, we use this in hipchat. I hope they add this ability.
Inside of Team chats no, but if you chat with a bot / app directly you don't need @. But currently any actionable chat message must use @.
Actually now that I think about this and was playing around in the graph, you technically if your user has the access in the team, totally use graph calls to periodically read the messages coming in and act on the content of those message. So out of the box there is no easy way, but I don't see why you couldn't use the graph endpoint for Teams, and use the GET channel messages / replies etc. to conjure up something that flow can sit and monitor this and act on it.