agent-whatsappbot
Installation
SKILL.md
Agent WhatsAppBot
A TypeScript CLI tool that enables AI agents and humans to send messages through WhatsApp Business Cloud API. Designed for customer notifications, transactional messaging, and CI/CD integrations using Phone Number ID + Access Token authentication.
Key Concepts
Before diving in, a few things about WhatsApp Business Cloud API:
- Send-only — The Cloud API is webhook-only for inbound messages. This CLI cannot list or read received messages.
- Template messages — Outside the 24-hour customer service window, you must use pre-approved message templates. Free-form text only works within 24 hours of the customer's last message.
- Phone Number ID — Your WhatsApp Business phone number's unique identifier (not the phone number itself). Found in Meta Business Manager.
- Access Token — A permanent or temporary token from Meta Business Manager with
whatsapp_business_messagingpermission. - Meta Business Manager — All setup (phone numbers, templates, verification) happens at business.facebook.com.
- Rate limits — Tier 0-3: 80 messages per second. Tier 4: 1,000 messages per second. Tiers are based on business verification and messaging volume.