For administrators

Slack

The single workspace bot the platform notifies with and published apps borrow.

What this is

One Slack workspace bot. The platform uses it to message owners directly and to carry the buttons on its messages. Published apps that opted in borrow it, so they do not each register a bot.

This page also holds the choice Where cyantula sends its messages, which decides between Slack and Microsoft Teams. You need this page when you use Slack, or when you want to choose between the two chat apps.

Where to find it

  1. Open Admin.
  2. Click the card Notifications, then Slack.

What you see

Which chat app is in use. A note says "cyantula sends its own messages through Slack" (or Microsoft Teams, or no chat app), never both. A yellow warning appears under it when the choice and the setup disagree. The same note shows on the Microsoft Teams page.

The Slack app manifest. Four steps and a button Copy manifest. This server's address is already in the manifest.

The settings:

  • Slack bot token: the Bot User OAuth Token under OAuth & Permissions, a value starting xoxb-. Without it Slack messages are logged instead of sent.
  • Slack signing secret: under Basic Information, Signing Secret. Without it the platform can message owners but cannot offer buttons, because it could not prove a click came from Slack.
  • Slack workspace ID: optional. Refuses callbacks that came from another workspace.
  • Where cyantula sends its messages: Automatic: Slack when Slack is set up, otherwise Microsoft Teams, Slack, Microsoft Teams, or None: only the bell and email. One chat app carries cyantula's own messages (personal messages and the alert channel), never both, so nobody is told twice. Email stays the fallback for anyone the chat app does not reach. Choosing an app that is not set up sends nothing to chat. Published apps that opted in to the Slack or Teams messenger can still post there whichever app is chosen.

Behind Show N rarely-used: Slack messages one app may send per day; 0 means none at all.

At the bottom: Save (Save N changes once you edit something), Discard, and Show N rarely-used.

How to connect Slack

  1. Open api.slack.com/apps, click Create New App, then From an app manifest, and pick your workspace.
  2. On this page click Copy manifest, and paste it on the JSON tab at Slack.
  3. At Slack click Create, then Install to Workspace, and approve the scopes.
  4. Copy OAuth & Permissions, Bot User OAuth Token into Slack bot token, and Basic Information, Signing Secret into Slack signing secret.
  5. Click Save.

You know it worked when both fields show stored, and the note at the top reads "cyantula sends its own messages through Slack". Each colleague then connects on their Profile, under Slack.

How to choose between Slack and Teams

  1. Set up the chat apps you want to use.
  2. Under Where cyantula sends its messages, choose Slack, Microsoft Teams, Automatic or None.
  3. Click Save and read the note at the top.

When something looks wrong

  • A yellow warning under the note at the top: the choice and the setup disagree. The warning says what. Choosing an app that is not set up sends nothing to chat.
  • Messages appear in the log instead of Slack: the bot token is missing.
  • No buttons on messages: the signing secret is missing.
  • Refused: … under a field after saving: the value was not accepted. The text says why.

Good to know

  • Only administrators can change this page.
  • Apps use this bot only when their owner opted in. The app side is on the Slack page of their app.
  • Where cyantula sends its messages only decides cyantula's own messages. Apps that opted in can still post to Slack or Teams.