waha-onboarding

Onboard a new user to WhatsApp via WAHA—greet them, collect and sanitize their phone number, create/start a WAHA session, request and share a pairing code, verify authentication, and then offer next actions (recent chats, contacts, specific chat).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "waha-onboarding" with this command: npx skills add lotfinity/waha-onboarding

WAHA Onboarding Skill

Use this skill when a user wants to connect their WhatsApp account through WAHA.

Onboarding flow

1) Collect phone number

Ask for the user’s WhatsApp number including country code.

Example prompt:

"👋 I can connect your WhatsApp. Send your phone number with country code (digits only if possible), for example 905380546393."

2) Sanitize number and derive session name

  • Strip all non-digit characters from the input.
  • Use sanitized value as <phonenumber>.
  • Session name format: user-<phonenumber>.

3) Create and start WAHA session

Run:

waha-cli waha-create-session --name user-<phonenumber>
sleep 5
waha-cli waha-start-session --session user-<phonenumber>

4) Request pairing code

Run:

sleep 5
waha-cli waha-request-pairing-code --session user-<phonenumber> --phone-number <phonenumber>

5) Share pairing instructions

Send the returned code and tell user:

  1. Open WhatsApp → Linked Devices
  2. Tap Link a Device
  3. Tap Link with phone number instead
  4. Enter the pairing code

6) Verify authentication after user confirms

Run:

waha-cli waha-check-auth-status --session user-<phonenumber>
  • If status is WORKING: onboarding succeeded.
  • Otherwise: run fallback.

7) Confirm success and offer next actions

Offer:

  • recent conversations
  • contacts
  • messages from a specific chat

Fallback (if not WORKING)

Restart and issue a fresh code:

waha-cli waha-start-session --session user-<phonenumber>
sleep 8
waha-cli waha-request-pairing-code --session user-<phonenumber> --phone-number <phonenumber>

Then ask user to retry from WhatsApp Linked Devices.

Naming and ID conventions

  • WAHA session: user-<phonenumber>
  • Direct chat id convention: <phonenumber>@c.us

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Spicy Ai Video

Turn a 60-second talking head clip into 1080p high-energy edited videos just by typing what you need. Whether it's turning bland footage into visually intens...

Registry SourceRecently Updated
Coding

Video Maker Fast

Get polished MP4 videos ready to post, without touching a single slider. Upload your video clips (MP4, MOV, AVI, WebM, up to 500MB), say something like "trim...

Registry SourceRecently Updated
Coding

Generation Generator

generate text prompts or clips into AI generated videos with this skill. Works with MP4, MOV, PNG, JPG files up to 500MB. marketers, content creators, social...

Registry SourceRecently Updated
Coding

Editor On Android

Get edited MP4 clips ready to post, without touching a single slider. Upload your video clips (MP4, MOV, AVI, WebM, up to 500MB), say something like "trim th...

Registry SourceRecently Updated