Install
openclaw skills install @lotfinity/waha-onboardingOnboard 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).
openclaw skills install @lotfinity/waha-onboardingUse this skill when a user wants to connect their WhatsApp account through WAHA.
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."
<phonenumber>.user-<phonenumber>.Run:
waha-cli waha-create-session --name user-<phonenumber>
sleep 5
waha-cli waha-start-session --session user-<phonenumber>
Run:
sleep 5
waha-cli waha-request-pairing-code --session user-<phonenumber> --phone-number <phonenumber>
Send the returned code and tell user:
Run:
waha-cli waha-check-auth-status --session user-<phonenumber>
WORKING: onboarding succeeded.Offer:
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.
user-<phonenumber><phonenumber>@c.us