skills$openclaw/whatsapp-automation
vincent-labarthe4.2kβ˜…

by vincent-labarthe

whatsapp-automation – OpenClaw Skill

whatsapp-automation is an OpenClaw Skills integration for coding workflows. WhatsApp automation with intelligent Telegram alerts. Detects appointments, important messages, and suggests calendar additions. OpenClaw cron jobs + Claude analysis.

4.2k stars2.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namewhatsapp-automation
descriptionWhatsApp automation with intelligent Telegram alerts. Detects appointments, important messages, and suggests calendar additions. OpenClaw cron jobs + Claude analysis. OpenClaw Skills integration.
ownervincent-labarthe
repositoryvincent-labarthe/whatsapp-automation
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @vincent-labarthe/whatsapp-automation
last updatedFeb 7, 2026

Maintainer

vincent-labarthe

vincent-labarthe

Maintains whatsapp-automation in the OpenClaw Skills directory.

View GitHub profile
File Explorer
24 files
.
references
ADVANCED.md
6.4 KB
API.md
1.6 KB
CRON-JOBS.md
1.9 KB
SETUP.md
2.3 KB
TROUBLESHOOTING.md
2.8 KB
WAHA-CONFIGURATION.md
2.5 KB
scripts
appointment-detector.sh
1.5 KB
detect-appointments.sh
1.3 KB
detect-appt.sh
1.3 KB
detect-important.sh
1.3 KB
detect-jose.sh
181 B
detect-josephine.sh
1.1 KB
detect-urgent.sh
1.1 KB
send-alert.sh
908 B
setup.sh
2.8 KB
whatsapp-message-store.js
3.8 KB
whatsapp-query.js
3.9 KB
_meta.json
483 B
DEPRECATED.md
717 B
LICENSE.md
1.5 KB
setup.sh
9.3 KB
SKILL.md
6.1 KB
SKILL.md

name: whatsapp-automation description: "WhatsApp automation with intelligent Telegram alerts. Detects appointments, important messages, and suggests calendar additions. OpenClaw cron jobs + Claude analysis."

⚠️ DEPRECATED - Use the new version instead!

This skill has been replaced by a newer, improved version:

πŸ”— New Skill (Recommended): https://www.clawhub.ai/Vincent-Labarthe/whatsapp-telegram-calendar-alert

Improvements in the new version:

  • βœ… Better appointment detection
  • βœ… Calendar integration with confirmation
  • βœ… Cleaner setup process
  • βœ… Better documentation
  • βœ… Zero duplicates guarantee

Use the new skill instead. This version is archived for reference only.


πŸ“± WhatsApp Automation Skill

Automatically capture WhatsApp messages and get intelligent Telegram notifications with Claude analysis.


Prerequisites

Before setup, make sure you have:

  • βœ… OpenClaw installed (with cron + message tools)
  • βœ… An AI agent configured (Claude, Gemini, Anthropic, etc.)
  • βœ… Telegram bot configured in your OpenClaw config (for alerts)
  • βœ… Google Calendar API (optional, for calendar additions)

πŸš€ ONE-LINE SETUP

bash ~/.openclaw/workspace/whatsapp-automation-skill/setup.sh

This will:

  1. Start WAHA (Docker) for WhatsApp capture
  2. Create 2 OpenClaw cron jobs (Claude-powered analysis)
  3. Set up message storage

Done! βœ…


What It Does

FeatureHow
πŸ—“οΈ Appointment DetectionYour AI agent finds "meeting/rdv/reunion" β†’ asks if you want to add to Google Calendar
πŸ“Œ Important MessagesAI detects tone/keywords suggesting importance β†’ sends Telegram alert
πŸ’Ύ Message StorageAll WhatsApp messages saved to ~/.openclaw/workspace/.whatsapp-messages/messages.jsonl
⏱️ Continuous MonitoringRuns every 5 minutes via OpenClaw cron jobs (not launchd/scripts)

How It Works

WhatsApp β†’ WAHA (Docker) β†’ messages.jsonl
                              ↓
                        (every 5 min)
                              ↓
                    OpenClaw Cron Jobs
                              ↓
                    Claude AI Analysis
                              ↓
                    Telegram Alerts
                              ↓
                      Your Telegram

How AI Analysis Works

The 2 cron jobs run OpenClaw agentTurn tasks that spawn isolated AI agents:

  • Your configured agent analyzes β†’ no regex, pure AI understanding
  • Job 1: WhatsApp Smart Analyzer β†’ reads messages, detects appointments, asks for calendar additions
  • Job 2: Important Messages β†’ assesses message importance, sends alerts only when truly relevant
  • Each job runs every 5 minutes using your OpenClaw instance

Your agent handles:

  • Appointment detection ("meeting", "rdv", "reunion" patterns + context)
  • Importance assessment (URGENT keywords + tone analysis)
  • Google Calendar prompts (optional integration)

Note: Uses whatever agent/model you configured in OpenClaw (Claude, Gemini, or custom)

Data Flow

WhatsApp β†’ WAHA (Docker) β†’ messages.jsonl
                              ↓
                        (every 5 min)
                              ↓
                    OpenClaw Cron Job
                              ↓
                    Your Configured AI Agent
                    (Claude, Gemini, etc)
                              ↓
                    Telegram Bot API
                              ↓
                      Your Telegram

After Setup

Verify It's Running

# Check OpenClaw cron jobs
cron list

# Should show:
# βœ… WhatsApp Smart Analyzer
# βœ… Important Messages

Check Message Store

# View latest messages
tail ~/.openclaw/workspace/.whatsapp-messages/messages.jsonl | jq '.'

# Count total messages
wc -l ~/.openclaw/workspace/.whatsapp-messages/messages.jsonl

View Alerts Log

# See sent alerts
tail ~/.openclaw/workspace/.whatsapp-messages/alerts.log

Test It

Send a WhatsApp message:

"meeting tomorrow at 3pm"

You'll get Telegram:

πŸ—“οΈ Meeting detected
Day: tomorrow
Time: 3:00 PM

Tu veux que j'ajoute Γ§a Γ  Google Calendar? (oui/non)

Configuration

Customize Detection

Edit the cron jobs in OpenClaw:

cron list  # Get job IDs
cron update <job-id> --patch '{"payload":{"message":"YOUR NEW PROMPT"}}'

Add Contact-Specific Monitoring

You can create additional cron jobs for specific contacts:

cron add --job '{
  "name": "Monitor Contact",
  "schedule": {"kind": "every", "everyMs": 300000},
  "payload": {"kind": "agentTurn", "message": "Check messages from specific contact..."},
  "sessionTarget": "isolated"
}'

Troubleshooting

Not getting alerts?

# Check if WAHA is running
docker ps | grep waha

# Check messages are being stored
tail ~/.openclaw/workspace/.whatsapp-messages/messages.jsonl

False positives?

Claude is smart, but you can refine by updating the cron job prompts.

Messages not arriving in WAHA?

  1. Scan QR code again in WAHA dashboard
  2. Check webhook is configured correctly
  3. See references/TROUBLESHOOTING.md

Files

  • setup.sh β€” Installation script (does everything)
  • scripts/ β€” Helper scripts (mostly deprecated, using cron now)
  • .whatsapp-messages/ β€” Message storage
  • references/ β€” Advanced docs
  • LICENSE.md β€” CC BY-ND-NC 4.0

What You DON'T Have

❌ Bash regex nightmares
❌ Launchd daemons cluttering your system
❌ False positives from bad patterns
❌ Manual message parsing


What You DO Have

βœ… Claude AI analyzing messages intelligently
βœ… Clean OpenClaw cron jobs (every 5 min)
βœ… Telegram alerts with full details
βœ… Google Calendar integration (on-demand)
βœ… Contact-specific filtering (JosΓ©phine)


CC BY-ND-NC 4.0 β€” Non-commercial, no modifications allowed

Personal use: βœ…
Share unmodified: βœ…
Commercial: ❌
Modifications: ❌

See LICENSE.md for details.


README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

Before setup, make sure you have: - βœ… **OpenClaw installed** (with cron + message tools) - βœ… **An AI agent configured** (Claude, Gemini, Anthropic, etc.) - βœ… **Telegram bot configured** in your OpenClaw config (for alerts) - βœ… **Google Calendar API** (optional, for calendar additions)

Configuration

### Customize Detection Edit the cron jobs in OpenClaw: ```bash cron list # Get job IDs cron update <job-id> --patch '{"payload":{"message":"YOUR NEW PROMPT"}}' ``` ### Add Contact-Specific Monitoring You can create additional cron jobs for specific contacts: ```bash cron add --job '{ "name": "Monitor Contact", "schedule": {"kind": "every", "everyMs": 300000}, "payload": {"kind": "agentTurn", "message": "Check messages from specific contact..."}, "sessionTarget": "isolated" }' ``` ---

FAQ

How do I install whatsapp-automation?

Run openclaw add @vincent-labarthe/whatsapp-automation in your terminal. This installs whatsapp-automation into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/vincent-labarthe/whatsapp-automation. Review commits and README documentation before installing.