botsslackchatops

Can a notification trigger a bot in a chatroom?


I am new to ChatOps and started with Slack. I got a doubt.
A bot can be triggered by some conversation happening in the chat room. But I wanted to know does vice versa happens? I mean can a bot be triggered from outside and then bot performs some operations in the chat room?


Solution

  • Yes slack bots can be triggered from outside.

    For simple example, you can trigger a post from the bot to a channel by contacting the slack API endpoint. You can see all documentation here api.slack.com