Multi-Channel Integrations

Connect SWAYAM to WhatsApp, Telegram, and Slack

Back to Admin
Configure your webhook URLs in each platform's developer console. The webhook URL format is: https://swayam.digimitra.guru/webhook/{channel}

WhatsApp

Business API Integration

Disabled
Configure this URL in your Twilio/Meta console

Telegram

Bot Integration

Disabled
Get from @BotFather on Telegram

Slack

Workspace App

Disabled
OAuth Bot Token from Slack App

Setup Documentation

WhatsApp Setup (Twilio)

1. Create a Twilio account at twilio.com
2. Enable WhatsApp Sandbox or Business API
3. Set webhook URL to: https://swayam.digimitra.guru/webhook/whatsapp/twilio
4. Configure environment variables:
   TWILIO_ACCOUNT_SID=your_account_sid
   TWILIO_AUTH_TOKEN=your_auth_token
   TWILIO_WHATSAPP_NUMBER=+14155238886

Telegram Bot Setup

1. Message @BotFather on Telegram
2. Create new bot with /newbot
3. Copy the bot token
4. Set webhook:
   curl -X POST "https://api.telegram.org/bot{TOKEN}/setWebhook?url=https://swayam.digimitra.guru/webhook/telegram"
5. Configure:
   TELEGRAM_BOT_TOKEN=your_bot_token

Slack App Setup

1. Create app at api.slack.com/apps
2. Enable Event Subscriptions with URL:
   https://swayam.digimitra.guru/webhook/slack/events
3. Subscribe to: message.channels, app_mention
4. Add OAuth scopes: chat:write, app_mentions:read
5. Install to workspace
6. Configure:
   SLACK_BOT_TOKEN=xoxb-...
   SLACK_SIGNING_SECRET=...