Skip to main content

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.

Connect your Idun agent to WhatsApp so users can interact with it through messages.

Prerequisites

Setup

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.
FieldValue
access_tokenMeta Graph API permanent access token
phone_number_idWhatsApp Business phone number ID
verify_tokenWebhook verification token (must match what you set in the Meta App Dashboard)
3

Save

Save the form. The reload pipeline registers the WhatsApp webhook handler on the running engine.

How it works

  1. User sends a message to the WhatsApp Business number
  2. Meta POSTs the webhook payload to your engine
  3. Engine verifies the payload structure
  4. Engine invokes the agent with the message text
  5. Engine sends the agent’s reply back via the Meta Graph API
Session tracking: The sender’s phone number is used as the session ID, so conversation context is maintained per user. Webhook verification: On setup, Meta sends a GET request with a challenge token. The engine verifies it against your 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.
Last modified on May 20, 2026