Skip to content

ChatGPT WhatsApp Bot: How to Add ChatGPT, Gemini, Claude and Other AI to WhatsApp

By Erfan Ahmed, founder of Erfan MD · Updated October 2026

A ChatGPT WhatsApp bot is a chatbot that receives a WhatsApp message, sends it to an AI model, and replies with the answer. The same method works for Gemini, Claude, DeepSeek, Perplexity or a local Ollama model. This guide explains how an AI WhatsApp bot works, the three ways to build one, what it costs, how to avoid fake bot numbers, and how a business can use one without risking accuracy or bans.

Quick answer: You do not need a special "ChatGPT app" for WhatsApp. You need three parts: a WhatsApp connection, a place that runs your logic (such as n8n, Zapier or a small server), and an AI model reached through its API. The AI is the easy part. The connection and the rules you give it decide whether the bot is useful.

How an AI WhatsApp Bot Works

Every AI bot on WhatsApp follows the same loop. A customer sends a message, your system receives it, the text goes to the AI model with your instructions, and the reply is sent back to the chat. When people search for "whatsapp bot ai" or "ai bot in whatsapp", this loop is what they are asking about.

  1. Receive: the message arrives through the WhatsApp Business Cloud API (via a webhook) or through a linked-device connection.
  2. Think: your workflow adds instructions and recent chat history, then calls the AI model.
  3. Reply: the answer is sent back, or passed to a human if the question is outside the bot's job.

ChatGPT, Gemini, Claude and Others: Which Model to Use

You can connect a ChatGPT WhatsApp bot through the OpenAI API, a Gemini AI WhatsApp bot through Google's API, a Claude WhatsApp bot through Anthropic's API, and a DeepSeek WhatsApp bot through DeepSeek's API. A Perplexity WhatsApp bot suits answers that need web sources. An Ollama WhatsApp bot runs a model on your own computer or server.

Model optionGood forWatch out for
OpenAI (ChatGPT models)General support and writing, wide tool supportUsage billed per token
Google GeminiMultilingual chats, Google toolsCheck regional availability and limits
Anthropic ClaudeCareful, long and polite answersUsage billed per token
DeepSeekLow-cost experimentsReview data-handling terms before sending customer data
PerplexityAnswers with web sourcesLess control over tone
Ollama (local models)Privacy and fixed costsYou manage the server, and weaker models give weaker answers

Model names and prices change often, so check each provider's pricing page before you commit. For most small businesses, the model matters less than the instructions you write for it.

Three Ways to Build a ChatGPT WhatsApp Bot

1. No-code platform

Tools like Wati, Gupshup or Zoho SalesIQ include AI replies. Fastest to launch, but you pay a monthly fee plus message charges.

2. Automation tool

n8n or Zapier connects WhatsApp to an AI model with a few blocks. Flexible and cheap, and no coding is needed for simple flows.

3. Custom code

Python or Node.js with the Cloud API gives full control for developers, but you maintain hosting and updates.

A simple n8n flow

  1. Add a WhatsApp Trigger node connected to your Cloud API app.
  2. Add an AI node (OpenAI, Gemini or Claude) and paste your instructions as the system prompt.
  3. Pass the customer's message text into the AI node.
  4. Add a WhatsApp Send node that returns the AI's answer to the same number.
  5. Test with your own number, then add a branch that notifies you when the AI is unsure.

Write Instructions That Keep the Bot Accurate

An AI bot that answers from general knowledge will eventually invent a price or a policy. Fix this with clear instructions. Here is a starting prompt you can adapt:

You are the WhatsApp assistant for [business name].
Answer in 2-3 short sentences in the customer's language.
Use only the facts below. If the answer is not there, say you will
check and ask the customer to wait for a team member.
Never promise refunds, discounts or delivery dates.
Facts: [opening hours, prices, delivery areas, return policy]
  • Keep answers short. People read on small screens.
  • Add a human exit. Let customers type a word like "agent" to reach a person.
  • Review logs weekly. Real conversations show you what to add to the facts.
  • Keep secrets out. Never put passwords or private data in the prompt.

What Does an AI WhatsApp Bot Cost?

CostWhat to know
WhatsApp messagesBusiness-initiated template messages are charged by Meta. Replies inside the 24-hour customer service window are generally not charged. Check Meta's current rates.
AI usageBilled by the amount of text processed. Short support chats usually cost little per conversation.
Automation or platformFree tiers exist but have limits. Paid plans are monthly.
HostingFree tiers can sleep or run out of credits. A small server is more reliable.

So a "free ChatGPT WhatsApp bot" is possible for testing, but a reliable one for customers almost always has some cost.

ChatGPT WhatsApp Bot Numbers: Be Careful

Many people search for a "ChatGPT WhatsApp bot number", "Gemini WhatsApp bot number" or "AI WhatsApp bot number" so they can message an AI without building anything. Some AI companies do offer official numbers, but lookalike numbers also exist. Before you message one:

  • Find the number on the provider's own website, not in a random post or group.
  • Do not share passwords, bank details or private documents with any bot.
  • Treat anything sent to an unknown bot as public.

Other AI Bot Options

Open-source AI agent projects, such as OpenClaw, can also connect to WhatsApp. They can do more than answer questions, which also means more can go wrong if permissions are too broad. If you try one, read its documentation, use a spare number, limit what it can access, and avoid giving it your main accounts.

Risks to Plan For

Be aware: Bots that connect through a linked device are unofficial, and WhatsApp can restrict or ban the number. For customer-facing business use, the official Cloud API is the safer choice. Meta decides on any ban, and no bot provider can control that.
  • Wrong answers: limit the bot to facts you supply, and hand over sensitive topics to a human.
  • Privacy: tell customers they are chatting with an automated assistant and say how their data is used.
  • Consent: only message people who have asked to hear from you.

Ways to Use an AI WhatsApp Bot in a Business

  • Customer support: answer questions about hours, prices and delivery at any time of day.
  • Lead capture: ask a few questions and pass the answers to your sheet or CRM.
  • Booking and reminders: confirm appointments and send reminders.
  • Multilingual replies: answer in the customer's language, then pass the chat to you in yours.

Related guides: how to create a WhatsApp bot, n8n WhatsApp bot, WhatsApp bot API pricing and WhatsApp bot for business.

Frequently Asked Questions

Can I make a ChatGPT WhatsApp bot for free?

You can test one for free using free tiers of automation tools and limited AI credits. A bot for real customers usually involves message, AI or hosting costs.

Is there an official ChatGPT number on WhatsApp?

Some AI providers have offered official WhatsApp numbers, but offerings change. Confirm any number on the provider's own website before you use it.

Which AI is best for a WhatsApp bot?

It depends on cost, language support and privacy needs. Test two models with your own real questions before you choose.

Do I need to code to build one?

No. Platforms and tools like n8n or Zapier let you build a basic AI bot by connecting blocks.

Can the AI replace my support team?

It can handle repeat questions, but it should pass refunds, complaints and sensitive topics to a person.

Want WhatsApp automation without the setup?

Erfan MD links to your WhatsApp with a pairing code so you can automate replies, broadcasts and follow-ups for your contacts.

Explore Erfan MD