For app publishers
Slack
Let the app post to Slack, and where.
What this is
This page lets your app post messages in Slack, a chat tool many companies use. The messages come from cyantula's own Slack bot, under your app's name, so you do not create a Slack app or handle any key. Channels, direct messages and threads all work.
You choose where messages go by default, and you can limit the app to a few channels.
Where to find it
- Open the Apps page and click your app.
- Click the card Integrations, then Slack.
Slack is an Advanced theme. Switch to Advanced at the top of the app page. You can also open it from the link on All integrations.
What you see
Let this app post to Slack. The main block:
- This app posts to Slack: the on/off switch.
- Default channel: where a message goes when it names no target, with a Save button.
- Only these channels: an optional list, with a Save button. Leave it empty to allow any channel.
- Once Slack is on: App token, with Show and Copy, and Post a test.
- A line at the bottom: how many messages were Posted in the last 24 hours, out of the daily limit, the name it posts as, and the channels it is limited to.
What this app has posted. A table with When, Where, Message and Status. in a thread is written under a message that was a reply. The status is sent, blocked or a failure, with the reason under the message.
How to switch Slack on
- Tick This app posts to Slack.
- A green message says Slack is on. Click Deploy to hand the credentials to your app.
- Deploy the app. See Deploys & logs.
How to choose the default channel
- Type a channel name in Default channel, for example
#team-ops. - Click Save.
- A message says Default channel saved — deploy to apply it. Deploy the app.
How to limit the app to some channels
- In Only these channels, type the channels separated by commas, for example
#team-ops, #alerts. - Click Save. A message says Saved.
A message to any other channel is refused and shows as blocked in the log. Direct messages to colleagues are always allowed.
How to post a test
- Switch Slack on. Post a test only shows once it is on.
- Leave the box empty to post to the default channel, or to get a direct message when there is none. Or type a channel.
- Click Post test. A message says Test message posted.
A note under the box says what to do when you test a private channel.
When something looks wrong
- No Slack workspace is connected to this cyantula server yet, so messages are logged instead of posted. Nothing reaches Slack. Ask an administrator to connect the workspace.
- Nothing posted yet. The app has not posted, or Slack is not deployed yet.
- A blocked status: the channel is not in Only these channels, or the message was refused for another reason written in the log.
- A red message after you click a button: the change was not saved. Try again. If it keeps failing, ask an administrator.
Good to know
- Switching Slack on or off and changing the default channel only reach the running app after a deploy.
- The app token is the same one Email uses. To replace it, go to Email and click Regenerate.
- The daily limit is set by your administrator. The number is written under the form.