Overview
WhatsApp integration lets you connect a WhatsApp Business number to your AI agents, bringing WhatsApp conversations into your unified inbox alongside calls, texts, and chat. Your agents can respond to incoming messages automatically, and you can reply manually from the inbox.How It Works
- Connect via Meta — use the one-click Embedded Signup flow in the agent’s Deploy tab
- Messages arrive in your inbox automatically
- Agent responds — your AI agent handles incoming WhatsApp messages within Meta’s 24-hour messaging window
- Reply manually — take over any conversation from the inbox at any time
Connecting a WhatsApp Number
Authorize Access
Log in with your Facebook account and select your WhatsApp Business Account. Follow the prompts to grant Magpipe access.
You need a WhatsApp Business Account and an approved WhatsApp Business number to connect. If you don’t have one, the Embedded Signup flow will guide you through creating one.
Manual Entry
If you already have a WhatsApp Business access token and phone number ID from the Meta developer console, you can connect manually:- Click Enter credentials manually in the WhatsApp section
- Enter your Phone Number ID and Access Token
- Click Connect
The 24-Hour Messaging Window
WhatsApp enforces a 24-hour messaging window: you can only send free-form messages to a user within 24 hours of their last message to you. After 24 hours, you must use a pre-approved Message Template.| Time since last inbound | What you can send |
|---|---|
| < 24 hours | Any message |
| > 24 hours | Approved templates only |
WhatsApp in the Inbox
WhatsApp conversations appear in the inbox alongside your other channels. Filter to WhatsApp only using the type filter. Each conversation shows:- Contact name and WhatsApp number
- Message preview
- Timestamp
- Read/delivered status
Sending a Message
From any WhatsApp thread, type your reply and press Send. When you send manually, the AI is automatically paused for 5 minutes so you can handle the conversation without interference.AI Agent Behavior
Your agent handles WhatsApp messages the same way it handles SMS:- Responds using its configured persona and knowledge base
- Applies custom functions and dynamic variables
- Extracts data from conversations (if configured)
- Sends Slack/email notifications on new messages (if configured)
Disconnecting
To remove a WhatsApp number from an agent:- Go to Agents → select agent → Deploy tab
- In the WhatsApp section, click Disconnect
- Confirm the removal
Token Refresh
WhatsApp Business access tokens expire approximately every 60 days. Magpipe automatically refreshes tokens monthly to maintain uninterrupted service. No action is required.Inbox
View all conversations including WhatsApp
Messages API
Send WhatsApp messages via API