You can add AI replies to WhatsApp by connecting your own OpenAI, Anthropic (Claude), Gemini or Sarvam API key to wachatly, then letting an AI agent answer customer messages on the number you already use, linked by QR code. You write instructions and business information for the agent, and it replies in natural language, handing over to a human when needed. Because the key is yours, you pay the AI provider directly for usage.
This guide explains how "bring your own key" AI works on WhatsApp, how to set it up and how to keep answers accurate.
What does "AI replies with your own key" mean?
Many chatbot tools bundle an AI model inside their price, often with credit limits you cannot see clearly. wachatly takes a different approach: you create an API key with the AI provider you prefer and paste it into your workspace. The AI agent then uses that key to generate replies.
This gives you:
- Choice of model. Use OpenAI, Anthropic's Claude, Google's Gemini or Sarvam, whichever suits your language needs and budget.
- Transparent AI costs. You see AI usage directly in your provider's dashboard.
- Control. You can change or remove the key at any time.
Which AI providers can you use?
| Provider | Models from | Good to know |
|---|---|---|
| OpenAI | OpenAI | Widely used; many businesses already have an account |
| Anthropic | Claude models | Known for following detailed instructions |
| Gemini models | Works well if you are already on Google Cloud | |
| Sarvam | Sarvam models | Built with a focus on Indian languages |
Pricing and model options change often, so check each provider's current pricing page before choosing.
How do you set up AI replies on WhatsApp?
- Sign up for wachatly at wachatly.com/register.
- Link your WhatsApp number by scanning the QR code from WhatsApp's Linked devices menu. Setup takes about 2 minutes.
- Create an API key in your chosen provider's dashboard (OpenAI, Anthropic, Google or Sarvam).
- Add the key to your wachatly workspace. Keep it private and never share it in chats or screenshots.
- Write the agent's instructions: who you are, what you sell, your tone, and what it must never do.
- Add business information such as products, prices, timings, delivery areas, policies and FAQs.
- Set hand-over rules so the agent passes chats to a human for complaints, refunds, custom quotes or anything it is unsure about.
- Test with real questions from a second phone before letting it answer customers.
Which AI provider should you choose?
There is no single best answer, and you can switch later because the key is yours. A practical way to decide:
- Already have an account with one provider? Start there. You save setup time and keep billing in one place.
- Many customers write in Hindi, Tamil, Marathi or other Indian languages? Test a few real messages in those languages with each provider, including Sarvam.
- Detailed rules about what the agent must and must not say? Compare how closely each model follows your instructions in testing.
- Watching costs closely? Compare current per-usage pricing on each provider's site and keep replies short.
Run the same 20 real customer questions through two providers before deciding. The difference in answers will tell you more than any comparison chart.
How do you write good instructions for a WhatsApp AI agent?
Clear instructions matter more than the model you choose. Include:
- Identity: "You are the assistant for Green Leaf Organics, a grocery store in Bengaluru."
- Tone: "Reply in short, friendly messages. Use simple English. If the customer writes in Hindi, reply in Hindi."
- Scope: "Answer questions about products, prices, delivery areas and order status."
- Limits: "Never promise delivery dates you do not know. Never offer discounts. Never make up products."
- Hand-over: "If the customer is upset, asks for a refund or asks something not in the information provided, say a team member will reply shortly and hand over."
- Format: "Keep replies under 60 words. Use bullet points only for lists of products."
Should you use AI, a menu chatbot, or both?
Each has strengths. Most businesses get the best results by combining them.
Get a 1-minute WhatsApp tool audit
Drop your WhatsApp number — we compare what you pay for your current WhatsApp tool with running it on your own number, linked by QR scan. India-hosted,
| Approach | Best for | Weakness |
|---|---|---|
| Menu chatbot flow | Fixed paths: timings, booking, price list | Cannot handle unexpected questions |
| AI agent | Free-text questions in natural language | Needs good instructions and information |
| Human in shared inbox | Complaints, negotiations, custom orders | Limited by staff time |
| Combined | Menu for common paths, AI for the rest, human for exceptions | Takes a little more setup |
For a step-by-step menu setup, read how to set up a WhatsApp chatbot by scanning a QR code.
How do you stop the AI from giving wrong answers?
AI models can produce confident but wrong answers if they do not have the right information. Reduce this risk by:
- Giving complete, current information. Update prices and stock regularly.
- Telling the agent to say "I'm not sure" and hand over instead of guessing.
- Blocking sensitive topics such as refunds, legal or medical advice, which should go to a human.
- Reviewing conversations weekly in the shared inbox to spot mistakes and improve instructions.
- Starting narrow. Let the AI handle a few topics first, then expand.
What are good uses of AI replies for Indian businesses?
- Online stores: "Do you have this kurta in maroon, size L?" or "Do you deliver to Nagpur?"
- Restaurants: answering menu questions, veg and Jain options, and timings.
- Coaching institutes: explaining courses, batch timings and fee structures.
- Clinics and salons: describing services, prices and preparation instructions, with bookings handed to staff.
- Real estate: sharing project details, sizes and locations, then passing serious buyers to an agent.
How much does AI on WhatsApp cost?
There are two parts:
- wachatly plan: a monthly plan in INR after the 1-day free trial, with no Meta per-message fees. See the pricing page.
- AI usage: billed by your AI provider to your own account, based on how much the agent is used.
Shorter instructions, concise business information and short replies keep AI usage efficient. Our WhatsApp automation pricing guide explains the full cost picture.
How do humans and AI share the inbox?
Every AI conversation appears in wachatly's shared inbox. Your team can read what the agent said, step in at any time and reply from the same WhatsApp number. When the agent hands over, the team member sees the whole conversation, so the customer does not have to repeat themselves. Labels like "AI handed over" or "needs callback" help the team prioritise. More on this in our guide to the WhatsApp shared team inbox.
AI agent launch checklist
- WhatsApp number linked and connected
- API key added from your chosen provider and stored privately
- Instructions cover identity, tone, scope, limits and hand-over
- Business information is complete and current
- Tested with at least 20 real customer questions
- Team knows how to take over chats in the inbox
Does AI change the ban risk on WhatsApp?
AI replies to customers who messaged you first are part of normal two-way conversations. Risk comes mainly from sending unexpected messages to people who never contacted you. Keep the AI focused on helpful answers, avoid using it to blast promotions, and remember that no tool can promise a number will never be restricted.
Key takeaways
- wachatly lets you use your own OpenAI, Anthropic (Claude), Gemini or Sarvam key for WhatsApp AI replies.
- You pay the AI provider directly; wachatly is a separate monthly plan with no Meta fees.
- Good instructions, current business information and clear hand-over rules matter most.
- Combine menus, AI and humans for the best customer experience.
- Review AI conversations weekly and keep improving.
See all AI features on the features page and Start the 1-day free trial.