Reputation: 61
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.
Upvotes: 5
Views: 8146
Reputation: 1192
Also try setting up a webhook from that slack channel, I've had success with that
Upvotes: 0
Reputation: 32698
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.
Upvotes: 3