WhatsApp

Connect WhatsApp through your own Twilio account or the Meta WhatsApp Cloud API, and run your flows on it.

WhatsApp is connected per number, through one of two providers:

ProviderWhen to use it
TwilioYou have a Twilio account. The number can be a Twilio number, or any number you own that can receive an SMS or a voice call.
Meta WhatsApp Cloud APIYou connect through Meta, including a number that should stay on the WhatsApp Business app.

Once connected, inbound messages start a conversation on the flow assigned to the number, and you can start conversations yourself with POST /outbound/chats — see Messaging channels.

Through Twilio

A number does not have to come from Twilio to run WhatsApp through it. To use a number that is not in Kilevel yet, add it under Add Phone Number → WhatsApp first.

Connect WhatsApp in Twilio once

In the Twilio Console, open Messaging → Senders → WhatsApp senders and connect WhatsApp with your Facebook business account. This links your Twilio account to a WhatsApp Business Account. You only do this once per Twilio account.

Choose Twilio on the number

Open the number, then WhatsApp → Manage, and set Connection Method to Twilio. For a number that is not a Twilio number, enter your Twilio Account SID and Auth Token.

Check or register the number

Click Check in Twilio. If the number is not a WhatsApp sender yet, enter the business name WhatsApp should show and click Register on WhatsApp. Meta sends a one-time code to the number by SMS or voice call: enter it and click Confirm code. A Twilio number needs no code.

Turn it on

When the number shows as live, turn on WhatsApp Threads and save. Kilevel points the sender's incoming messages at itself.

Warning

A number registered through Twilio cannot also stay on the WhatsApp or WhatsApp Business app. Remove it from the app first, or connect it through Meta to keep using the app.

Through Meta

Guided Meta connect opens Meta's signup in a popup:

  • Continue with WhatsApp Business app keeps the number on the app. Messages you send from the app show in the conversation in Kilevel, and the AI stops replying in that conversation so it does not talk over you. If you allow it in Meta's popup, chats from the last six months and the app's contacts are copied into Kilevel: each customer's past chat appears in their conversation, and a flow that remembers earlier chats can use it. Disconnecting Kilevel in the app (Settings → Account → Business Platform) switches WhatsApp off on the number in Kilevel.
  • Continue with existing Meta API access connects a new number, or a WhatsApp Business Account you already have.

Advanced manual setup takes the Meta values (phone number ID, access token, app secret) directly. If guided connect is not offered in your workspace, use Twilio or the manual setup.

WhatsApp calls

Turn on WhatsApp calls in the number's WhatsApp settings. The number's assigned agent then answers calls people make to it on WhatsApp, as it answers phone calls, and the number can call people on WhatsApp.

  • Through Twilio: when you save, Kilevel sets up call handling on the number's WhatsApp sender in your Twilio account.
  • Through Meta: Kilevel turns calling on for the number at Meta. If you connected your own Meta app with the manual setup, subscribe that app to the calls webhook field as well.

Calling people on WhatsApp

Choose WhatsApp wherever a call is set up:

  • Manual Calls (and a contact's Start AI Call): WhatsApp next to From Number.
  • AI call jobs: Call via → WhatsApp in the job's settings. Every row of the job is then called on WhatsApp, from the job's numbers that have WhatsApp calls on.
  • Automations: Call Via → WhatsApp on the AI Call / Chat node (channel Call) and on the Create AI Call Job node.
  • API: "channel": "whatsapp" on POST /outbound/calls (see Outbound calls), and on call jobs created through the API.

When the agent schedules a callback during a WhatsApp call, the callback is a WhatsApp call too, from the same number.

WhatsApp connects a call only if the person has allowed your number to call them. Kilevel handles this:

  1. If they have not allowed it yet, Kilevel sends them a WhatsApp message asking. If they wrote to the number in the last 24 hours, it is an ordinary message. Otherwise WhatsApp needs an approved template. Kilevel creates one in your WhatsApp Business Account or Twilio account when you turn calls on, and WhatsApp reviews it.
  2. The call waits as Planned. When they allow calls, it goes out at once. If they decline or don't answer within 24 hours, it ends with that reason.
  3. The permission lasts 7 days, or for good if they choose that. Through Meta, someone who calls the number on WhatsApp also lets it call them back for 7 days.

WhatsApp limits how often you can ask: once a day and twice a week per person. It also limits calls to a person, and takes the permission back after four calls in a row go unanswered.

Warning

Meta allows WhatsApp calls only on numbers with a messaging limit of at least 2,000 and a verified business. It never allows them on a number that stays on the WhatsApp Business app, because calls to such a number ring in the app. A WhatsApp call cannot be forwarded to a phone number or rung through to agents' phones: the agent's AI takes it. In some countries Meta does not let business numbers call users; it refuses such a call when it is placed.

Note

WhatsApp's business rules apply: a conversation you start outside the customer-service window generally needs an approved message template.