Skip to main content
Sign up
Product

Handing a WhatsApp Chat From the AI Agent to a Person, and Back

  • Sourabh
  • Dec 6, 2026
  • 4 min read
Handing a WhatsApp Chat From the AI Agent to a Person, and Back

An AI agent that answers most questions well is only half a support product. The other half is what happens when it shouldn't answer: a refund it can't approve, an angry customer, a bug that needs an engineer. In Subport that moment is a handoff, and this post walks through how it works from both sides of the chat.

Turning it on

Handoff lives under Behavior → Human handoff in each agent's settings. Switch on "Transfer conversations to your team" and the agent can offer the customer a transfer when a conversation needs a person. You choose where those conversations land:

  • A fixed queue: support, priority, billing, technical, escalation, general, sales or retention. Every transfer from this agent goes there.
  • Choose from the conversation: the AI agent names the queue that fits the conversation, or Subport picks one from the reason the agent gives for the transfer. Pick a fixed queue when every transfer must land in the same place.

You can also write the message the customer sees when the handoff starts, up to 4,096 characters, so it sounds like your brand and not like ours.

Who gets the conversation

Subport only assigns a conversation to someone who can actually pick it up. A teammate is eligible when they are:

  1. online and marked available,
  2. a member of the queue the conversation is going to,
  3. under their capacity for open conversations, and
  4. allowed into that project with the right permissions.

If nobody fits right now, the handoff waits in its queue instead of failing. Once a minute, Subport checks a batch of waiting handoffs again, most urgent and oldest first, and assigns each one that someone can now take. Nothing gets dropped because the team was busy for ten minutes.

Flows can hand off too. A flow can name a preferred teammate, which is useful when a customer already has an account manager: the handoff then waits for that teammate rather than going to whoever is free. The teammate must be a member of the handoff queue: if they are not, the flow's handoff step fails and nothing is handed off. If they are in the queue but may not take handoffs there (they cannot open the conversation's project, or their groups do not let them read and reply to conversations), the handoff goes to the queue as usual.

What the customer sees

The customer stays in the same WhatsApp chat the whole time. When an AI agent starts the handoff, it first asks the customer to confirm the transfer, and they answer with a button or by replying YES or NO. If they decline, the transfer is canceled and nothing is handed off. Once they confirm, they get your handoff message. A flow hands off at the step where you put it, without asking the customer; they get the standard notice, "I'm connecting you with a human agent. We'll update you when one is assigned." When a teammate takes over, the customer gets a short notice: "You're now connected with {name}. They'll be with you shortly." When the chat goes back to automation, the customer sees: "You're back with our assistant. Reply here if you need anything else."

On an account connected through Meta's official API, one rule comes from Meta rather than from us: a business can only send free-form WhatsApp messages within 24 hours of the customer's last message. Subport does not send WhatsApp template messages, so on such an account, if a teammate takes over after that window, the notice is not delivered, and neither is a teammate's reply sent before the customer writes again.

What your team sees

A teammate gets the handoff in their inbox with the full history the AI agent already had with the customer. Nobody has to ask "can you explain the problem again?"

When the person is done with a handoff that an AI agent started, the chat goes back to automation: the customer's next message goes where any message goes: to a flow whose message trigger matches it, or else to the AI agent of the WhatsApp account. A flow decides for itself: by default it waits until the handoff is completed and then continues from its handoff step, and a flow set not to wait goes on at once. Both actions need permission to manage conversations:

  • Complete handoff ends the handoff that is assigned to the person who presses it.
  • Return to agent hands back a chat that a teammate reopened by replying to it (see below), once no other handoff is open on that chat. A handoff that the AI agent or a flow started ends only when its assignee completes it.

And if a teammate replies to a conversation that was already closed, Subport reopens it, so the customer's answer comes back to the same thread. It is also assigned to that teammate if they are set up under Team → Support agents. If the customer already has another open chat on the same channel, Subport asks the teammate to reply there instead.

Why this matters

The point of an AI agent isn't to keep people out of support. It's to make sure the people on your team spend their time on the conversations that need them. A clean handoff, to the right person, with the context attached and a clear way back, is what makes it safe to let the agent answer everything else.

If you run support on WhatsApp, you can try Subport free and set up handoff in a few minutes.