/
/
Spot support risk on your deals before it hurts the close
For sales teams who ask their AI assistant which Attio deals have customers with serious Freshdesk tickets.
On this page
Connector
Connect Attio, pick your AI tool and paste the prompt.
The problem
Support trouble hurts the close before reps know
Reps often do not learn that a customer on one of their deals has escalated or piling up tickets until it hurts the close. Checking means opening each deal, finding the company's domain and searching Freshdesk for its tickets.
Without PopdockAI
- List the deals at a stage in Attio
- Find each company's domain
- Search Freshdesk for its open and escalated tickets
- Treat a company with no match as low risk
With PopdockAI
- Deals at the stage are read, up to 15 companies
- Each company is found in Freshdesk by domain
- Unresolved and escalated tickets and top priority are counted
- Unmatched companies are listed as unknown, not low risk
The prompt
Use this prompt
Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.
**Objective:** For Attio deals at the stage `{deal-stage}` worth at least `{min-value}` (default 0), show which companies have support trouble in Freshdesk.
**Step 1: List the deals**
Call `attio-get-record-deals` (Attio server) with `deal-stage` set to `{deal-stage}` and `deal-value.min` set to `{min-value}` when given. Note each deal's name, value, owner and associated company.
**Step 2: Find each company's domain**
For each distinct company, call `attio-get-record-companies` (Attio server) with `record-id` set to the company id and note its domains. Handle at most 15 companies; if there are more, take the highest value deals and say so.
**Step 3: Look up support load in Freshdesk**
Call `freshdesk-get-companies` (Freshdesk server) with `domains.contains` set to the Attio domain. Then call `freshdesk-get-tickets` with the Freshdesk company-id as `company-id`. Count tickets not yet resolved or closed, count escalated tickets, and note the highest priority open ticket.
**Step 4: Report**
A table sorted by risk: Deal, Value, Owner, Open tickets, Escalated, Highest priority, Risk (High if any escalated or an urgent ticket is open, Medium if more than 5 open, otherwise Low). List companies with no Freshdesk match separately.
**Rules & Guidelines:**
* `freshdesk-get-companies` and `freshdesk-get-tickets` are on the Freshdesk server. `attio-get-record-deals` and `attio-get-record-companies` are on the Attio server.
* Read only. Do not call any add, update, upsert or delete tool on either server.
**Validation:**
* If no deals match the stage, say so and stop.
* A company with no Freshdesk match is unknown, not low risk.Who it's for
One answer, three teams that use it
Account executives
Know about escalations before your close call
See open and escalated tickets for your late stage deals, so you can address them before the customer does.
Do any of my Proposal stage deals in Attio have escalated Freshdesk tickets?
Sales managers
Rank deals by support risk
Deals are sorted High, Medium or Low with the rule stated, so forecast reviews weigh support trouble.
Rank Attio deals in Negotiation over 25,000 by Freshdesk support risk.
Support leads
Prioritise tickets tied to open deals
Know which customers in late stage deals have unresolved tickets, so the right ones get attention.
Which companies on Attio deals in Contract Review have unresolved Freshdesk tickets?
How it works
What PopdockAI does when you ask
You name a deal stage and your AI assistant checks each deal's customer in Freshdesk. Deals are ranked by a stated risk rule, and it is read only.
01
Ask
You name a deal stage and optionally a minimum deal value.
02
List
It reads the Attio deals and finds each company's domain, up to 15 companies.
03
Look up
It finds each company in Freshdesk and counts open and escalated tickets.
04
Report
You get deals sorted by risk, with companies it could not match listed separately.
What PopdockAI provides
The tools behind the answer
Ready made tools for Attio and one secure connection to your AI tool. No code, no exports.
attio-get-record-deals
attio-get-record-companies
freshdesk-get-companies
freshdesk-get-tickets
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
Support risk ranked ahead of the close
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)
