Build your first WhatsApp AI Agent
One WhatsApp number that answers, sells, books and follows up.
Jump to: Core setup · Industry playbooks · Retention system · Testing & copy-paste kit
AiSensy's AI Agent reads your website, catalog and documents to help with questions, product searches, order checks, bookings, payments and complaints, with human handoff when needed.
The inbound agent: Anyone messaging you from a Click-to-WhatsApp ad, your website or a QR code can get an on-brand answer, recommendation and, where appropriate, a payment link or booking.
The retention system: Claude segments past customers and writes personalised messages. AiSensy sends approved broadcasts. When someone replies, the AI Agent uses purchase history and your Shopify catalog to upsell, cross-sell and send a payment link.
Use the Flow Builder for fixed paths such as buttons, lists and keyword triggers. Use the AI Agent for open-ended conversations. Both work in the same account.
Setup takes minutes; preparation takes time. Gather:
Every business follows the same core setup. No coding is needed for the basic build; someone still needs to supply the knowledge, test it and switch it on.
Pick your industry playbook
The setup stays the same. Your business type, skills and knowledge make it yours.
Business type: E-commerce · Sales motion: Transact
Business type: Service; E-commerce if selling from a catalog · Sales motion: Qualify & route
Business type: Service · Sales motion: Qualify & route, or Hybrid with booking
Business type: Real estate · Sales motion: Hybrid, qualifying before a site visit
Business type: Healthcare · Sales motion: Book
Business type: Education · Sales motion: Hybrid, qualifying before counselling or a payment link
Business type: Travel · Sales motion: Hybrid, qualifying before booking or a deposit
Business type: Service · Sales motion: Book
Test in the languages your customers actually use, including messy Hinglish. The agent replies in the customer's language: Hindi, English, Hinglish and more.
The Claude retention system
Claude starts the campaign. Your AI Agent carries the conversation forward.
Claude decides who receives which offer and writes each message. AiSensy sends an approved WhatsApp broadcast. A customer reply opens the conversation for an AI Agent trained with purchase history, product recommendations and payment links.
The monthly loop: Export customer data → segment and personalise with Claude → build the upsell map → broadcast with AiSensy → AI Agent handles replies and payment → refresh next month.
Combine Shopify customers and orders into one master CSV, one row per customer. Keep only customers who opted in to WhatsApp messages.
Required columns:
Email is for email campaigns. City and tags are optional; tag VIPs as vip.
Upload the CSV and run your retention skill. The playbook names whatsapp-messenger for WhatsApp-only output, and retention-campaign for WhatsApp, email and creatives. These are custom skills referenced by the playbook; it does not supply installation links.
Provide your brand basics and select Upsell, Cross-sell, New Product Launch, Reactivation, Returning Customers or Festive Sale. Claude works out days since the last purchase and uses two tracks.
Track A — broadcasts: Festive Sale and New Product Launch go to every opted-in customer in the export.
Track B — one targeted campaign per customer. The source's first-matching-rule example is:
You receive whatsapp_messages.csv, with name, phone, campaign and a personalised message. Adjust thresholds to your business: inactive for skincare differs from inactive for furniture.
Ask Claude to map each catalog product to a sensible bigger/better version and a complementary item, with a one-line reason and product URLs.
Example from the playbook:
Use only real catalog products. The copy-paste prompt below asks Claude to flag products without a sensible next buy.
A message you send first must use an approved WhatsApp template. Personalised free text from Claude cannot be broadcast directly.
Export fresh orders, rerun Claude and broadcast the new segments. As purchase history changes, customers move into the matching campaigns. Every new order feeds the next run.
Test it. Then make it yours.
A real-customer checklist and copy-paste kit for your agent and retention campaigns.
Before going live, try to break it. A clear fallback and a human handoff matter more than a smooth but invented answer.
Replace bracketed details with your own. Keep claims and recommendations grounded in your business.
When to use it: When a customer replies to a retention campaign, mentions a past order, or asks what else they should try.
Instructions:
Use the whatsapp-messenger skill. Brand: [name], we sell [what], tone [friendly/bold/luxury], store [URL], sender “[Team Name]”.
Run these campaigns: [Upsell, Cross-sell, Reactivation, Returning Customers].
Attached is our customer CSV. Treat customers as inactive after [60] days.
Keep messages under 5 short lines, Hinglish, one CTA.
Also add columns name, last_product and recommended_product so I can map them to AiSensy template variables {{1}}, {{2}}, {{3}}.
Attached is my product catalog export. For every product, give me a CSV with columns:
product_bought, upsell_product, cross_sell_product, reason (one line a customer would understand), upsell_link, cross_sell_link.
Upsell = bigger pack, higher tier or upgraded version. Cross-sell = something used together with it.
Only use products from this catalog. Flag any product with no sensible upsell or cross-sell.
{{1}} = name · {{2}} = last product · {{3}} = recommended product
Each example ends with a quick-reply button so the reply reaches the AI Agent.
Hi {{1}}! Your {{2}} must be running low by now. Regulars love the bigger {{3}} — it lasts longer and works out cheaper per serving. Want the details?
Button: Show me
Hi {{1}}, since you're using {{2}}, you might like {{3}} — they work great together. Should I send you the link?
Button: Tell me more
Hi {{1}}, it's been a while! We've added new things since your {{2}}. Want me to show you what's new?
Button: Show me
Thanks for coming back, {{1}}! Based on your {{2}}, we picked {{3}} for you. Want a quick look?
Button: Yes please
Keep template claims true for your brand. Add an opt-out line if the template category requires one.
It is free to build and test: 500 AI messages on up to 3 test numbers. Replying to real customers needs a paid plan plus an AI Messages pack. Pricing varies by plan, billing cycle and country, so check it in your account.
Not for the basic build. Custom API Actions need someone comfortable with an API; you can paste a cURL and test it in the dashboard.
The agent replies in the language the customer types in.
Clean Knowledge and a configured fallback reduce that risk. Test questions it cannot answer before going live.
Yes. Flows and the AI Agent work in the same account. Use flows for fixed menus and the agent for open conversation.
Only through approved templates. Free-form replies work inside the 24-hour window after a customer messages you.
This page adapts WhatsApp AI Agent Playbook — AiSensy Setup for Every Industry + the Claude Retention System, by Priyank Singh, dated October 9, 2026.
Sources linked by the playbook:
The source also names the AiSensy AI Sales Agent creator brief.