Set up WhatsApp Business in Metorial for AI agents
Share WhatsApp Business with your team in Claude, ChatGPT and Cursor through Metorial: access token sign-in, 15 tools (5 read-only).
To give your team WhatsApp Business in Claude, ChatGPT, Cursor and other AI clients, an admin shares the WhatsApp Business integration in a Metorial portal, and each person connects with an access token. Agents can send and receive WhatsApp messages at scale, including text, images, audio, video, documents, locations, contacts, and interactive elements (buttons, lists). The integration has 15 tools, 5 read-only, 8 write and 2 destructive, plus 2 triggers.
What you'll learn
- How an admin shares WhatsApp Business in a portal and how each person connects
- What WhatsApp Business asks for when you connect, and where to find it
- How to keep the 5 read-only tools and reject the other 10
Before you start
- A portal with at least one access group
- An access token from WhatsApp Business for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| Access Token | API token | token |
Access Token
To connect, a person enters:
token: Permanent access token generated from a System User in Meta Business Manager, or a temporary token from the Meta App Dashboard
Setup settings
Setup also asks for:
phoneNumberId: The Phone Number ID from Meta App Dashboard under WhatsApp > API SetupwabaId: The WhatsApp Business Account ID from Meta App DashboardapiVersion(optional): Graph API version to use (e.g. v21.0)
Admin: share WhatsApp Business in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose WhatsApp Business. For how members connect, choose Each person connects so everyone enters their own access token, or Shared connection to enter one access token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from WhatsApp Business.
Choose who gets it
Add the access groups that should see WhatsApp Business. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user WhatsApp Business integration. Once it exists, check which groups have it:
Employee: connect WhatsApp Business
In the portal
Open WhatsApp Business in the catalog
Sign in to your portal and open WhatsApp Business. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your access token (token).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID.
Add it to your AI client
metorial install adds your WhatsApp Business connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 5 read-only tools, such as get_media_url and list_templates, and lose the 8 write tools, such as send_message or create_template, and the 2 destructive tools, such as delete_media or delete_template.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 15 tools, minus any you rejected. list_phone_numbers takes no input. It lists all phone numbers associated with your WhatsApp Business Account, including their verified names, display numbers, quality ratings, and verification status.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (5)
list_templates: List message templates in your WhatsApp Business Account.get_business_profile: Retrieve the WhatsApp Business profile information for your phone number, including description, address, email, websites, industry vertical, and profile picture.get_phone_number: Get details of a specific phone number registered with your WhatsApp Business Account. NeedsphoneNumberId.list_phone_numbers: List all phone numbers associated with your WhatsApp Business Account, including their verified names, display numbers, quality ratings, and verification status.get_media_url: Retrieve a WhatsApp media file by its media ID and provide it as a downloadable file, along with its MIME type, size, and SHA256 hash. NeedsmediaId.
Write tools (8)
send_template_message: Send a pre-approved WhatsApp message template to a recipient. Needsto,templateNameandlanguageCode.create_template: Create a new WhatsApp message template. Needsname,language,categoryandcomponents.send_message: Send a WhatsApp message to a recipient. Needstoandtype.register_phone_number: Register a phone number for use with the WhatsApp Business Platform. NeedsphoneNumberIdandpin.update_business_profile: Update the WhatsApp Business profile for your phone number.send_interactive_message: Send an interactive WhatsApp message with **reply buttons**, a **list menu**, or a **call-to-action URL button**. Needsto,interactiveTypeandbody.mark_message_read: Mark an incoming WhatsApp message as read. NeedsmessageId.update_template: Edit an existing WhatsApp message template by its template ID, for example to fix a rejected template and resubmit it for review.
Destructive tools (2)
delete_template: Delete a WhatsApp message template by name. NeedstemplateName.delete_media: Delete a media file from WhatsApp servers by its media ID. NeedsmediaId.
Triggers
WhatsApp Business has 2 triggers, which fire on events in WhatsApp Business:
message_status: Triggers when the delivery status of a sent message changes.message_received: Triggers when an incoming WhatsApp message is received.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use WhatsApp Business there
- Tool permissions: tool filters and what employees see
- WhatsApp Business on metorial.com: the integration overview