Documentation

Channels

Connect your bot to Slack, Discord, WhatsApp, and more.


Channels are the messaging platforms where your bot interacts with users. BotPhi handles the integration layer — webhook management, message formatting, and authentication — so you don't have to.

Supported Channels

  • Slack — Works as a Slack Bot with full thread support
  • Discord — Runs as a Discord bot with slash command support
  • WhatsApp — Via the WhatsApp Business API
  • Web Widget — Embeddable chat widget for any website
  • API — Direct HTTP API for custom integrations

Connecting a Channel

Each channel has a guided setup flow in the dashboard. For most channels, it's a simple OAuth authorization.

# Connect via CLI
botphi channels add slack --bot my-first-bot

# List connected channels
botphi channels list --bot my-first-bot

Web Widget

The web widget is a drop-in chat component you can add to any website. Just paste the script tag and customize the appearance.

index.html
<script
  src="https://widget.botphi.app/v1/embed.js"
  data-bot-id="your-bot-id"
  data-theme="dark"
  data-position="bottom-right"
></script>

The web widget supports custom CSS theming. Pass a data-css-url attribute to load your own stylesheet.