Contact Centres

Hand off conversations to Zendesk with external handoff

Workflow purpose

This guide demonstrates how to use Proto's External handoff action to pass a conversation from your AI agent to a support team that works in Zendesk – without asking that team to change tools or the person to change channel.

The AI agent answers what it can, then decides which conversations belong with the Zendesk team, collects the details that team needs and hands the chat over. Zendesk receives the person's contact details and a link to the full transcript; the person keeps chatting on WhatsApp or Webchat, and the Zendesk agent's replies arrive in the same chat. When Zendesk closes the conversation, it comes back to the AI agent.

If your live agents work in Proto's own Inbox, use Live agent handoff instead – Step 9 compares the two.

Who can benefit from this guide:

  • Support teams that already run their service desk in Zendesk
  • Banks and telecoms operators with a specialist team, such as billing or fraud, in Zendesk
  • Government agencies moving a contact centre to AI chat one team at a time
  • Hospitals and health plans whose patient services team works in Zendesk
  • Any organisation splitting conversations between Proto's Inbox and Zendesk

Hand off conversations to Zendesk

This workflow routes the right conversations to your Zendesk team, with details and transcript attached, and handles the return. See how to build a Zendesk handoff workflow.

Just starting with the platform?
For initial setup of your AI agent – including workspace setup, agent training, and channel deployment – please start here. This workflow guide assumes your AI agent is set up and ready for more advanced configurations.

1. Create a trigger

Start the flow when a person asks for a person, or raises a topic your Zendesk team owns.

  • Navigate to the Workflows tab in the AI agent settings.
  • Click New workflow and select Message received as the Workflow type.
  • Name the trigger (e.g. “Support Team Handoff”) and add a short description (e.g. “Triggers if the person asks to speak to a person, a support agent or the support team, or wants help the AI agent can’t give.”).
  • Add training phrases (e.g. “Speak to an agent”, “I want to talk to a person”, “Connect me to support”, “This isn’t helping, I need someone”).

You can also reach this workflow from other workflows – for example with a Jump action when a billing dispute needs a specialist.

2. Connect Zendesk to the AI agent

The handoff can’t happen until the AI agent has a Zendesk app.

  • Open the AI agent’s Publish tab, click Add Channel and choose Zendesk. It’s a paid-plan app – if it shows Upgrade for this app, it isn’t in your plan.
  • Under Configuration, paste the App ID, Key ID, Secret Key and Shared secret from your Zendesk messaging integration.
  • Under Webhook, copy Proto’s webhook URL and paste it into the Webhook endpoint URL field in Zendesk’s Admin Center › Apps and integrations › Conversations integrations.
  • Make sure the Zendesk app is switched on in the Publish tab list.

Proto uses the webhook to receive Zendesk agents’ replies and to learn when Zendesk closes a conversation. Ask your Zendesk administrator to confirm the conversation close is sent, because it’s what hands the chat back in Step 8.

3. Decide which conversations go to Zendesk

Send only the conversations your Zendesk team owns, and keep the rest in Proto.

Add a Send message action with quick replies, so the person picks a topic:

“I’ll put you in touch with the right team. What is it about?”

Quick replies: Billing or charges | Technical fault | Close my account | Something else. Under each, add a Set variable action that stores the choice in topic.

Then add a Branch action:

Condition Goes to
topic == "Billing or charges" or topic == "Close my account" The Zendesk path – Steps 4 to 8
Else Live agent handoff to your Proto Inbox team

If only existing customers of a particular service are handled in Zendesk, check that first with a Send API action to your customer system – using {_customer.email} on a signed-in Webchat or {_channel_profile.phone_number} on WhatsApp – and add the result to the condition.

4. Collect the details first

Give the Zendesk agent everything they need, so the person doesn’t repeat themselves.

Add an Ask survey action. Action title: Handoff details

Field Variable Type Invalid reply
Your full name full_name Text Please enter your full name
Email email Email Please provide a valid email address
Account or customer number account_number Text Please enter your account number
Briefly describe the problem issue Text Please describe the problem in a sentence or two

Turn on Enable skip for the account number only, so people who don’t have it to hand can continue.

Zendesk receives the person’s name, email address and phone number from their profile – the customer profile on Webchat, the channel profile on WhatsApp and other channels. Someone with no name on file appears as Proto User followed by an ID, so the survey answers matter: they reach the Zendesk agent through the transcript in the next step.

5. Recap before the handoff

Put a clear summary at the end of the transcript the Zendesk agent will open.

Add a Send message action:

“Thanks, {full_name}. I’m passing this to our {topic} team: {issue}. Account: {account_number}. They’ll reply here in this chat.”

When the handoff runs, Proto starts a conversation in Zendesk named Proto Transferred Conversation with the Proto conversation ID, and its first message links to a text file of the whole chat so far – every message from the person, the AI agent and any live agent. The link works for 24 hours, so agents should open it when they pick the conversation up. Ending on the recap means the key facts are the last lines they read.

6. Add the External handoff action

Pass the chat to Zendesk.

Add an External handoff action:

  • Platform: Zendesk. It stays greyed out until the Zendesk app from Step 2 is added.
  • Welcome message: optional, sent to the person as the chat moves, e.g. “You’re now connected to our {topic} team. An agent will reply here – replies can take a few minutes during busy times.” It can include variables, and each language has its own.

From here, the AI agent stops replying. The person keeps typing in the same chat; their messages, files and shared locations go to the Zendesk agent, and the agent’s replies arrive in the person’s chat on WhatsApp, Webchat or whichever channel they started on. The exchange is also saved to the conversation in Proto.

External handoff has no availability check and no team selection – routing and opening hours are handled inside Zendesk. That’s why the Welcome message should set expectations on reply times.

7. Add a fallback, not follow-up messages

Make sure nobody is left waiting if Zendesk isn’t connected.

If the handoff can’t happen – the Zendesk app isn’t set up or has been switched off – the action does nothing and the workflow carries on to the next action. When the handoff succeeds, nothing after it runs. So the actions you place directly after External handoff act as your fallback, and you shouldn’t put normal follow-up messages there.

Add a Send message:

“I can’t reach that team right now, so I’m passing you to one of our live agents instead.”

Then a Live agent handoff assigned to a general support team, with Live agent availability check turned on. Under If there is no live agent online, add a Create ticket action with full_name, email and issue, and a Send message with the reference {_new_ticket.short_id}, so the request is still logged.

8. Handle the return to the AI agent

Pick the conversation back up when Zendesk is done.

When the Zendesk agent closes the conversation and Zendesk notifies Proto, the chat returns to the AI agent and the When live agent transfers back to AI agent branch under External handoff runs. Add a Send message there:

“Your conversation with our {topic} team has ended. Is there anything else I can help with?”

Quick replies: No, that’s all | I have another question. Under No, that’s all, add a Close chat action. If the person asks for the team again later, the handoff creates a new Zendesk conversation rather than reopening the old one.

9. Choose the right handoff

Use External handoff only where the team works in Zendesk.

External handoff Live agent handoff
Where agents work Zendesk Proto Inbox
Choosing a team In Zendesk A fixed team in the action – use a Branch with one handoff per team
Availability check None Live agent availability check, with If there is no live agent online
Context for the agent Contact details and a transcript link The full chat in the Inbox, with tags, custom fields and live translation
Return to the AI agent When Zendesk closes the conversation When the live agent transfers it back

Many organisations use both, as in Step 3: specialist teams in Zendesk, everyone else in the Proto Inbox.

10. Test the flow

Validate every path before going live using the AI agent tester side panel, and test the Zendesk side with a real Zendesk agent.

  • Choose Billing or charges and confirm the recap, the Welcome message and a new conversation in Zendesk with a working transcript link.
  • Reply from Zendesk and confirm the message reaches the person; send a file from the person and confirm it reaches Zendesk.
  • Close the conversation in Zendesk and confirm the return message and quick replies appear.
  • Switch the Zendesk app off and confirm the fallback reaches a live agent, or a ticket when nobody is online.
  • Build and test in an undeployed version – Duplicate the live version first – then Deploy it once every path passes.

Finalise the AI agent deployment by configuring your preferred channels and languages.