Pipes.bot

OpenClaw Plugin

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

Connect your OpenClaw agents to WhatsApp through Pipes.bot. The @pipes.bot/pipes-bot-channel plugin registers a channel that receives and replies to WhatsApp messages via a persistent WebSocket connection to the Pipes.bot 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 Pipes.bot 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 WhatsApp pool number:

  1. Go to the Pipes.bot dashboard
  2. Follow the instructions to send an activation code to the pool number via WhatsApp
  3. Once activated, everytime you message this pool number, this is going to be proxied to your openclaw (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 Pipes.bot 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