OpenClaw Plugin

Install and configure the PipesBot channel plugin for OpenClaw to connect your AI agents to WhatsApp.

Sandbox numbers

The OpenClaw plugin runs on a sandbox number, a shared PipesBot number for testing and light personal use (5 sends/day).

Connect your OpenClaw agents to WhatsApp through PipesBot. The @pipes.bot/pipes-bot-channel plugin registers a channel that receives and replies to WhatsApp messages via a persistent WebSocket connection to the PipesBot API.

Resources

  • GitHub — source code and issue tracker
  • npm — @pipes.bot/pipes-bot-channel

Prerequisites

Get your API key

  1. Sign up at app.pipes.bot
  2. Copy your API key from the dashboard (starts with pk_)

Install the plugin

openclaw plugins install @pipes.bot/pipes-bot-channel

Configure the channel

Open the OpenClaw settings UI and navigate to the Channels section. Enable PipesBot (WhatsApp) and paste your API key.

The channel accepts two configuration fields:

FieldTypeDescription
apiKeystringYour PipesBot API key (pk_...)
enabledbooleanWhether the channel is active (default: true)

You can also configure the channel directly in your OpenClaw config file:

{
  "channels": {
    "pipes-bot-channel": {
      "enabled": true,
      "apiKey": "pk_your_api_key_here"
    }
  }
}

Activate your number

After configuring the plugin, activate your sandbox number:

  1. Go to the PipesBot dashboard
  2. Follow the instructions to send an activation code to the sandbox number via WhatsApp
  3. Once activated, every message you send to this sandbox number is proxied to your OpenClaw agent, until you deactivate it

Verify the connection

After setup, the plugin establishes a WebSocket connection to wss://api.pipes.bot/ws. You can check the connection status in the OpenClaw channel status panel:

  • Connected — the plugin is live and receiving messages
  • Authentication failed — double-check your pk_ API key
  • Reconnecting — transient failure, the plugin retries automatically with exponential backoff

Supported message types

TypeInboundOutbound
TextYesYes
ImageYes (downloaded)—
AudioYes (downloaded)—
VideoYes (downloaded)—
DocumentYes (downloaded)—
StickerYes (downloaded)—
LocationYes (structured)—
ContactsYes (vCard)—
ReactionsYes (emoji)—

Inbound media files are automatically downloaded from WhatsApp and stored in OpenClaw's media store. Your agents can access them directly.

How it works

  1. The plugin connects to PipesBot over WebSocket with your API key
  2. Incoming WhatsApp messages are routed to your OpenClaw agents
  3. Agent replies are sent back through the same WebSocket connection
  4. The connection is maintained with a 25-second heartbeat interval
  5. If the connection drops, the plugin reconnects automatically (1s to 2min backoff)

Next steps

On this page