/
/
Turn an unresolved call into a Dynamics 365 Sales case
For support teams who want a case opened from a Contivio call without retyping the details, just by asking their AI assistant.
On this page
Connector
Connect Microsoft Dynamics 365 Sales, pick your AI tool and paste the prompt.
The problem
Unresolved calls get retyped into duplicate cases
After a call that was not resolved you rebuild the story in Dynamics 365 Sales, find the right account and hope no one already opened a case. Miss the check and the customer ends up with two cases.
Without PopdockAI
- Retype the call details into a new case
- Search for the account by hand
- Check recent cases to avoid a duplicate
- Paste too much customer detail into the case
With PopdockAI
- The case description comes from the call summary
- Exactly one matching account is required
- A similar open case from the last 14 days stops the job
- You confirm before one case is created
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Decide whether the Contivio call `{call-id}` needs a new Dynamics 365 Sales case, and create it only after the user confirms.
**Step 1: Read the call (contivio server)**
Call `contivio-get-call` with `id` set to `{call-id}`. If nothing comes back, stop. Note `customer-id` if present on the call, `result`, `queue`, `agent`, `start-time` and `ai-short-summary`. If the result shows the call was resolved, say so and stop.
**Step 2: Find the customer and any existing case (dynamics-365-sales server)**
Call `dynamics-365-sales-get-accounts` with `account-number` set to the call's customer id. If not exactly one account matches, report that and stop. Then call `dynamics-365-sales-get-incidents` with `customer` set to the account name and `created-on.from` set to 14 days before the call. If a similar open case exists, show it and stop.
**Step 3: Confirm, then write**
Show the case you would create: title, description built from the short summary, priority `{priority}` (default Normal) and the customer. Ask for confirmation. Only after an explicit yes, call `dynamics-365-sales-create-case` once with the account as `customer-id`.
**Step 4: Report**
The created case, or that nothing was written and why.
**Rules & Guidelines:**
* `contivio-get-call` is on the contivio server. `dynamics-365-sales-get-accounts`, `dynamics-365-sales-get-incidents` and `dynamics-365-sales-create-case` are on the dynamics-365-sales server.
* `dynamics-365-sales-create-case` is the only write tool allowed, once, after confirmation. Do NOT call `dynamics-365-sales-update-case` or `dynamics-365-sales-create-note`.
* Do not copy recording links or more customer detail into the case than the summary needs.
**Validation:**
* If the customer cannot be matched, never create a case without a customer.
* If the user declines, write nothing.Who it's for
One answer, three teams that use it
Support agents
Raise a case straight from the call
Open a case from the call you just finished without retyping the details or searching for the account first.
Open a Dynamics 365 Sales case from Contivio call 48213 with normal priority if nothing similar is open.
Team leads
Follow up unresolved calls from a review
When a review turns up a call that was left open, you can turn it into a case in a single message and avoid doubling up.
Call 51407 for Fabrikam was left unresolved. Check whether a case already exists in Dynamics 365 Sales and open one if not.
Customer success
Make sure a promised follow up is tracked
A call where the customer was promised action gets a case with a clean description, so the commitment is not lost.
Create a high priority Dynamics 365 Sales case for Northwind Traders from Contivio call 50992 once you have confirmed they are not already covered.
How it works
What PopdockAI does when you ask
You give the call and your AI assistant does the checks in Contivio and Dynamics 365 Sales. It writes one case only after you have seen it and said yes.
Ask
You give the Contivio call and optionally a priority.
Check
It reads the call, finds exactly one matching account and looks for a similar open case.
Confirm
You see the title, description, priority and customer and say yes.
Create
It creates one case and tells you what was written, or that nothing was.
What PopdockAI provides
The tools behind the answer
Ready made tools for Microsoft Dynamics 365 Sales and one secure connection to your AI tool. No code, no exports.
contivio-get-call
microsoft-dynamics-365-sales-get-accounts
microsoft-dynamics-365-sales-get-incidents
microsoft-dynamics-365-sales-create-case
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
One clear case per unresolved call
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)
