/
/
Give Freshdesk agents the Capsule CRM context behind a ticket
For support agents who want the requester's Capsule CRM deals, cases and history next to a Freshdesk ticket, by asking their AI assistant.
On this page
Connector
Connect Capsule CRM, pick your AI tool and paste the prompt.
The problem
Agents reply without knowing about open deals
An agent working a Freshdesk ticket often has no idea the requester has an open deal or case in Capsule CRM, because finding out means searching a second system. The reply goes out without that context.
Without PopdockAI
- Copy the requester's email from the ticket
- Search Capsule CRM in another tab
- Guess when several people match
- Reply without the deal or case context
With PopdockAI
- Requester and ticket details are read from Freshdesk
- The person is matched by email, name only when it says so
- Open opportunities, cases and recent contact are shown
- A suggested approach, with nothing sent or changed
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** Give the agent working Freshdesk ticket `{ticket-id}` the CRM context for the person who raised it.
**Step 1: Read the ticket (freshdesk server)**
Call `freshdesk-get-tickets` with `ticket-id` set to `{ticket-id}`. Note `subject`, `status`, `priority`, `requester-email`, `requester-name` and `company-id`. If nothing is returned, say so and stop.
**Step 2: Find the person in Capsule (capsule-crm server)**
Call `capsule-crm-get-party` with `email` set to `requester-email`. If nothing matches, retry with `name` set to `requester-name`. If more than one party matches, list them and stop to ask. If none match, report the requester as absent from Capsule and stop after Step 4's ticket summary.
**Step 3: Pull the CRM records (capsule-crm server)**
With the matched party: call `capsule-crm-get-opportunity` with `party-name.contains` set to the party's `name` (and `organization-name` if present); call `capsule-crm-get-case` with `party-name` set to the party's `name`; call `capsule-crm-get-entry` with `party-id` set to the party's `party-id` and `max-records` 10 for recent contact history.
**Step 4: Report**
Show the ticket in one line, the matched party (name, job-title, owner-name, last-contacted-date), open opportunities (name, milestone-name, value, expected-close-date), open cases (name, status, severity), and the last few entries. Finish with a short suggestion for how the agent should handle the ticket given this context.
**Rules & Guidelines:**
* `freshdesk-get-tickets` is on the freshdesk server; `capsule-crm-get-party`, `capsule-crm-get-opportunity`, `capsule-crm-get-case` and `capsule-crm-get-entry` are on the capsule-crm server.
* Read-only. Do not call `freshdesk-reply-to-ticket`, `freshdesk-add-ticket-note`, `freshdesk-update-ticket`, `capsule-crm-add-note` or any other write tool.
**Validation:**
* Email is the preferred join. Say when you fell back to a name match.
* Only list records still open; say if the CRM has none.Who it's for
One answer, three teams that use it
Support agents
Reply knowing who the customer is
See open deals and cases before you answer, without opening the CRM.
What does Capsule CRM know about the requester of Freshdesk ticket 4182?
Support team leads
Handle key accounts with care
Spot tickets from customers in an active deal and route them accordingly.
Is the person behind Freshdesk ticket 3960 in an open Capsule CRM opportunity?
Account managers
Know when your customer raises a ticket
Check the CRM context on a ticket from one of your accounts before you step in.
Give me the Capsule CRM context for Freshdesk ticket 4021 from Contoso and how we should handle it.
How it works
What PopdockAI does when you ask
You give the ticket number and your AI assistant finds the requester in Capsule CRM. It stops to ask when several people match and changes nothing in either system.
01
Ask
You give a Freshdesk ticket number.
02
Read
It takes the requester and ticket details from Freshdesk.
03
Match
It finds the person in Capsule CRM by email and stops if several match.
04
Report
You see open opportunities, cases, recent history and a suggested approach.
What PopdockAI provides
The tools behind the answer
Ready made tools for Capsule CRM and one secure connection to your AI tool. No code, no exports.
freshdesk-get-tickets
capsule-crm-get-party
capsule-crm-get-opportunity
capsule-crm-get-case
capsule-crm-get-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
Every reply written with the full context
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)
