/
/
See which FreshBooks client called, and what they owe
For support agents and supervisors who want a Contivio call matched to a FreshBooks client and their open invoices, just by asking their AI assistant.
On this page
Connector
Connect Contivio, pick your AI tool and paste the prompt.
The problem
A phone number on a call, and invoices to track down
You only have a phone number from the call and have to search the accounting system for the client, then open their invoices to see what is outstanding. Similar or shared numbers make it easy to land on the wrong client.
Without PopdockAI
- Take the number from the Contivio call
- Search FreshBooks clients by business and mobile phone
- Open the client and find their invoices
- Guess when more than one client has the number
With PopdockAI
- The customer number is taken from the call
- Business and mobile phones are compared for you
- Open invoices appear with due dates and amounts
- Several matches are listed, never picked
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Identify which FreshBooks client the Contivio call `{call-id}` was with, and show that client's billing position.
**Step 1: Read the call (contivio server)**
Call `contivio-get-call` with `id` set to `{call-id}`. If nothing comes back, stop. Note `from`, `to`, `direction` and `ai-short-summary`. The customer phone number is `from` for inbound calls and `to` for outbound calls.
**Step 2: Match the client (freshbooks server)**
Call `freshbooks-get-client` with `max-records` set to 200. Compare the customer phone number with `business-phone` and `mobile-phone` after removing spaces, dashes and brackets and ignoring a leading country code. List every client that matches. If there is more than one match, list them all and stop. If none, report the call as unmatched.
**Step 3: Billing position (freshbooks server)**
For the matched client call `freshbooks-get-invoice` with `customer-id` set to the client `id` and `outstanding.min` set to 0.01.
**Step 4: Report**
Call details (start-time, agent, result, summary), the matched client (name, organization, email), and open invoices with due dates and outstanding amounts.
**Rules & Guidelines:**
* Contivio tools (`contivio-get-call`, `contivio-get-call-segment`, `contivio-get-activity`) are on the contivio server; FreshBooks tools (`freshbooks-get-client`, `freshbooks-get-invoice`, `freshbooks-get-payment`, `freshbooks-get-time-entry`) are on the freshbooks server. Both servers must be connected.
* Read-only: never call any `freshbooks-add-invoice`, `freshbooks-update-invoice`, `freshbooks-delete-invoice`, `freshbooks-add-payment`, `freshbooks-send-invoice-by-email` or `freshbooks-mark-invoice-as-sent` tool, or any other freshbooks add, update or delete tool.
* Do not expose call recordings or more customer detail than the question needs.
**Validation:**
* Say how the match was made (which phone field) and that phone matching is approximate.
* Never pick a client when several match.Who it's for
One answer, three teams that use it
Support agents
See the client and their balance
Know who called and which invoices are open before you answer a question about billing.
Which FreshBooks client was on Contivio call 71044, and what do they owe?
Support supervisors
Review calls with billing context
Check a call against the client behind it and see whether it was probably about an overdue invoice.
Match call 71120 to a FreshBooks client and show their open invoices with due dates.
Accounts receivable
Tie collection calls to invoices
When a client rings in, see their outstanding invoices so you can follow up on payment.
Was call 71201 from Fabrikam? List their unpaid FreshBooks invoices.
How it works
What PopdockAI does when you ask
You name a call and your AI assistant works across Contivio and FreshBooks. It only reads, says how the match was made and does not show recordings or more customer detail than needed.
Ask
You give a Contivio call to look up.
Match
It takes the customer number from the call and compares it with FreshBooks client phones, listing all matches.
Billing
For a single matched client it finds the open invoices and outstanding amounts.
Report
It shows the call, the client and the open invoices, and says which phone field matched.
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.
contivio-get-call
freshbooks-get-client
freshbooks-get-invoice
contivio-get-call-segment
contivio-get-activity
freshbooks-get-payment
freshbooks-get-time-entry
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
Know the client and what they owe
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)
