AI agents that work on WhatsApp

In India and many other markets, customers would rather message a business on WhatsApp than call or email. Businesses struggle to answer those messages quickly, especially after hours and in several languages. Gepton builds custom AI agents on the WhatsApp Business Platform Cloud API. They handle specific business tasks, such as order status, bookings, lead capture and support, using your own systems, and hand off to your team when a person is needed. They follow Meta's messaging rules, including opt-in and approved templates.

What we build in WhatsApp

Agents designed around how your team already works in WhatsApp, built and tested in a sandbox first.

  • Order and delivery status

    Answers where-is-my-order questions from your order system and courier data, and sends proactive updates through approved utility templates.

  • Appointment and booking management

    Books, reschedules and cancels appointments against your calendar or booking system, and sends reminders to customers who opted in.

  • Lead capture and qualification

    Replies to ad and website inquiries, asks qualifying questions, records the lead in your CRM and routes hot leads to a salesperson.

  • Support in Indian languages

    Understands messages and voice notes in Hindi, Hinglish and other Indian languages, answers from your knowledge base and escalates when unsure.

  • Payment and invoice reminders

    Sends due-date reminders and invoice copies to customers who opted in, and answers payment questions from your billing system.

  • Handoff to your team

    Passes the conversation to a person in your inbox tool with a summary, the customer's details and what has been tried, within the service window.

How it connects. Official APIs, the narrowest access.

The agent uses Meta-hosted Cloud API access tied to your WhatsApp Business Account, with a system user token stored in a secrets manager. We design so that business-initiated messages go only to customers who opted in, the agent handles defined business tasks rather than open-ended chat, and every conversation can be handed to a person. Customer data is fetched from your systems only when the task needs it. We review the setup against India's Digital Personal Data Protection Act where it applies. This page does not imply a partnership with or endorsement by Meta or WhatsApp.

Systems the agent uses (example)
4 systems
  • WhatsAppOrder and delivery status
  • FreshdeskUsed by the Hindi and Hinglish support assistant
  • Loan management systemUsed by the collections reminder agent
  • ShopifyUsed by the WhatsApp order assistant

From sandbox to your live WhatsApp

A fixed-scope plan first, then weekly releases you can test.

  1. 1

    Set up the business account

    We connect your WhatsApp Business Account and phone number to the Cloud API, create a system user with the whatsapp_business_messaging and whatsapp_business_management permissions, and register webhooks.

  2. 2

    Design flows and templates

    We map the tasks the agent handles, write message templates for Meta approval, and define when the agent hands off to a person.

  3. 3

    Test with test numbers

    We test with Meta's test number and a staging environment, run evaluation cases in each language, and check handling of media, voice notes and errors.

  4. 4

    Launch and watch quality

    We launch to a subset of traffic, monitor quality rating, blocks and handoff rates, and adjust flows before widening.

How agents connect to WhatsApp

Businesses reach WhatsApp through the WhatsApp Business Platform Cloud API, hosted by Meta. The older On-Premises API reached its end on October 23, 2025, so new builds use the Cloud API. Incoming messages arrive as webhooks. The agent replies through the Graph API using a system user access token with the WhatsApp messaging and management permissions.

Two rules shape every design. Free-form replies are allowed within a 24-hour customer service window after the customer's last message. Outside that window, the business must use a pre-approved message template in the utility, authentication or marketing category, and marketing messages need opt-in.

Throughput and messaging limits

Cloud API numbers send up to 80 messages per second by default, and Meta can raise eligible numbers to 1,000. Separately, messaging limits cap how many unique customers a business can start conversations with in 24 hours. Since October 2025 these limits apply per business portfolio, starting low for unverified businesses and rising with verification and good quality. Agents that mainly reply to inbound messages rarely hit these caps, but broadcast-style reminders need planning.

Meta's policy on AI chatbots

Meta's WhatsApp Business Solution Terms, in effect for all businesses from January 15, 2026, do not allow general-purpose AI assistants as the main purpose of a WhatsApp integration. AI agents that handle a business's own tasks, such as support, bookings and order updates, remain allowed. We design agents around defined business tasks so they stay inside these terms.

What stays read-only

By default the agent reads order, booking and account data and writes conversation logs and CRM notes. Refunds, cancellations with charges, address changes and payment actions go to a person or need explicit confirmation from the customer and your team.

How this fits with Meta's Business AI

Meta launched Business AI for small businesses on the WhatsApp Business app in India in May 2026 and expanded its business agent globally in June 2026. It is a simple option for businesses that want a ready-made assistant inside the app. A custom agent on the Cloud API suits businesses that need their own order, booking or CRM systems in the loop, specific workflows, multiple numbers or team inboxes. See WhatsApp AI agents for the full service.

AI agents and WhatsApp in depth

The moving parts of a WhatsApp agent

A WhatsApp agent on the Cloud API has a simple outline. Meta delivers incoming messages and status updates to a webhook endpoint you own. An agent service reads the message, looks up the customer and the task in your systems, and decides what to say. A sending service calls the Cloud API to reply with text, media, interactive buttons or a template. A handoff connector passes the conversation to your inbox tool or team when a person is needed. Underneath sit a conversation store, a log and the secrets that hold your system user token and app secret.

The webhook endpoint must answer Meta's verification request when you register it, and then verify every incoming payload using the signature header Meta computes with your app secret. Payloads that fail verification are dropped. This one check stops anyone who discovers the URL from injecting fake messages into the agent.

Accounts, tokens and permissions

The setup involves several Meta objects, and it helps to know who owns each one.

ObjectWhat it isWho should own it
Business portfolioYour company in Meta Business Suite, ideally verifiedYour company, with at least two admins
WhatsApp Business AccountHolds phone numbers and templatesYour business portfolio
Meta appReceives webhooks and calls the APIYour business portfolio, with Gepton as a developer if needed
System user tokenCredential the agent uses to send messagesStored in your secrets manager, rotated on a schedule

The system user is granted the WhatsApp messaging and management permissions only on the accounts it needs. Personal access tokens from an individual's Facebook login are not used in production, because they break when that person leaves and blur who sent what.

A worked example: order status with a handoff

Example: a customer writes "mera order kab aayega?" with an order number.

  1. The webhook receives the message. The agent detects Hinglish, finds the order number and matches the sender's phone number to the customer record.
  2. It reads the order and courier status from your systems and replies in the same language with the current status and expected delivery from the courier data.
  3. The customer replies that the parcel arrived damaged. The agent recognizes a complaint it is not allowed to resolve.
  4. It asks for a photo, attaches it to a ticket, and hands the conversation to your support inbox with a summary.
  5. A support agent decides on a replacement or refund. The WhatsApp agent does not promise either.

Every outbound message is stored with its message ID, and the status webhooks for sent, delivered, read or failed are matched back to it.

Opt-in, templates and approvals

Business-initiated messages need recorded opt-in and an approved template. We keep opt-in as data, with the date, source and wording the customer agreed to, so it can be shown if questioned and withdrawn when the customer asks. Template text is drafted with your team and submitted for Meta approval; the agent fills only the variables, never rewrites the approved text. Inside the customer service window, the agent writes free-form replies, but within limits you set: no prices it cannot read from your systems, no commitments on refunds, no legal or medical advice. Interactive buttons and WhatsApp Flows help collect structured details, such as a booking date, without free-text guessing.

Logging, data and DPDP

The conversation log records each message, the agent's lookups in your systems, the reply and any handoff. Media such as voice notes and photos is downloaded from Meta using its media ID, processed and stored only where the task requires it. Under India's Digital Personal Data Protection Act 2023, customers' phone numbers and messages are personal data, so we document the purpose of processing, keep retention periods short, limit who can read transcripts, and make it possible to delete a customer's data on request. Quality signals, such as blocks and reports, are watched as closely as answer accuracy, because they affect what the number is allowed to send.

Testing and rollout

Testing starts with Meta's test phone number and a staging copy of the agent connected to test data. The evaluation set mirrors your real inbox: Hindi, Hinglish and English messages, voice notes, blurry photos, angry customers, people asking for things the agent must not do, and messages sent outside the service window. Template sends are tested to confirm the right category and variables.

We also agree the measures that decide whether to widen: the share of conversations resolved without a handoff, how quickly handed-off customers get a human reply, how often the agent asks for clarification, and how quality signals move. Each is taken from the conversation log and compared with how the same inbox performed before the agent, so the baseline is your own.

Launch usually starts with one number or one task, such as order status, and a fixed share of conversations, while your team watches handoff rates and quality signals. Have ready: a verified business portfolio, the phone number to use, access to the order or booking system, opt-in records, and the people who will receive handoffs. Related pages: WhatsApp AI agents, customer support automation and Shopify agents for stores that take orders online.

Questions about AI agents and WhatsApp

Something else? Send us your question and an engineer replies with next steps.

Is an AI agent allowed on WhatsApp under Meta's 2026 rules?

Yes, when it handles your business's own tasks, such as support, orders or bookings. Meta's terms bar general-purpose AI assistants as the main purpose of an integration. We design agents around defined business tasks and document this in the setup.

Do we need a business solution provider?

Not necessarily. The Cloud API can be used directly with a Meta business account. Some businesses prefer a provider for its inbox tools. Our agents can work with either setup.

Can we message customers first?

Yes, with approved templates and only to customers who opted in. Free-form replies are only possible within 24 hours of the customer's last message.

Does it handle Hindi and voice notes?

Yes. The agent can understand Hindi, Hinglish and other Indian languages, and transcribe voice notes, with accuracy checked on your real messages during testing.

What happens when the agent cannot help?

It hands the conversation to a person in your inbox tool with a summary and the customer's details, and tells the customer someone will reply.

Who should own the WhatsApp Business Account and Meta app?

Your company should. The business portfolio, WhatsApp Business Account, phone numbers, templates and Meta app should sit under your business with at least two of your own admins. Gepton can be added as a developer or partner for the build, and that access can be removed later without breaking the agent. This avoids being locked out if a vendor relationship ends.

How is customer opt-in recorded?

We store opt-in as data in your systems: the customer's number, the date, where they agreed, such as a checkout box or a WhatsApp reply, and the wording they saw. The agent checks this before sending any business-initiated template. When a customer replies STOP or asks to opt out, the record is updated and further template messages to that number are blocked.

Can the agent handle images and voice notes?

Yes. Incoming media arrives as a media ID that the agent uses to download the file from Meta. Voice notes can be transcribed, including Hindi and Hinglish, and photos can be attached to tickets or checked, for example a damaged parcel. We test accuracy on your real samples and store media only as long as the task needs it.

What stops the agent from promising refunds or discounts?

The agent can only state facts it reads from your systems and actions it is allowed to take. Refunds, discounts, cancellations with charges and other commitments are outside its tools, and its instructions require a handoff for them. Evaluation tests include customers pushing for these promises, and a reviewer checks transcripts during the pilot to confirm the agent hands off instead.

Can one agent serve several phone numbers or brands?

Yes. One agent service can receive webhooks for several numbers under your business portfolio, with separate knowledge, templates, tone and handoff teams for each brand or region. Each message is routed by the receiving phone number ID. Quality ratings and messaging limits apply per number and portfolio, so we monitor each number separately.

Jump to

↑↓ to move↵ to open