Skip to main content

WhatsApp

WhatsAppMeta Platform

Connecting your agent to WhatsApp is like giving it its own phone line — customers message the number and your agent answers, just like messaging a real person. Your agent can send text, images, files, audio, interactive buttons, and even pre-approved message templates.

WhatsApp channel export showing a connected phone numberImage: WhatsApp channel export showing a connected phone number

Prerequisites

  • A completed agent in the Agent Control Panel (at least the Profile step saved)
  • A Facebook Business account (free — you can create one during setup)
  • A phone number that is not currently active on WhatsApp (personal or business). If your number is already on WhatsApp, you'll need to deregister it first

Setting Up WhatsApp

There are two ways to connect WhatsApp. Embedded Signup is recommended for almost everyone — it's faster, easier, and Meta provisions everything for you automatically.

Embedded Signup is the official sign-up flow built by Meta. From a single popup, it sets up everything for you automatically — your WhatsApp Business Account, your phone number, the access pass Nirvai needs, and the automatic alert WhatsApp sends Nirvai when a message arrives — all without you touching Meta's developer settings.

What Meta sets up automatically:

  • A WhatsApp Business Account (WABA — your business's WhatsApp account with Meta) linked to your Facebook Business
  • A phone number registered against your WABA — either an existing number or a new one
  • A system user (an automated account Meta uses to act on your behalf) with the right permissions on your Facebook Business
  • A permanent access token — a secure access pass scoped to WhatsApp
  • The webhook subscription — the automatic alert WhatsApp sends Nirvai the moment a customer messages you

You never have to copy and paste any private passwords or generate access passes manually.

Steps:

  1. Open your agent in the Agent Control Panel and click the Channels node
  2. Select WhatsApp from the Meta Platform section
  3. Choose Business App
  4. Click Start Setup — a Facebook Login popup opens
  5. Sign in with the Facebook account that owns (or will own) the Business
  6. Follow the on-screen WhatsApp Business onboarding:
    • Select an existing Business or create a new one
    • Select or create a WhatsApp Business Account
    • Pick an existing phone number, port one in, or buy a new one
    • Verify the number via SMS or voice call
  7. Confirm permissions — Meta returns you to Nirvai
  8. Your WhatsApp number appears as Connected on the export card

WhatsApp Business App setup flow with Facebook Login popupImage: WhatsApp Business App setup flow with Facebook Login popup

info

If you already have a Meta Platform Credential for WhatsApp, you can pick it during setup instead of going through Facebook Login again. The same credential can power multiple Meta channels (WhatsApp + Instagram + Messenger) without re-authenticating.

tip

Embedded Signup uses your real Facebook Business — the same account where you (or your client) already manage Pages, ad accounts, and other Meta assets. If you don't have one, Meta will help you create it during the popup; it takes a couple of minutes.

Option B — Manual Configuration (SIM Integration)

Choose this only if you already have a WhatsApp Business API setup elsewhere and need to plug Nirvai into it. The Manual flow gives you a guided stepper to enter the credentials yourself.

  1. Open your agent in the Agent Control Panel and click the Channels node
  2. Select WhatsAppSIM Integration
  3. Follow the guided steps:
    • Create a Meta App (if you don't have one)
    • Add the WhatsApp product to your app
    • Register your phone number
    • Create a system user and generate an access token
    • Verify your phone number
    • Configure the webhook URL provided by Nirvai
  4. Enter your credentials and save

WhatsApp manual configuration stepperImage: WhatsApp manual configuration stepper

caution

Manual setup involves your Meta Developer Console and several credential copy-paste steps. Use Embedded Signup unless you have a specific reason not to — it's significantly faster and less error-prone.


Message Types

Once your agent is connected, it can send and receive a range of message types. Some are inbound only (the agent reads them), some are outbound only (the agent sends them), and most go both ways.

TypeDirectionDescription
TextBothPlain text messages, with emoji and basic WhatsApp markdown (*bold*, _italic_)
ImagesBothPhotos, screenshots, generated graphics. Reads via vision, sends from agent files
DocumentsBothPDFs, spreadsheets, Word docs, and other file attachments
AudioBothVoice notes. Inbound audio is transcribed automatically; outbound is sent as a voice message
VideoInboundShort video messages — the agent extracts frames and analyzes them
Interactive ButtonsOutboundQuick-reply or CTA buttons attached to a message
TemplatesOutboundPre-approved Meta message templates (see below)

You can toggle which outbound message types are active in your export configuration. Text is always enabled. Disable types you don't want the agent to use — for example, if you never want your agent to send images, turn off the Images toggle.

WhatsApp export message types configurationImage: WhatsApp export message types configuration

info

Inbound is always on. Customers can always send any media type — the agent will process it (transcribe audio, analyze images, read documents). The toggles only control what the agent is allowed to send back.


WhatsApp Message Templates

WhatsApp requires that businesses use pre-approved message templates to start conversations with users (outbound messages outside the 24-hour customer service window). Templates are reviewed by Meta and must follow their content policies.

What Are Templates?

Templates are structured messages you design in advance. They can include:

  • Header — Text, image, video, or document
  • Body — The main message text, with optional placeholders for personalization (e.g., {{1}} for a customer name)
  • Footer — Small text below the body
  • Buttons — Quick Reply, URL, or Phone Number buttons

Viewing and Sending Templates

  1. Open a WhatsApp conversation in the Chat View
  2. Click the Templates button
  3. Browse your approved templates — you can filter by:
    • Status: Approved, Pending, Rejected
    • Language: English, Spanish, etc.
    • Category: Marketing, Utility, Authentication
  4. Select a template and fill in any required parameters
  5. Click Send

WhatsApp template picker showing approved templates with parameter fieldsImage: WhatsApp template picker showing approved templates with parameter fields

Template Categories

CategoryPurposeExample
MarketingPromotions, offers, announcements"Hi {{1}}, check out our new collection!"
UtilityOrder updates, reminders, confirmations"Your order {{1}} has been shipped"
AuthenticationVerification codes"Your code is {{1}}. Valid for 5 minutes."
info

Templates must be approved by Meta before you can use them. Approval usually takes a few minutes but can take up to 24 hours.


Chat View & Human Takeover

The WhatsApp Chat View lets you see all incoming conversations and step in whenever you need to take over from the agent.

WhatsApp Chat View showing conversations and the agent toggleImage: WhatsApp Chat View showing conversations and the agent toggle

Viewing Conversations

  1. Open your agent in the Agent Control Panel
  2. Select the WhatsApp export
  3. You'll see all conversations listed with the latest messages

Pausing the Agent on a Single Conversation (Auto / Manual)

Each conversation has its own toggle. This is per-conversation — switching one conversation to Manual does not affect any others.

ModeWhat Happens
Auto (green)The agent responds automatically to incoming messages on this conversation
Manual (gray)The agent pauses on this conversation — you respond manually as a human

When you switch a conversation to Manual:

  • The agent stops responding for that conversation only
  • You can type and send messages directly to the user from the Chat View
  • Other conversations continue running with the agent enabled
  • You can optionally set a reason for pausing (e.g., "Transferring to support team")

Switch back to Auto when you're ready for the agent to take over again. The agent will see the full history — including the messages you sent manually — so it can pick up the conversation seamlessly.

tip

Use Manual mode for complex situations that need a human touch — billing disputes, sensitive issues, or anything the agent can't handle. The user won't know the difference; messages come from the same WhatsApp number.


Pause the Entire Channel (Deactivate Without Disconnecting)

Sometimes you need the agent to stop responding on every conversation without disconnecting WhatsApp completely. For example: a holiday break, a temporary issue with your knowledge base, or while you're rolling out a new version of the agent.

Channel deactivation lets you pause the agent across the entire WhatsApp channel — while still keeping all conversations and incoming messages saved for when you're ready to come back.

Deactivate the agent's WhatsApp channel — preview of the toggle and its impactImage: Deactivate the agent's WhatsApp channel — preview of the toggle and its impact

What Happens When You Deactivate

BehaviorStatus
The agent stops responding✓ Stops on every WhatsApp conversation immediately
Incoming messages stay saved✓ All messages, files, audio, and media keep being stored
Conversations remain visible✓ You can still browse the full conversation list and history in the Chat View
Credit consumptionZero — the agent is never invoked while deactivated
The phone number stays connected✓ WhatsApp Business setup is preserved; you don't have to re-authenticate
You can still send messages manually✓ Reply by hand from the Chat View on any conversation

How to Deactivate

  1. Open your agent in the Agent Control Panel and select the WhatsApp export
  2. Toggle the Active switch off on the export card
  3. A confirmation drawer appears explaining the impact — confirm to apply
  4. The card dims to indicate the channel is paused

WhatsApp channel deactivation toggle and confirmation drawerImage: WhatsApp channel deactivation toggle and confirmation drawer

To reactivate, toggle the switch back on. The agent picks up right where it left off, with the full conversation history intact — including any messages received while the channel was paused.

Channel Deactivation vs Manual Mode

These two controls solve different problems. Use the right one for your situation:

Manual Mode (per conversation)Channel Deactivation (whole channel)
ScopeOne specific conversationAll conversations on the channel
Best forA single customer needing human helpHolidays, maintenance, agent issues
Other conversationsContinue with the agentAlso paused — none get a response
Manual repliesYes, from the Chat ViewYes, from the Chat View
Where to toggleInside the conversation viewOn the WhatsApp export card

Managing Your Export

Editing Configuration

Click the edit button on your WhatsApp export to:

  • Toggle which outbound message types are active
  • View your connected phone number and WABA ID
  • Reconfigure credentials if needed

Removing the Export

To disconnect WhatsApp from this agent entirely:

  1. Open the Channels panel
  2. Click the delete/remove button on the WhatsApp export
  3. Confirm the removal

Your WhatsApp Business account stays intact in Meta — only the connection to this agent is removed. The phone number remains registered to your WABA and can be reconnected later (to the same agent or a different one).

info

If you only need a temporary pause, use channel deactivation (above) instead of removing the export. Deactivating keeps your conversation history, while removing the export disconnects everything.


Troubleshooting

IssueSolution
Messages not arrivingCheck that the channel is active (toggle on the export card). If using Manual setup, verify the webhook URL is configured in your Meta App settings
Agent not responding on one conversationVerify the conversation's toggle is set to Auto in the Chat View
Agent not responding on any conversationCheck that the channel itself is active — the export card toggle may be off
Template rejectedReview Meta's content policies and resubmit with compliant content
Phone number already registeredThe number must not be active on another WhatsApp account. Deregister it first
Facebook Login popup blockedAllow popups from Nirvai in your browser settings
Embedded Signup popup doesn't returnClose the popup and try again. If you switched Facebook accounts mid-flow, sign out of all Facebook accounts and start over

What's next

To understand Meta's rules behind the scenes — the 24-hour reply window, messaging limits, template approval, and pricing — read the WhatsApp Platform Guide.