Connectors

/

Contivio

/

Enrich a Contivio call with Dynamics 365 Sales context
Report
Cross-Connector

Know the caller's Dynamics 365 Sales history before you call back

For support agents who want a Contivio call enriched with Dynamics 365 Sales phone calls and cases, just by asking their AI assistant.

Try PopdockAI free
Get a live demo
Enrich a Contivio call with Dynamics 365 Sales context
Give me the Dynamics 365 Sales context for call 55302 before I call them back.
The caller matches Contoso Ltd in Dynamics 365 Sales, which has 1 open case with high priority. - Call: inbound, Support queue, 09:12, agent Sam Patel, result Callback requested - CRM phone calls: Renewal check-in, 28 Oct, owner Priya Shah - Open case: CAS-01844, Invoice not received, high priority, active - Before calling back: the open invoice case was raised last week Want me to look further back than 30 days?
Contivio
Sample figures. Your results come from your own account.
contivio-get-call
microsoft-dynamics-365-sales-get-phonecalls
microsoft-dynamics-365-sales-get-incidents

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Contivio

Contivio
Run it on your own Contivio data.

Connect Contivio, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Agents call back without the CRM history

To see who a caller is, an agent looks at the call, then searches the CRM by number. Formatting differences hide matches, and an open case can be missed before the callback.

Without PopdockAI

  • Read the call and note the phone number
  • Search Dynamics 365 Sales for that number
  • Try again without the country code
  • Look through cases for anything still open

With PopdockAI

  • The customer number is taken from the call for you
  • Matching CRM phone calls are found, with formatting retried
  • Open and recent cases are listed
  • Ambiguous customers are listed, never guessed

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Build a CRM context brief for the Contivio call `{call-id}`, looking back `{lookback-days}` days (default 30) in Dynamics 365 Sales.

**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 `from`, `to`, `direction`, `queue`, `agent`, `result` and `ai-short-summary`. The customer phone number is `from` for an inbound call and `to` for an outbound call.

**Step 2: Find the CRM side (dynamics-365-sales server)**

Call `dynamics-365-sales-get-phonecalls` with `phone-number` set to the customer phone number. If no phone call matches, try the number without punctuation or country code. Then call `dynamics-365-sales-get-incidents` using the customer name from the phone call's regarding value as `customer.contains`, with `created-on.from` set to the lookback start. If no phone call matches, report the caller as not found in the CRM and skip to Step 3.

**Step 3: Report**

* The call: time, direction, queue, agent, result, short summary.
* CRM phone calls for that number: subject, date, owner.
* Open and recent cases: case number, title, priority, status.
* One line on what the agent should know before calling back.

**Rules & Guidelines:**

* `contivio-get-call` is on the contivio server. `dynamics-365-sales-get-phonecalls` and `dynamics-365-sales-get-incidents` are on the dynamics-365-sales server.
* This is read-only. Do NOT call `dynamics-365-sales-create-case`, `dynamics-365-sales-create-phone-call`, `dynamics-365-sales-create-note`, `dynamics-365-sales-update-case` or any other create or update tool.
* Show only what the question needs; do not repeat full phone numbers more than once.

**Validation:**

* If the call has no `from` or `to` number, report that the match cannot be made.
* If more than one CRM customer matches the number, list them and do not guess.

Who it's for

One answer, three teams that use it

Support agents

Call back with context

See the caller's earlier phone calls and open cases before you dial, so you do not ask them to repeat themselves.

Give me the Dynamics 365 Sales context for call 55302 before I call back.

Account managers

Check what support has been dealing with

See recent cases and phone calls for a customer who just called, before you speak to them about anything else.

Customer called on call 55340. What open cases do they have in Dynamics 365 Sales for the last 60 days?

Team leads

Review how a call fits the account history

Understand whether a call was part of a longer issue by seeing the phone calls and cases around it.

For call 55377 from Northwind Traders, show matching phone calls and cases in Dynamics 365 Sales for the last 30 days.

How it works

What PopdockAI does when you ask

You name the call and your AI assistant reads Contivio and Dynamics 365 Sales. It only reads, and it does not create or update any record.

Ask

You give a call and, if you like, how many days to look back.

Your AI tool

Read

It reads the Contivio call and takes the customer's phone number from it.

contivio-get-call
microsoft-dynamics-365-sales-get-phonecalls
microsoft-dynamics-365-sales-get-incidents

Match

It finds Dynamics 365 Sales phone calls for that number and the customer's recent cases.

No items found.

Report

It sets out the call, the CRM history and one line on what to know before calling back.

Your AI tool

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.

get-data

contivio-get-call

Returns Contivio call records with durations, results, direction, queue, agent and AI call summaries, filterable by date, agent, queue and customer.
get-data

microsoft-dynamics-365-sales-get-phonecalls

Returns Dynamics 365 Sales phone calls. Filter by activity status, phone number, owner, regarding record, due date, subject and direction, and cap how many records come back.
get-data

microsoft-dynamics-365-sales-get-incidents

Returns Dynamics 365 Sales cases. Filter by case title, status, customer, priority, owner, case type, created date and case number, and cap how many records come back.
Read only.Nothing in Contivio Changes

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.

How Popdock AI secures your data

The outcome

A callback brief in seconds

Try PopdockAI free
Get a live demo

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.

Try PopdockAI Free
See Documentation