add-whatsapp-cloud

Solid

Add WhatsApp Business Cloud API channel via Chat SDK. Official Meta API.

AI & Automation 29,545 stars 12887 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Add WhatsApp Cloud API Channel Connect NanoClaw to WhatsApp via the official Meta WhatsApp Business Cloud API. ## Install NanoClaw doesn't ship channels in trunk. This skill copies the WhatsApp Cloud adapter in from the `channels` branch. ### Pre-flight (idempotent) Skip to **Credentials** if all of these are already in place: - `src/channels/whatsapp-cloud.ts` exists - `src/channels/index.ts` contains `import './whatsapp-cloud.js';` - `@chat-adapter/whatsapp` is listed in `package.json` dependencies Otherwise continue. Every step below is safe to re-run. ### 1. Fetch the channels branch ```bash git fetch origin channels ``` ### 2. Copy the adapter ```bash git show origin/channels:src/channels/whatsapp-cloud.ts > src/channels/whatsapp-cloud.ts ``` ### 3. Append the self-registration import Append to `src/channels/index.ts` (skip if the line is already present): ```typescript import './whatsapp-cloud.js'; ``` ### 4. Install the adapter package (pinned) ```bash pnpm install @chat-adapter/whatsapp@4.27.0 ``` ### 5. Build ```bash pnpm run build ``` ## Credentials 1. Go to [Meta for Developers](https://developers.facebook.com/apps/) and create an app (type: Business). 2. Add the **WhatsApp** product. 3. Go to **WhatsApp** > **API Setup**: - Note the **Phone Number ID** (not the phone number itself). - Generate a **permanent System User access token** with `whatsapp_business_messaging` permission. 4. Go to **WhatsApp** > **Configuration**: - Set webho...

Details

Author
nanocoai
Repository
nanocoai/nanoclaw
Created
3 months ago
Last Updated
yesterday
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category