Ticket management (Paragon integration)
Connect Zendesk from the Integrations page in Agent Studio to search and update support tickets during calls.- Go to the Integrations page in Agent Studio
- Find Zendesk and click Connect
- Select an environment (Sandbox, Pre-release, or Live)
- Click Connect new account and authenticate with Zendesk via OAuth
- Enable Zendesk actions in your agent’s prompt
Available actions
| Action | Description |
|---|---|
| Search Tickets | Search for Zendesk support tickets by criteria such as requester, status, subject, or priority |
| Update Ticket | Update an existing ticket’s status, priority, or add internal notes |
Enabling actions
Reference Zendesk actions in your agent’s prompts. See the Zoom integration for detailed examples of this pattern.Call handoff (SIP)
Route calls through Zendesk and hand off to Zendesk agents via SIP.Call flow
- A caller dials a number linked to a Zendesk account.
- Zendesk uses the Overflow feature to redirect the call to PolyAI. This requires a phone number from a SIP provider such as Twilio or Gamma.
- Twilio converts the PSTN call to SIP and sends it to PolyAI.
- PolyAI initiates a SIP INVITE to an outbound integration, routing the call to a SIP URI provided by Zendesk.
- Zendesk agents receive the call. If a ticket exists, they see its ID with the
X-Zendesk-Ticket-IdSIP header.
Test environment
PolyAI has a test setup for Zendesk integrations:- Zendesk dev account: PolyAI Zendesk
- Test bot: UK-1 Staging
- Test number:
01727 326086
Setup
Configure PSTN forwarding
Zendesk numbers route calls internally by default. To send calls to PolyAI, enable Overflow.- Create an empty agent group in Zendesk Talk.
- Set the inbound number to route only to this group.
- Configure Overflow to forward calls:
- If no agents are available (the group is empty, so this is always the case).
- Outside business hours.
- Disable voicemail for this number.
Enable SIP in Zendesk
Zendesk requires SIP to send calls to external systems.- In Zendesk, go to Admin Center.
- Select Channels → Talk → Lines.
- Click Add Line → Add SIP Line.
- Register a SIP address. Name it to match the client or project.
- Add Kamailio’s IP address range to allow traffic from PolyAI.
Create the outbound integration
- Create a
telephony.<environment>.yamlfile in the project’sdomainfolder.
- Deploy it:

