I am wondering if a slack bot can pull messages that are tagged with a certain string of characters from a private channel and then post that "tagged" message in another channel (private or public). All within the same slack group.
Asked
Active
Viewed 7,062 times
5
-
Elaborate more in detail – Rafique Mohammed Mar 25 '16 at 13:06
2 Answers
3
Yes, a Slack bot can do that. But he needs to be invited to a channel (public and private) to be able to monitor it. He then receives all messages in that channel and can react to it in any way you want. Bots can only use a subset of all Slack API methods, but yes they can post a copy of a message to another channel based on keywords.
See the Slack documentation on bots for more information.

Erik Kalkoken
- 30,467
- 8
- 79
- 114
0
Also try setting up a webhook from that slack channel, I've had success with that

Lucas Crostarosa
- 1,192
- 6
- 13
- 26
-
-
It can now. You have to add a "bot event" and subscribe to "message.groups". – Philip Hallstrom Nov 16 '19 at 18:36