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
1
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.2
Create the WhatsApp integration
Click WhatsApp and fill in the access token, phone number ID, and verify token.
3
Save
Save the form. The reload pipeline registers the WhatsApp webhook handler on the running engine.
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.