-
-
Notifications
You must be signed in to change notification settings - Fork 52
Messaging Integration
Connect your agents to messaging platforms so users can chat with them directly, and scheduled runs post results automatically.
| Platform | Status |
|---|---|
| Slack | Supported |
| Discord | Supported |
| Telegram | Supported |
| Microsoft Teams | Supported |
| Supported |
- Open Settings → Messaging
- Select a platform tab
- Follow the platform-specific instructions below
- Assign the messaging channel to an agent
Requirements: A Slack App with bot permissions.
Setup steps:
- Go to api.slack.com/apps and create a new app
- Add the following bot token scopes:
-
chat:write— send messages -
channels:history— read messages in channels -
app_mentions:read— respond to @mentions
-
- Install the app to your workspace
- Copy the Bot User OAuth Token (
xoxb-...) - In Synapse: Settings → Messaging → Slack
- Paste the Bot Token
- Enter the channel name (e.g.,
#ai-agent) - Select the agent to bind
- Invite the bot to your Slack channel:
/invite @YourBotName
Requirements: A Discord Application with bot token.
Setup steps:
- Go to discord.com/developers and create an application
- Add a Bot and copy the Bot Token
- Enable Message Content Intent under Privileged Gateway Intents
- Invite the bot to your server with permissions:
Send Messages,Read Message History - In Synapse: Settings → Messaging → Discord
- Paste the Bot Token
- Enter the Channel ID
- Select the agent to bind
Requirements: A Telegram bot created via BotFather.
Setup steps:
- Message @BotFather on Telegram:
/newbot - Follow the prompts to create your bot
- Copy the Bot Token (format:
123456789:ABCdef...) - In Synapse: Settings → Messaging → Telegram
- Paste the Bot Token
- Select the agent to bind
- Start a chat with your bot and send any message to initialize
Requirements: Microsoft 365 organization and admin access to register an app.
Setup steps:
- Register an application in Azure Active Directory
- Configure webhook or bot framework integration
- In Synapse: Settings → Messaging → Teams
- Enter the webhook URL or bot credentials
- Select the agent to bind
Requirements: WhatsApp Business API access.
Setup steps:
- Set up WhatsApp Business API (via Meta or a provider like Twilio)
- Configure the webhook to point to your Synapse backend
- In Synapse: Settings → Messaging → WhatsApp
- Enter API credentials
- Select the agent to bind
Enable Multi-Agent Mode in any messaging channel to let users switch agents mid-conversation.
Commands available in multi-agent channels:
| Command | Description |
|---|---|
/agent <name> |
Switch to a specific agent |
/agents |
List all available agents |
The channel's bound agent is the default. Users can switch on demand.
When you create a schedule for an agent that has a messaging channel configured, results are automatically posted to that channel after each scheduled run.
Example: Schedule a daily standup agent to run at 8 AM. Results post to #standup on Slack automatically.
See Scheduling for details.
- Agents — creating and configuring agents
- Scheduling — setting up automated runs with messaging notifications