/
/
See every call and case for a Salesforce account in one timeline
For support leads who want an account's Contivio calls and Salesforce cases side by side, just by asking their AI assistant.
On this page
Connector
Connect Contivio, pick your AI tool and paste the prompt.
The problem
A customer's history is split across two systems
Calls sit in the contact center and cases sit in Salesforce, so you search both and line the dates up by hand. The call that led to a case is easy to miss, and mismatched ids can hide calls altogether.
Without PopdockAI
- Look up the account's calls in the contact center
- Find its cases in Salesforce
- Line the dates up in a spreadsheet
- Miss the call that came just before a case
With PopdockAI
- The account is confirmed in Salesforce first
- Calls and cases arrive in one timeline
- Counts, open cases and call-then-case flags are added
- Id mismatches are reported, nothing is guessed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Build a single chronological history of contact center calls and support cases for Salesforce account `{account-id}`, looking back `{lookback-days}` days (default 30).
**Step 1: Confirm the account (Salesforce)**
Call `salesforce-get-account` with `account-id` set to `{account-id}`. If nothing comes back, stop and say the account was not found. Note the account name.
**Step 2: Get the calls (Contivio)**
Call `contivio-get-call` with `customer-id` set to `{account-id}` and `start-time.from` set to the start of the lookback window. Contivio's customer id is assumed to hold the Salesforce account id. If no calls come back, repeat once with the same value in `customer-id` and no date filter; if still nothing, report that Contivio holds no calls for this account and continue with cases only.
**Step 3: Get the cases (Salesforce)**
Call `salesforce-get-case` with `account-id` set to `{account-id}` and `created-date.from` set to the start of the lookback window.
**Step 4: Report**
Merge both lists into one table sorted by time: time, source (Call or Case), agent or case owner, queue or priority, result or status, and the `ai-short-summary` or case subject. Below it, give counts of calls and cases, the number of open cases, and any call that happened within one day before a case was opened.
**Rules & Guidelines:**
* `contivio-get-call` is on the Contivio server; `salesforce-get-account` and `salesforce-get-case` are on the Salesforce server.
* This prompt is read-only. Do not call `salesforce-add-case`, `salesforce-update-case`, `salesforce-add-task` or any other add or update tool.
**Validation:**
* If the two systems use different id formats and the account lookup succeeds but Contivio never matches, say so and suggest matching by customer name instead; do not guess.
* If either side returns nothing, still report the other side.Who it's for
One answer, three teams that use it
Support leads
Review an account before an escalation
See what the customer has been through in calls and cases before you reply, so you do not repeat questions they have already answered.
Give me the call and case history for account 0015000000FABRK over the last 30 days before I call them back.
Account managers
Prepare for a customer meeting
Walk into a review knowing how many calls and cases an account raised and how many are still open, without asking support for a summary.
How many calls and open cases has Contoso had in the last 60 days? Put them in one timeline.
Quality reviewers
Check whether calls led to cases
Spot calls that were followed by a case within a day, which shows where a call was not enough and the customer had to raise it again.
For Northwind Traders, which calls were followed by a Salesforce case within one day? Look back 90 days.
How it works
What PopdockAI does when you ask
You give an account id and your AI assistant reads both systems. It only reads, so nothing in Contivio or Salesforce is changed.
Ask
You give a Salesforce account id and how many days to look back.
Check
It confirms the account in Salesforce, then reads its Contivio calls and its Salesforce cases.
Merge
It sorts the calls and cases into one timeline by time.
Report
It adds counts, open cases and any call placed within a day before a case.
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.
salesforce-get-account
contivio-get-call
salesforce-get-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 timeline instead of two screens
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)
