Connectors

/

Salesforce

/

Open a Salesforce case from a Contivio call
Write
Cross-Connector

Open a Salesforce case from a Contivio call without retyping it

For support agents who want a call logged as a Salesforce case, with the summary filled in, just by asking their AI assistant.

Try PopdockAI free
Get a live demo
Open a Salesforce case from a Contivio call
Open a Salesforce case for Contivio call 48213 on the Fabrikam account with high priority, unless one is already open.
Fabrikam has no open case from the last two days, so I can create one. - Subject: Shipment arrived damaged, replacement requested - Description: call summary plus call 48213, 3 Nov 10:42, agent Maria Lopez, Support queue - Account: Fabrikam - Priority: High, origin Phone Shall I create this case?
Salesforce
Sample figures. Your results come from your own account.
contivio-get-call
salesforce-get-account
salesforce-get-case
salesforce-add-case

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Salesforce

Salesforce
Run it on your own Salesforce data.

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

Try PopdockAI free

The problem

Call notes get retyped into duplicate cases

After a call you copy the notes into a new Salesforce case and fill in the account, priority and origin. If you skip the check for an open case, the customer gets a second case for the same issue.

Without PopdockAI

  • Retype the call summary into a new case
  • Find the account and set the priority by hand
  • Forget to check for a case already open
  • Leave out the call time, agent or queue

With PopdockAI

  • The case is drafted from the call summary and details
  • Open cases from the last two days are checked first
  • You confirm before the single case is created
  • The case is read back and its number reported

The prompt

Use this prompt

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

Prompt
**Objective:** Create a Salesforce case for Contivio call `{call-id}` on account `{account-id}`, with priority `{priority}` (default Medium), but only after confirmation and only if no open case already covers it.

**Step 1: Read the call (Contivio)**

Call `contivio-get-call` with `id` set to `{call-id}`. If nothing returns, stop. Note the agent, start time, queue, result, disposition and `ai-short-summary`.

**Step 2: Check for existing cases (Salesforce)**

Call `salesforce-get-account` with `account-id` set to `{account-id}`; if nothing returns, stop. Then call `salesforce-get-case` with `account-id` set to `{account-id}` and `closed` set to false. If an open case was created within two days of the call, show it and stop; do not create a duplicate.

**Step 3: Confirm**

Show the case you would create: subject (short, from the call summary), description (the summary plus call id, time, agent and queue), account, priority, and origin Phone. Ask the user to confirm. Do nothing further until they say yes.

**Step 4: Create and verify**

Only after a yes, call `salesforce-add-case` once with those values. Then call `salesforce-get-case` for the account to confirm it exists and report the case number.

**Rules & Guidelines:**

* `contivio-get-call` is on the Contivio server; `salesforce-get-account`, `salesforce-get-case` and `salesforce-add-case` are on the Salesforce server.
* `salesforce-add-case` is the only write allowed, once, after confirmation. Never call `salesforce-update-case` or any other add or update tool.

**Validation:**

* If the call has no summary, ask the user for a subject instead of inventing one.
* If the confirmation is anything other than a clear yes, create nothing.

Who it's for

One answer, three teams that use it

Support agents

Log the call as a case in one message

Turn the call you just finished into a Salesforce case with the summary already written, instead of typing it again.

Open a Salesforce case for Contivio call 48213 on the Contoso account, medium priority.

Support team leads

Stop duplicate cases from repeat callers

When a customer rings twice about one issue, an open case from the last two days is shown and no second case is made.

Contivio call 50731 is a repeat contact from Northwind Traders. Check Salesforce for an open case before creating anything.

Customer success

Make sure a promised follow up is a real case

Calls where you agreed to investigate become a case with the call id, time, agent and queue in the description, so nothing is lost.

Create a high priority Salesforce case for Fabrikam from Contivio call 51022 and show me the details first.

How it works

What PopdockAI does when you ask

You give the call and the account, and your AI assistant reads Contivio and checks Salesforce. Nothing is created until you have seen the case and said yes.

Ask

You give the Contivio call, the Salesforce account and a priority.

Your AI tool

Check

It reads the call and its summary and looks for an open case on the account within two days.

contivio-get-call
salesforce-get-account
salesforce-get-case

Confirm

You see the subject, description, account and priority and say yes.

No items found.

Create

It creates one case, then checks it exists and reports the case number.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Salesforce 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

salesforce-get-account

Returns Salesforce accounts with their type, industry, owner, billing address, phone and annual revenue. Filter by name, account number, type, industry, owner, billing city or state, annual revenue and created date.
get-data

salesforce-get-case

Returns Salesforce support cases with their subject, status, priority, origin, owner, account, contact and whether they are escalated or closed. Filter by case number, subject, status, priority, owner, account, contact email, closed flag and created date.
run-action

salesforce-add-case

Opens a Salesforce case for an account and contact, with subject, description, type, priority, origin and status.
Read only.Nothing in Salesforce 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 case per call, created once and confirmed

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