Get the FREE Ultimate OpenClaw Setup Guide →
M

WhatsApp Labels

Verified

@MarcosRippel

npx machina-cli add skill @MarcosRippel/whatsapp-labels --openclaw
Files (1)
SKILL.md
589 B

WhatsApp Labels Skill

Manage and search WhatsApp Business labels (tags) from the local session cache.

Usage

exec({ cmd: "node <skill_dir>/scripts/labels.js COMMAND [ARGS]" })

Commands

List All Labels

exec({ cmd: "node <skill_dir>/scripts/labels.js list" })

Find Chats by Label

exec({ cmd: "node <skill_dir>/scripts/labels.js chats \"VIP Client\"" })

Note

Requires a WhatsApp Business account for labels to be available.

Source

git clone https://clawhub.ai/MarcosRippel/whatsapp-labelsView on GitHub

Overview

WhatsApp Labels helps you manage and search WhatsApp Business labels (tags) from the local session cache. You can quickly list all labels or locate chats associated with a specific label, such as VIP Client.

How This Skill Works

The skill runs a Node script located at scripts/labels.js and supports commands like list and chats with a label name. It reads from the local session cache of WhatsApp labels to return the matching labels or chats for display.

When to Use It

  • Audit your label taxonomy by listing all existing labels
  • Quickly locate conversations that share a specific label, such as VIP Client
  • Prioritize support or sales outreach by filtering chats by label
  • Verify a label exists before applying automation or routing
  • Onboard new agents by exposing current labels and their usage

Quick Start

  1. Step 1: List all labels with the labels.js list command: node <skill_dir>/scripts/labels.js list
  2. Step 2: Find chats by a label (wrap label with spaces in quotes when using the chats command, e.g., VIP Client)
  3. Step 3: Review the results and use them to inform follow-ups or routing

Best Practices

  • Keep labels consistent and avoid duplicates
  • Use clear, descriptive names for labels
  • Refresh the local session cache regularly to reflect changes
  • Escape label names with spaces in commands by using quotes when necessary
  • Cross-check label data in the WhatsApp Business app to ensure accuracy

Example Use Cases

  • Audit labels to understand how teams categorize chats
  • Retrieve chats labeled VIP Client to prioritize outreach
  • Segment conversations by product or issue label for targeted support
  • Confirm a new label exists before automating routing
  • Use label-based search to pull up related conversations for a team review

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers