Slack and Teams give your flow a presence inside the tools your team and customers already use. The flow handles DMs, mentions, or activity in specific channels — whatever you configure.Documentation Index
Fetch the complete documentation index at: https://docs.cogniagent.ai/llms.txt
Use this file to discover all available pages before exploring further.
When to use messaging channels
- Internal IT or HR helpdesks where employees ask in Slack/Teams.
- Customer support communities where you already host a shared Slack workspace.
- Team-side notifications: the flow sends summaries / handoffs into a Slack channel.
Before you start
You need an integration connection to Slack or Teams. Set this up in Integrations → pick the app → authorise. Slack has three connection variants:| Variant | What it gives you |
|---|---|
| Slack bot | A bot user that joins channels you invite it to. |
| Slack (OAuth app) | Full OAuth flow with user-installed permissions. |
| Slackbot built-in | A simpler built-in bot for quick setups. |
Adding a Slack channel
Set the scope
| Scope | Behaviour |
|---|---|
| DM | The bot handles direct messages sent to it. |
| Channel mentions | The bot handles messages that @mention it in any channel it’s invited to. |
| All channel activity | The bot handles every message in invited channels (high traffic). |
Adding a Teams chat
How conversations are scoped
- Each user × bot scope is a separate conversation. Sarah DMing the bot in Slack is one conversation; Sarah DMing the bot in Teams is a different conversation.
- In channel mode, each thread is its own conversation. The bot replies in-thread.
- A user who pings the bot a week later in the same thread continues the same conversation (subject to session timeouts).
Outbound messaging (Initiator mode)
In Initiator mode, Start Conversation lets you send a proactive message to a specific user or channel:- Slack: pick a user (DM) or a channel.
- Teams: pick a user or chat.
Rich content
Both channels support a subset of rich formatting:| Element | Slack | Teams |
|---|---|---|
| Plain text | ✓ | ✓ |
| Bold / italic | ✓ (Slack mrkdwn) | ✓ (markdown subset) |
| Links | ✓ | ✓ |
| Bullet lists | ✓ | ✓ |
| Code blocks | ✓ | ✓ |
| Attachments / images | links only in v1 | links only in v1 |
Anti-patterns
Related: Telegram
Telegram is another messaging surface but with a different shape — it uses a bot you create in @BotFather instead of a workspace OAuth, and bots can only respond (no cold outreach). It has its own page: Telegram channel →Next
Telegram
Bot-driven messaging via @BotFather.
Phone
Voice calls via Twilio + LiveKit SIP.
Deploy a flow
Schedule the listener.
