OpenBot
All guides

WhatsApp AI Agent: Talk to Your OpenBot Agents From WhatsApp

Link a WhatsApp number to OpenBot and send tasks to your agents from your phone. Allow contacts and groups, send routine results and run it on a server.

OpenBot can link a WhatsApp number to the computer or server that runs your agents. You then send a task from WhatsApp on your phone, and an agent answers in the same chat. You can also let selected contacts and groups give work to your agents, and send the results of routines to a WhatsApp chat.

The messages go directly between OpenBot and WhatsApp. No OpenBot service sees them. The AI provider of the agent gets the messages that it needs for the task.

Before you start: personal number or a separate number

OpenBot links to WhatsApp as a linked device, as WhatsApp Web does. WhatsApp does not officially support this kind of client, and it can block numbers that it sees as automated. A number that you use only for OpenBot is safer than your personal number.

When you link a number, you choose its kind:

  • My personal number. Only your “Message yourself” chat and the contacts and groups that you allow reach OpenBot. Other people get no reply, and your normal chats stay as they are.
  • A number only for OpenBot. Your “Message yourself” chat and the people that you allow reach OpenBot. When an unknown person writes, OpenBot replies with a code. The person gives you the code, and you approve them in OpenBot.

Link WhatsApp to OpenBot

  1. In OpenBot, open Marketplace, then Apps, then WhatsApp, and select Link WhatsApp.
  2. Select the kind of number.
  3. Select how to link: QR code or Pairing code.
  4. For a QR code, open WhatsApp on your phone, tap Settings, then Linked devices, then Link a device, and point the phone at the code. The code changes about every 20 seconds.
  5. For a pairing code, type the phone number with its country code, such as +44 7700 900123, and select Get code. In WhatsApp, open Linked devices, tap Link a device, then Link with phone number instead, and type the code.
  6. Add the WhatsApp Orchestrator. This new agent answers the messages from all your linked numbers.

If the link fails, the code may have expired, or WhatsApp refused the link. Wait a few minutes, then try again.

How the WhatsApp Orchestrator answers

The WhatsApp Orchestrator answers short messages itself. It gives other work to the right agent of your team, for example a research agent or a coding agent, and then answers in WhatsApp with the result.

While the agent works, OpenBot reacts with 👀 to the message, and with ✅ when the answer is ready. In your “Message yourself” chat and on a number only for OpenBot, a “Working on it…” message shows and changes to the answer. You can turn off the reactions and this message in the WhatsApp settings.

Files go both ways. Send a photo or a document with your task, and an agent can attach files to its answer. When an agent needs your approval for an action, reply 1 to approve or 2 to deny.

Let contacts and groups give work to your agents

Open the WhatsApp page of the number. In Who can write, select Add contact or Add group. Type a contact's number with its country code. A contact or group that you add can give work to your agents.

In a group, the agents answer only when someone mentions the linked number or replies to one of its messages. To let your agents read a chat but never write in it, set the contact or group to Read only. OpenBot then saves the messages of that chat, with their authors and files, so that your agents can read them. It sends no replies, no reactions and no “Working on it…” messages there.

Send routine results to WhatsApp

A routine is a task that an agent runs on a schedule, for example a news summary every morning. Open the routine, and select a WhatsApp chat or group in Send answers to. If WhatsApp does not confirm a message, the routine history shows May be incomplete with Send again.

WhatsApp on a hosted or joined server

WhatsApp also works when your agents run on a server, such as an OpenBot hosted server or your own VPS. An owner or an admin links the number from their own computer or from the web app. The server makes the QR code or the pairing code, and your screen shows it. The server then answers in WhatsApp while your computer is off.

When WhatsApp needs attention

When OpenBot cannot reach WhatsApp on a number, the number shows Needs attention in Marketplace. Select Reconnect. If WhatsApp removed OpenBot from the linked devices, select Link again. Use Pause to stop the answers for a time, and Disconnect to remove the number.

OpenBot can also answer in Slack, Discord and Telegram. The same team of agents works in each app.

More guides

How to Upgrade Your OpenBot Hosted Server

Is OpenBot Open Source? License, GitHub and Commercial Use

OpenCode and Codex Errors: What They Mean and How to Fix Them

AI Agent Productivity: Why Persistence Beats a Blank Chat

AI Agent Workflows: 12 Repeatable Processes for Small Teams

AI Teammates vs AI Chatbots: When You Need More Than One Conversation

AI Agent Workspace vs Chat History: What Changes in Practice?

How to Install OpenBot on a VPS: Ubuntu and Docker Guide

How to Import Hermes Agents into OpenBot

How to Import Grok Bot Agents into OpenBot

20 Real AI Agent Examples for Work and Business

Agentic AI vs AI Agents: What Is the Difference?

Agentic AI Definition: How It Differs From Chatbots

OpenBot Hosted Servers: Plans, Pricing, and How They Work

How to Use the OpenBot Marketplace: Agents, Skills, and Plugins

What Are AI Agents? How They Work and When to Use Them

What Is OpenBot? Models, Providers and Agents Explained

How to Use OpenBot: Set Up Your First AI Agent

Meet your first teammate

Run Codex, Claude, Gemini, Grok or your own model with the plans you already pay for, each with its own workspace and context. Your work stays on your computer.

Download OpenBotContact