Connectors

/

Capsule CRM

/

Capsule CRM context for a Freshdesk ticket
Report
Cross-Connector

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.

Try PopdockAI free
Get a live demo
Capsule CRM context for a Freshdesk ticket
What does Capsule CRM know about the person who raised Freshdesk ticket 3377? I want to reply with the right context.
Ticket 3377 is from Dana Whitfield at Northwind Traders, matched in Capsule CRM by email. - Person: Dana Whitfield, Operations Manager, owner Sam Patel - Open opportunity: Northwind renewal, Negotiation, 24,000, closing in 3 weeks - Open case: Onboarding delay, status Open - Last contact: call logged 9 days ago Suggestion: acknowledge the renewal and loop in Sam. Want a draft reply outline?
Capsule CRM
Sample figures. Your results come from your own account.
freshdesk-get-tickets
capsule-crm-get-party
capsule-crm-get-opportunity
capsule-crm-get-case
capsule-crm-get-entry

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Capsule CRM

Capsule CRM
Run it on your own Capsule CRM data.

Connect Capsule CRM, pick your AI tool and paste the prompt.

Try PopdockAI free

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.

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

Your AI tool

02

Read

It takes the requester and ticket details from Freshdesk.

freshdesk-get-tickets

03

Match

It finds the person in Capsule CRM by email and stops if several match.

capsule-crm-get-party

04

Report

You see open opportunities, cases, recent history and a suggested approach.

Your AI tool

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.

get-data

freshdesk-get-tickets

Returns tickets from Freshdesk, with filters on the fields that matter. Read-only.
get-data

capsule-crm-get-party

Returns people and organizations from Capsule CRM with email, phone, job title, organization, location, owner and last contacted date. Filter by name, email, type, organization, owner, city, state or country.
get-data

capsule-crm-get-opportunity

Returns Capsule CRM sales opportunities with milestone, value, currency, probability, expected close date, owner and lost reason. Filter by name, party, owner, milestone, value range, expected close date or closed date.
get-data

capsule-crm-get-case

Returns Capsule CRM projects (cases) with status, owner, team, party, linked opportunity and last contacted date. Filter by name, status, party, owner, created date or closed date.
get-data

capsule-crm-get-entry

Returns Capsule CRM history entries (notes, emails and completed activities) with subject, content, creator and activity type. Filter by date range, type, activity type, creator, subject, party, opportunity or project.
Read only.Nothing in Capsule CRM 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

Every reply written with the full context

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

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