1

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?

Madhurima Mishra
  • 1,063
  • 3
  • 14
  • 27

1 Answers1

2

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

Arianto Wibowo
  • 395
  • 1
  • 7
  • Thanks Arianto :) – Madhurima Mishra Feb 07 '17 at 04:42
  • 1
    We use the slack API to have bots report messages into chatrooms based on external events. The key is to always make sure it's always obvious that it's a `bot` sending the message and to name them appropriately. We have several bots, one of them is named `[BOT] release.sh` – vikingsteve Feb 15 '17 at 08:19