Whatsapp Send
Baileys WhatsApp message sending
by aaaaqwq · MIT
The skill
Baileys WhatsApp message sending
WhatsApp Send
Sending messages via WhatsApp Web (Baileys)
When to use
- "send via whatsapp"
- "write through whatsapp"
- When
preferred_channel = WhatsAppin data
Dependencies
- Node.js, @whiskeysockets/baileys
- Active WhatsApp Web session
Paths
| What | Path |
|---|---|
| Script | $SALES_PATH/whatsapp/send_whatsapp.js |
| Session | $SALES_PATH/whatsapp/baileys_session/ |
| Check chats | $SALES_PATH/whatsapp/check_chats.js |
How to run
cd $SALES_PATH/whatsapp
node send_whatsapp.js
Recipient configuration
Recipients are hardcoded in the script (RECIPIENTS array):
const RECIPIENTS = [
{ phone: '380XXXXXXXXX', name: 'Bob', row: 3 },
{ phone: '380YYYYYYYYY', name: 'Carol', row: 4 },
// ...
];
To change -- edit the array in the script.
Message template
const MESSAGE_TEMPLATE = (name) => `Hello, ${name}! This is Ivan from WeLabelData.
...
`;
How it works
- Connects via Baileys
- Checks if the number is on WhatsApp (
onWhatsApp) - If yes -- sends a personalized message
- 60 sec delay between messages
Check chats
node check_chats.js
Shows recent chats, but NOT the full history.
Limitations (IMPORTANT!)
- Baileys does NOT sync message history
- New incoming messages are visible only in real time
- To check replies -- look at WhatsApp on the phone
- Active session required (QR code on first launch)
- WhatsApp may ban for aggressive sending
Creating a new session
If the session is stale:
cd $SALES_PATH/whatsapp
rm -rf baileys_session
node index.js # will show QR code
# Scan QR from the phone
Troubleshooting
| Problem | Solution |
|---|---|
| Connection closed | Restart, rescan QR |
| Logged out | Delete session, create a new one |
| Number not on WhatsApp | Try another channel (Telegram/Email) |
| Ban/Restrict | Reduce frequency, change number |
Related skills
telegram-send-- alternative channelemail-send-direct-- single emailemail-send-bulk-- mass email sending
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: aaaaqwq/whatsapp-send-12219244100.
Details
- Publisher
- aaaaqwq
- Category
- Business › Sales & CRM
- License
- MIT
- Updated
- 2026-10-14
References
More from aaaaqwq
- Agi Super Team Orchestrator 跨职能、公司级、高不确定性或用户明确要求 AGI Super Team、C-suite、团队协作、并行专家、独立复核时使用。先按职责选择最小团队,再用 Claude Code Agent 工具精…
- Agi Super Team Sync Preview, install, or update AGI Super Team in Codex.
- C Suite Team Run an outcome-oriented C-suite team in Codex with the parent acting as CEO, bounded specialist l…
- Context Engineering Optimizes agent context setup.