whatsapp-send

v2026.09.24

Baileys WhatsApp message sending

GitHub
安装命令
npx skhub add aaaaqwq/whatsapp-send
Markdown
SKILL.md

WhatsApp Send

Sending messages via WhatsApp Web (Baileys)

When to use

  • "send via whatsapp"
  • "write through whatsapp"
  • When preferred_channel = WhatsApp in data

Dependencies

  • Node.js, @whiskeysockets/baileys
  • Active WhatsApp Web session

Paths

WhatPath
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

  1. Connects via Baileys
  2. Checks if the number is on WhatsApp (onWhatsApp)
  3. If yes -- sends a personalized message
  4. 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

ProblemSolution
Connection closedRestart, rescan QR
Logged outDelete session, create a new one
Number not on WhatsAppTry another channel (Telegram/Email)
Ban/RestrictReduce frequency, change number

Related skills

  • telegram-send -- alternative channel
  • email-send-direct -- single email
  • email-send-bulk -- mass email sending
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

skills/whatsapp-send

默认分支

main

最新提交

b996aac

Tree SHA

07e787b