whatsapp-automation
Automates tasks in WhatsApp Business, like sending messages and managing contacts. It's useful for businesses using WhatsApp to communicate with customers.
What it does
This tool automates tasks on WhatsApp Business. You can send text messages, media (photos, documents), use pre-approved templates, and manage contacts.
When to use it
- ✓Send a text message to a customer.
- ✓Send a photo or document to someone.
- ✓Reply to a message you received.
Example of what to ask your AI
“Send a text message to +14155551234 saying 'Hello, how can I help?'”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool connects to your WhatsApp Business account and uses specific commands to send messages, media, or reply to conversations. It requires you to have a Business API account set up.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill whatsapp-automationOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/whatsapp-automation/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
WhatsApp Business Automation via Rube MCP
Automate WhatsApp Business operations through Composio's WhatsApp toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active WhatsApp connection via
RUBE_MANAGE_CONNECTIONSwith toolkitwhatsapp - Always call
RUBE_SEARCH_TOOLSfirst to get current tool schemas - WhatsApp Business API account required (not regular WhatsApp)
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitwhatsapp - If connection is not ACTIVE, follow the returned auth link to complete WhatsApp Business setup
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. Send a Text Message
When to use: User wants to send a text message to a WhatsApp contact
Tool sequence:
WHATSAPP_GET_PHONE_NUMBERS- List available business phone numbers [Prerequisite]WHATSAPP_SEND_MESSAGE- Send a text message [Required]
Key parameters:
to: Recipient phone number in international format (e.g., '+14155551234')body: Message text contentphone_number_id: Business phone number ID to send from
Pitfalls:
- Phone numbers must be in international E.164 format with country code
- Messages outside the 24-hour window require approved templates
- The 24-hour window starts when the customer last messaged you
- Business-initiated conversations require template messages first
2. Send Template Messages
When to use: User wants to send pre-approved template messages for outbound communication
Tool sequence:
WHATSAPP_GET_MESSAGE_TEMPLATES- List available templates [Prerequisite]WHATSAPP_GET_TEMPLATE_STATUS- Check template approval status [Optional]WHATSAPP_SEND_TEMPLATE_MESSAGE- Send the template message [Required]
Key parameters:
template_name: Name of the approved templatelanguage_code: Template language (e.g., 'en_US')to: Recipient phone numbercomponents: Template variable values and parameters
Pitfalls:
- Templates must be approved by Meta before use
- Template variables must match the expected count and format
- Sending unapproved or rejected templates returns errors
- Language code must match an approved translation of the template
3. Send Media Messages
When to use: User wants to send images, documents, or other media
Tool sequence:
WHATSAPP_UPLOAD_MEDIA- Upload media to WhatsApp servers [Required]WHATSAPP_SEND_MEDIA_BY_ID- Send media using the uploaded media ID [Required] ORWHATSAPP_SEND_MEDIA- Send media using a public URL [Alternative]
Key parameters:
media_url: Public URL of the media (for SEND_MEDIA)media_id: ID from upload response (for SEND_MEDIA_BY_ID)type: Media type ('image', 'document', 'audio', 'video', 'sticker')caption: Optional caption for the media
Pitfalls:
- Uploaded media IDs are temporary and expire after a period
- Media size limits vary by type (images: 5MB, videos: 16MB, documents: 100MB)
- Supported formats: images (JPEG, PNG), videos (MP4, 3GPP), documents (PDF, etc.)
- SEND_MEDIA requires a publicly accessible HTTPS URL
4. Reply to Messages
When to use: User wants to reply to an incoming WhatsApp message
Tool sequence:
WHATSAPP_SEND_REPLY- Send a reply to a specific message [Required]
Key parameters:
message_id: ID of the message being replied toto: Recipient phone numberbody: Reply text content
Pitfalls:
- message_id must be from a message received within the 24-hour window
- Replies appear as quoted messages in the conversation
- The original message must still exist (not deleted) for the quote to display
5. Manage Business Profile and Templates
When to use: User wants to view or manage their WhatsApp Business profile
Tool sequence:
WHATSAPP_GET_BUSINESS_PROFILE- Get business profile details [Optional]WHATSAPP_GET_PHONE_NUMBERS- List registered phone numbers [Optional]WHATSAPP_GET_PHONE_NUMBER- Get details for a specific number [Optional]WHATSAPP_CREATE_MESSAGE_TEMPLATE- Create a new template [Optional]WHATSAPP_GET_MESSAGE_TEMPLATES- List all templates [Optional]
Key parameters:
…
FAQ
Do I need a regular WhatsApp number?
No, you need a WhatsApp Business API account, which is different from the regular WhatsApp app.
Can I send any file type?
You can send images, documents, audio, videos, and stickers, respecting the size limits for each type.
What is the 24-hour window?
It's a period during which you can send messages freely after a customer has messaged you. After this period, you can only send messages using pre-approved templates.
Details
Original description by the author
Automate WhatsApp Business tasks via Rube MCP (Composio): send messages, manage templates, upload media, and handle contacts. Always search tools first for current schemas.
Popularity
- GitHub stars
- 48k
- Ranking position
- #4558
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
benchmark
Helps your agent measure code speed and performance. It's useful for ensuring things are fast and finding slowness issues.
affaan-m/ECC
content-hash-cache-pattern
Lets your agent use content hashes to cache file processing results. This avoids repeated processing and auto-invalidates the cache when content changes. Useful for speeding up slow tasks.
affaan-m/ECC
parallel-execution-optimizer
Makes your agent speed up complex tasks by breaking them into smaller parts and running them in parallel. It ensures everything is verified at the end.
affaan-m/ECC