Agent skill

whatsapp

Send WhatsApp messages and manage contacts via the WhatsApp Business Cloud API.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/whatsapp

Metadata

Additional technical details for this skill

thinkfleetbot
{
    "emoji": "\ud83d\udcac",
    "requires": {
        "env": [
            "WHATSAPP_ACCESS_TOKEN",
            "WHATSAPP_PHONE_ID"
        ],
        "bins": [
            "curl",
            "jq"
        ]
    }
}

SKILL.md

WhatsApp Business

Send messages and manage contacts via the WhatsApp Business Cloud API.

Environment Variables

  • WHATSAPP_ACCESS_TOKEN - Access token
  • WHATSAPP_PHONE_ID - Phone number ID

Send text message

bash
curl -s -X POST -H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  "https://graph.facebook.com/v19.0/$WHATSAPP_PHONE_ID/messages" \
  -d '{"messaging_product":"whatsapp","to":"15551234567","type":"text","text":{"body":"Hello from ThinkFleetBot!"}}' | jq '{messages}'

Send template message

bash
curl -s -X POST -H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  "https://graph.facebook.com/v19.0/$WHATSAPP_PHONE_ID/messages" \
  -d '{"messaging_product":"whatsapp","to":"15551234567","type":"template","template":{"name":"hello_world","language":{"code":"en_US"}}}' | jq '{messages}'

Notes

  • Phone numbers without + prefix.
  • Always confirm before sending messages.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results