Connectors

/

Microsoft Dynamics 365 Sales

/

Open a Dynamics 365 Sales case from an unresolved Contivio call
Write
Cross-Connector

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.

Try PopdockAI free
Get a live demo
Open a Dynamics 365 Sales case from an unresolved Contivio call
Call 48213 in Contivio ended without a fix. Open a Dynamics 365 Sales case for it at high priority if there is not one already.
No similar open case exists for Contoso in the last 14 days, so a new case is justified. - Customer: Contoso Ltd (one matching account) - Title: Invoice portal login keeps failing - Description: built from the call summary, no recording link - Priority: High Shall I create this case?
Microsoft Dynamics 365 Sales
Sample figures. Your results come from your own account.
contivio-get-call
microsoft-dynamics-365-sales-get-accounts
microsoft-dynamics-365-sales-get-incidents
microsoft-dynamics-365-sales-create-case

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Microsoft Dynamics 365 Sales

Microsoft Dynamics 365 Sales
Run it on your own Microsoft Dynamics 365 Sales data.

Connect Microsoft Dynamics 365 Sales, pick your AI tool and paste the prompt.

Try PopdockAI free

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.

Prompt
**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.

Your AI tool

Check

It reads the call, finds exactly one matching account and looks for a similar open case.

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

Confirm

You see the title, description, priority and customer and say yes.

No items found.

Create

It creates one case and tells you what was written, or that nothing was.

Your AI tool

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.

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-accounts

Returns Dynamics 365 Sales accounts. Filter by city, annual revenue, status, industry, account number, email, account name and state, 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.
run-action

microsoft-dynamics-365-sales-create-case

Creates a customer service case in Dynamics 365 Sales for an account or contact. Takes the title and customer, plus optional description, case type, origin, primary contact and priority.
Read only.Nothing in Microsoft Dynamics 365 Sales 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

One clear case per unresolved call

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