Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
true
minLevel1
maxLevel76
outlinefalse
styledefault
typelist
printablefalse

...

With Slack, your bots can send various types of messages to your Slack group or contacts mainly for notification purpose for now. However, we are working on building Slack flow. So there will be more functions with Slack shortly.

Setup Slack

...

To send out notifications to your Slack group or personal channel, you will need incoming webhooks first. Follow step 1, 2, 3 above and a window will pop up:

...

  • from Slack Incoming Webhooks App

  • from your own Slack App

Get an Incoming Webhook URL from Slack Incoming Webhooks App

Visit Incoming WebHooks (opens new window), login yourself, then:

...

Ta-da! Here you are the URL.

Get an Incoming Webhook URL from Your Own Slack App

A wave of buttons is coming, click on them one by one:

...

Image RemovedImage Added

  1. Give an App name.

  2. Select your workspace.

  3. "Create App"

...

Image RemovedImage Added

Image RemovedImage Added

  1. select a channel

  2. "Allow"

...

Finally, you see your URL!

Add Incoming Webhook

...

  1. paste the URL you got in either the first way or the second above.

  2. pick a lovely icon.

  3. name it.

  4. and click "Create".

All done! This is how it looks like:

...

More information click -> Slack API

Send Slack Notification

A common usage for slack integration is to send slack notification. For example, to back up your bot, set a "Talk to Human" button. And when user press it, send a slack notification to a support channel or a support staff. Check how to send slack notification.