/
/
Find the Zendesk tickets that belong to a phone call
For support agents who want to match a Contivio call to the caller's Zendesk tickets without searching both systems by hand.
On this page
Connector
Connect Contivio, pick your AI tool and paste the prompt.
The problem
Matching a call to its tickets is manual
Agents match a phone call to the related Zendesk tickets by hand across two systems. Phone numbers are formatted differently, so tickets are often missed or matched to the wrong customer.
Without PopdockAI
- Read the call and note the caller's number
- Search Zendesk users for that number
- Scan tickets around the call date
- Guess when several users look similar
With PopdockAI
- The call is read first, with a stop if it is not found
- The customer is matched by email or phone digits only
- Several matches are listed and the job stops
- Tickets are listed with same day and assignee checks
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Find the Zendesk tickets related to Contivio call `{call-id}`, looking `{window-days}` days either side of the call (default 3).
**Step 1: Read the call (Contivio server)**
Call `contivio-get-call` with `id` set to `{call-id}`. If nothing comes back, say the call was not found and stop. Note `start-time`, `agent`, `queue`, `direction`, `result`, `from`, `to` and `ai-short-summary`.
**Step 2: Find the customer in Zendesk (Zendesk server)**
If `{customer-email}` is given, call `zendesk-get-ticket` with `requester-email` set to it and `created.from` and `created.to` set to the call date minus and plus the window. Otherwise call `zendesk-get-user` with `max-records` 200 and pick users whose `phone` matches the call's customer number (the `from` number for inbound calls, the `to` number for outbound), ignoring spaces, dashes and a leading plus. If no user matches, report the call as present in Contivio with no matching Zendesk user, and stop. If several match, list them and stop. Then call `zendesk-get-ticket` with that user's `email` as `requester-email` and the same date window.
**Step 3: Report**
Show the call (time, agent, queue, direction, result, summary), then a table of tickets: `ticket-id`, `subject`, `status`, `priority`, `assignee-name`, `created-date`. Say whether a ticket was created on the same day as the call and whether the ticket assignee matches the call agent.
**Rules & Guidelines:**
* `contivio-get-call` is on the Contivio server. `zendesk-get-user` and `zendesk-get-ticket` are on the Zendesk server.
* Read only. Do not call `zendesk-add-ticket`, `zendesk-update-ticket`, `zendesk-add-ticket-comment` or any other write tool.
**Validation:**
* If the call has no usable phone number and no `{customer-email}` was given, ask for an email and stop.
* If the two systems format phone numbers differently, compare digits only and say so.Who it's for
One answer, three teams that use it
Support agents
Find the ticket that goes with a call
Start from a call and see the caller's tickets around it, so you pick up the right case instead of opening a new one.
Which Zendesk tickets relate to Contivio call 9b20de41?
Support team leads
Check that calls led to tickets
See whether a ticket was created the same day as a call and whether the assignee matches the call agent.
For call 4c88a1f0, was a ticket created that day, and is the assignee the agent who took the call?
Quality assurance
Review a call with its ticket history
Pair a call under review with the customer's tickets in a window around it, using their email when the phone match is unclear.
Trace call 7e15b3d2 to tickets for dana@northwindtraders.com, 5 days either side.
How it works
What PopdockAI does when you ask
You give a call id and your AI assistant reads Contivio and Zendesk. It never calls a Zendesk action that adds or changes a ticket or comment.
Ask
You give a call id, and optionally the customer's email and a window in days.
Read
It reads the call and notes the time, agent, queue, direction, result and summary.
Match
It finds the Zendesk customer by email or by phone digits and stops on no match or several.
Report
You get the call and their tickets, with same day and assignee checks.
What PopdockAI provides
The tools behind the answer
Ready made tools for Contivio and one secure connection to your AI tool. No code, no exports.
contivio-get-call
zendesk-get-ticket
zendesk-get-user
This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.
The outcome
Every call tied to the right tickets
Related use cases
More ways to put this data to work
One prompt template with infinite possibilities.
Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.
Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

.webp)
