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

Prerequisites

Setup

1

Open the integrations catalog

Navigate to Integrations. The channel catalog shows WhatsApp, Discord, and Slack as active channels.Integrations catalog
2

Create the WhatsApp integration

Click + on 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

Assign to an agent

After saving, open the agent you want to connect and select the WhatsApp integration from the Integrations field.

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.
Last modified on March 22, 2026