Embed a WhatsApp integration in your product
Add WhatsApp to your product for your customers, and give your AI agents governed access to it.
A WhatsApp integration is governed by two rules that decide whether your feature is possible at all. First, you cannot message somebody freely. Outside a 24-hour window that opens when the user last wrote to you, only a template Meta has already reviewed and approved may be sent, and approval takes real time and can be refused. Second, everything is addressed by phone number id on a business account, rather than by anything resembling a channel or a thread. Inside the window you can reply with ordinary messages, and receipts tell you what was sent, delivered and read. fastn stores each business account's credentials and monitors the platform's versioned API, proposing a fix when it changes.
In your product
Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.
- Have each customer connect their own business account and phone number id, so messages come from their brand.
- Send an approved template for the notifications your product owes people, and get the template written before you need it.
- Detect when a user's reply opens the 24-hour window, and allow free-form replies only while it is open.
- Follow the sent, delivered and read receipts so your product knows a notification actually landed.
For your AI agents
Governed, audited access for the agents you build, through the MCP server.
- An agent drafts a reply while the service window is open, and falls back to a template once it closes.
- An agent reports which approved templates exist before anyone promises a customer a new message type.
- An agent reads the receipts for one number and says whether the last notification was read.
Example prompt
Is this customer's 24-hour window still open, and which approved template do we use if it is not?
Set up WhatsApp in 4 steps
- 01Enable the WhatsApp connector from your fastn dashboard.
- 02Have each customer authorize their own WhatsApp account, so calls run under their credentials rather than a shared key.
- 03Decide which message templates, phone number ids and delivery receipts your product needs, and get your templates approved first, since free-form replies are only allowed inside the 24-hour window.
- 04Call it from your product and expose it to your agents through the same governed connection.
Why teams use the WhatsApp integration
- Ship a WhatsApp integration without building it. Your customers connect their own WhatsApp account inside your product and work their messages, conversations and participants there, and nothing lands on your team.
- Handle the part that actually costs time: anything sent is user-visible, so duplicates and misfires are immediately embarrassing. fastn handles the auth, token refresh, rate limits and pagination, and when WhatsApp changes, its maintainer agent proposes a tested fix, so a WhatsApp update does not start in your backlog.
Used by these teams
Often used alongside
Tools the same teams tend to run next to WhatsApp, across other categories.
More in Communication
Other Communication apps your customers can connect the same way. All Communication integrations
WhatsApp integration FAQ
Can AI agents use this WhatsApp integration?
Yes, through the fastn MCP gateway, scoped per customer and audited. An agent drafts a reply while the service window is open, and falls back to a template once it closes. For example: "Is this customer's 24-hour window still open, and which approved template do we use if it is not?"
Does each customer connect their own WhatsApp account?
Yes. Every customer authorises their own WhatsApp account, so messages, meetings and notifications originate from their workspace under their permissions. You never proxy through a shared account, which also means a customer revoking access affects only their own connection.
How are duplicate notifications avoided?
Sends are deduplicated per event, so a retry after a network failure does not post the same message twice into a channel people are reading.
What can I build with the WhatsApp integration?
A common starting point: have each customer connect their own business account and phone number id, so messages come from their brand. The use cases above list the rest.
Add WhatsApp to your product
Start free with 3 customer connections. No sales call required, and no per-customer integration code.