@clawmatrix/whatsapp
v1.0.1
Published
Add ClawMatrix WhatsApp allowFrom and send a connect ping via OpenClaw CLI.
Readme
@clawmatrix/whatsapp
One-shot helper for ClawMatrix ↔ OpenClaw WhatsApp handshakes:
Appends
+18559102217tochannels.whatsapp.allowFromin~/.openclaw/openclaw.json(creates a.bakof the previous file contents before the first change).Runs OpenClaw’s outbound command (when not using
--no-send):openclaw message send --channel whatsapp --target +18559102217 --message connectPrints a reminder to restart the gateway (you run this yourself):
openclaw gateway restart
Usage
npx @clawmatrix/whatsappOptions:
--no-send— only editopenclaw.json; do not invokeopenclaw message send.-h/--help— help text.
Requirements
- OpenClaw installed;
openclawonPATHfor step (2). - WhatsApp channel configured and linked (
openclaw channels login --channel whatsappas per OpenClaw docs). - Gateway reachable when sending; if send fails, fix gateway / link, restart, and you can re-run the send command manually (printed on failure).
License
Apache-2.0
