All chat handoff integrations are configured from Configure > Integrations in Agent Studio. The handoff is triggered from a Python tool returning a
handoff payload, then assigned to the Knowledge topic (or flow step) that should escalate.Available integrations
Salesforce
Hand off to Salesforce Service Cloud Messaging.
Zendesk
Hand off to Zendesk Messaging through a Conversations Integration.
NICE CXone
Hand off to NICE CXone Digital using Brand ID and Channel ID.
Amazon Connect
Hand off to an Amazon Connect chat contact flow via
StartChatContact.Genesys Cloud
Hand off through Genesys Open Messaging.
Webex by Cisco
Hand off to Webex Contact Center.
How it works
- Set up the integration on the CCaaS or CRM side. Each platform expects a webhook, channel, or messaging app to be created so PolyAI has a place to deliver the conversation.
- Connect from Studio. Go to Configure > Integrations, click Connect on the relevant tile, and paste the IDs and secrets generated in step 1.
- Write a handoff function. Return a structured
handoffpayload from a Python tool – the payload tells PolyAI which integration to hand off to. - Assign the function to a topic. Add the tool to the Knowledge topic (or flow step) that should trigger the handoff. When that topic fires, PolyAI announces the transfer, sends the conversation to the live agent, and continues to proxy turns.
The handoff payload
All chat handoff integrations share the same payload shape. Replace<integration> with the integration key (e.g. salesforce_integration, nice_integration, amazon_connect_integration, genesys_integration, zendesk_integration, webex_integration):
utterance is the message the agent sends to the user immediately before the handoff. The empty object {} is where integration-specific parameters go – most integrations accept routing hints such as a queue ID, skill, or department.
Choosing an integration
| If your live agents work in… | Use |
|---|---|
| Salesforce Service Cloud Messaging | Salesforce |
| Zendesk Messaging | Zendesk |
| NICE CXone Digital | NICE CXone |
| Amazon Connect chat | Amazon Connect |
| Genesys Cloud (Open Messaging) | Genesys Cloud |
| Webex Contact Center | Webex by Cisco |
| Anything else | Contact your PolyAI account manager to scope a custom integration. |
Related pages
Call handoff
Voice (SIP-based) handoff configuration and the handoff context model.
Handoff API
Retrieve handoff context programmatically for screen-pop or CRM enrichment.
Chat API
Integrate PolyAI into a custom chat surface and observe the
handoff object.
