Connect your Idun agent to WhatsApp so users can interact with it through messages.Documentation Index
Fetch the complete documentation index at: https://docs.idun-group.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- A running Idun agent (engine)
- A Meta Business account
- A WhatsApp Business API app set up in the Meta Developer Portal
- Your engine must be publicly reachable (use ngrok for local development)
Setup
- Admin UI
- Config file
Open the integrations admin page
Navigate to
/admin/integrations/ in the running standalone. The channel catalog shows WhatsApp, Discord, Google Chat, Slack, and Microsoft Teams as active channels.Create the WhatsApp integration
Click WhatsApp and fill in the access token, phone number ID, and verify token.
| Field | Value |
|---|---|
access_token | Meta Graph API permanent access token |
phone_number_id | WhatsApp Business phone number ID |
verify_token | Webhook verification token (must match what you set in the Meta App Dashboard) |
How it works
- User sends a message to the WhatsApp Business number
- Meta POSTs the webhook payload to your engine
- Engine verifies the payload structure
- Engine invokes the agent with the message text
- Engine sends the agent’s reply back via the Meta Graph API
verify_token and responds automatically.
Next steps
Slack
Connect your agent to Slack DMs and channels.
Discord
Reach the same agent through Discord slash commands.
Production hardening
Secure the engine before exposing webhooks to the public internet.