Send WhatsApp messages, manage templates, handle media, and automate WhatsApp Business messaging workflows via the WhatsApp Business API.
This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure WhatsApp API access yourself.
Step 1: InstallStep 2: Pair AccountStep 3: Connect WhatsApp
_App-specific connection GIF coming soon_Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect WhatsApp
text
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ OpenClaw │────▶│ ClawLink │────▶│ WhatsApp Cloud │
│ (User Chat) │ │ (OAuth) │ │ API │
└─────────────────┘ └──────────────┘ └──────────────────┘
│ │ │
│ 1. Install Plugin │ │
│ 2. Pair Device │ │
│ 3. Connect WhatsApp │ │
│ │ 4. Secure Token │
│ │ 5. Proxy Requests │
│ │ │
▼ ▼ ▼
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SKILL │ │ Dashboard│ │ WhatsApp│
│ File │ │ Auth │ │ Business │
└──────────┘ └──────────┘ └──────────┘
Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.
bash
openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for WhatsApp again."
bash
# List phone numbers
clawlink_call_tool --tool "whatsapp_get_phone_numbers" --params '{}'
# Send a text message
clawlink_call_tool --tool "whatsapp_send_message" --params '{"phone_number": "+15551234567", "message": "Hello from OpenClaw!"}'
# List message templates
clawlink_call_tool --tool "whatsapp_get_message_templates" --params '{}'
All WhatsApp tool calls are authenticated automatically by ClawLink using the user's connected WhatsApp Business account token.
No API token is required in chat. ClawLink stores the token securely and injects it into every WhatsApp Business API request on the user's behalf.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.bash
clawlink_list_integrations
Response: Returns all connected integrations. Look for whatsapp in the list.
bash
clawlink_list_tools --integration whatsapp
Response: Returns the live tool catalog for WhatsApp.
If WhatsApp tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration whatsappToolDescriptionModewhatsapp_get_phone_numbersList all phone numbers on the WhatsApp Business accountReadwhatsapp_get_phone_numberGet details for a specific phone numberRead
ToolDescriptionModewhatsapp_send_messageSend a text message to a WhatsApp numberWritewhatsapp_send_mediaSend an image, video, audio, or documentWritewhatsapp_send_media_by_idSend media using a previously uploaded media IDWritewhatsapp_send_locationSend a location message with coordinatesWritewhatsapp_send_contactsSend contact card(s) to a WhatsApp userWritewhatsapp_send_interactive_buttonsSend a message with up to 3 reply buttonsWritewhatsapp_send_interactive_listSend a list message with up to 10 optionsWritewhatsapp_send_template_messageSend an approved message templateWrite
ToolDescriptionModewhatsapp_upload_mediaUpload media (image, video, audio, document) to WhatsApp serversWritewhatsapp_get_media_infoGet metadata and download URL for uploaded mediaRead
ToolDescriptionModewhatsapp_get_message_templatesList all message templatesReadwhatsapp_get_template_statusGet approval status of a specific templateReadwhatsapp_create_message_templateCreate a new message templateWritewhatsapp_delete_message_templateDelete a message templateWrite
ToolDescriptionModewhatsapp_get_business_profileGet the business profile informationRead
bash
clawlink_call_tool --tool "whatsapp_get_phone_numbers" \
--params '{}'
bash
clawlink_call_tool --tool "whatsapp_send_message" \
--params '{
"phone_number_id": "PHONE_NUMBER_ID",
"recipient_phone": "+15551234567",
"message": "Hi! Your order #12345 has shipped and is on its way."
}'
bash
clawlink_call_tool --tool "whatsapp_send_media" \
--params '{
"phone_number_id": "PHONE_NUMBER_ID",
"recipient_phone": "+15551234567",
"media_url": "https://example.com/receipt.png",
"caption": "Here is your receipt for order #12345"
}'
bash
clawlink_call_tool --tool "whatsapp_send_interactive_buttons" \
--params '{
"phone_number_id": "PHONE_NUMBER_ID",
"recipient_phone": "+15551234567",
"header": "Order Update",
"body": "Has your package arrived?",
"buttons": [
{"id": "yes", "title": "Yes"},
{"id": "no", "title": "No"}
]
}'
bash
clawlink_call_tool --tool "whatsapp_send_template_message" \
--params '{
"phone_number_id": "PHONE_NUMBER_ID",
"recipient_phone": "+15551234567",
"template_name": "shipping_confirmation",
"language_code": "en",
"components": [
{
"type": "body",
"parameters": [
{"type": "text", "text": "John"},
{"type": "text", "text": "#12345"}
]
}
]
}'
bash
clawlink_call_tool --tool "whatsapp_upload_media" \
--params '{
"phone_number_id": "PHONE_NUMBER_ID",
"media_url": "https://example.com/image.png",
"media_type": "image/png"
}'
clawlink_list_integrations to confirm WhatsApp is connected.clawlink_list_tools --integration whatsapp to see the live catalog.clawlink_search_tools with a short query and integration whatsapp.text
┌─────────────────────────────────────────────────────────────┐
│ READ OPERATIONS (Safe) │
│ list → get → describe │
│ │
│ Example: List templates → Get template status → Report │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ WRITE OPERATIONS (Require Confirmation) │
│ describe → preview → confirm → call │
│ │
│ Example: Preview message → User approves → Send message │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.phone_number_id from whatsapp_get_phone_numbers to send messages.whatsapp_get_media_info to get a fresh download URL.+1 for US).Status / ErrorMeaningTool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration whatsapp.Missing connectionWhatsApp is not connected. Direct the user to https://claw-link.dev/dashboard?add=whatsapp.131026 — Message undeliverableThe recipient's phone number is not a valid WhatsApp account.133010 — Phone number not on WhatsAppThe recipient has not registered on WhatsApp.131047 — Outside 24-hour windowMust use a template message. Send a template instead.Template not foundThe template name does not exist or hasn't been approved.Template rejectedThe template is pending review or was rejected by WhatsApp.Media upload failedThe media URL is inaccessible or the format is unsupported.Write rejectedUser did not confirm a write action. Always confirm before executing writes.
Check that the ClawLink plugin is installed: bash
openclaw plugins list
If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
If a fresh chat does not help, run: bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
After restart, tell the user to send /new again and retry.
Powered by ClawLink — an integration hub for OpenClaw
