MSP Account Review agent recipe
The MSP Account Review agent answers four questions about one client from their ConnectWise data: what they pay, whether they are under contract, when they renew, and whether service is in trouble. This page is the recipe for building it in your HubSpot account: the PSA Bridge tools to attach, the instructions to paste, what each tool returns, and the limits. The PSA Bridge tools only read. None of them changes a record in HubSpot or ConnectWise.
Before you start
Turn AI access on. An App-Sync admin turns it on under AI & data in the App-Sync dashboard. Until then, every tool answers that AI access is off and returns no data.
Know who can ask. The tools read through App-Sync's own connection, not with the permissions of the person asking. Anyone who can run this agent can ask about any company in the account, whatever their team permissions.
Know where the answers go. On each run, the tools' answers (ConnectWise revenue, agreement names and types, ticket counts) are sent to HubSpot's AI, under your agreement with HubSpot and its AI terms and data residency.
Plan for the cost of a run. Each agent run uses HubSpot Credits from your account. We measured about 12 credits per run for an agent with four tools.
Agent inputs
The agent takes two inputs. Company (CRM Object > Companies) is required. Deal (CRM Object > Deals) is optional: add it when you want the review to start from one deal.
Tools to attach
Get ConnectWise revenue for a deal: The ConnectWise revenue synced to one deal: MRR, ARR, one-time total and TCV, with the currency, the revenue source, and when the figures were last synced or verified. It can also return the deal's company as company_id, which the agent passes to the other tools.
Get ConnectWise agreement status: How many agreements the company has in ConnectWise and how many are active, with the names and types of the active ones.
Get ConnectWise renewal window: The soonest end date among the company's active agreements, the number of days until then, and that agreement's name. Agreements with no end date are counted separately.
Get ConnectWise ticket health: How many service tickets the company has open in ConnectWise, how many of them are high priority, and the age in days of the oldest one.
Get live recurring revenue for a company: Monthly and annual recurring revenue summed across the company's active ConnectWise agreements, with the currency, how many agreements were counted, and how many could not be totaled.
Explain deal ConnectWise sync (optional): Why a deal did or did not sync with ConnectWise, in plain language, with the step that fixes it. The agent calls it only when a deal shows no ConnectWise revenue.
Keep the agent read-only
Attach the tools above and nothing that writes: no tool that edits a record and no tool that creates one. The PSA Bridge tools only read, so an agent built this way cannot change anything in HubSpot or ConnectWise.
Instructions to paste
Paste this block as the agent's instructions. Keep the tool names and the field names (such as company_id and fix_step) exactly as written: the agent matches them to the tools you attached.
```
You review one managed-services customer from their ConnectWise data.
1. If a deal is given, call Get ConnectWise revenue for a deal first. If it returns company_id, use that company for the other tools.
2. Call Get ConnectWise agreement status, Get ConnectWise renewal window, Get ConnectWise ticket health and Get live recurring revenue for a company.
3. Answer under five headings: Contract, Recurring revenue, Renewal, Service health, Suggested next step.
4. Under Recurring revenue, show both numbers with their sources and never call either one "the" MRR: the deal's ConnectWise revenue (one agreement, as synced to the deal, with last_synced or last_verified) and the live total across the company's active agreements (with its basis). Say they can differ.
5. When a tool returns status UNKNOWN, quote its reason word for word and say the value could not be confirmed. Never estimate or fill a gap.
6. If high_priority_open is above 0, recommend fixing service before any sales outreach.
7. Give every amount in the currency the tool returned, as of the times it returned.
8. If a deal shows no ConnectWise revenue, call Explain deal ConnectWise sync and quote its explanation and fix_step.
```
Where to run it
Run the agent from the Agent Inbox, choosing the company (and the deal, if you use one), or from a workflow, with a Run custom agent step placed after a Find one record step. Those are the two ways we have verified. Starting the agent from a record page is not part of this recipe.
In a workflow, map only the tools' own output fields into later steps. Do not map the agent's free-text answer (for example, Suggested next step) into record properties: nothing an agent writes should reach a record before a person has read it.
Reading the answer
The agent answers under five headings: Contract, Recurring revenue, Renewal, Service health and Suggested next step.
Recurring revenue shows two numbers, on purpose. The deal's ConnectWise revenue covers one agreement, as synced to that deal. The live total covers every active agreement the company has in ConnectWise at the moment of the run. They can differ, so the agent shows both with their sources and calls neither one the MRR.
Unknown means unknown. When a tool cannot confirm a value, it answers UNKNOWN with a reason: for example, a company with no active agreements, a deal with no ConnectWise revenue, or revenue figures last synced or verified more than 24 hours ago. The agent quotes that reason and does not fill the gap with an estimate.
Service comes before sales. When the company has open high-priority tickets, the agent recommends fixing service before any sales outreach.
What the tools never return
The tools never return person names, contact details, internal ConnectWise links, or anything the bridge cannot confirm. Customer-written ticket text is withheld too, unless an App-Sync admin turns ticket summaries on under AI & data, and then it is redacted before it is sent.
Agreement names and types are returned. They are text your own team entered in ConnectWise.
Sync explainer tools
PSA Bridge has four tools that explain why one record did or did not sync: Explain contact ConnectWise sync, Explain company ConnectWise sync, Explain deal ConnectWise sync and Explain ticket ConnectWise sync. Each returns the record's sync state, a plain-language explanation, and the step that fixes it.
This recipe uses only the deal one, and only when a deal shows no ConnectWise revenue. The sync explainer has its own switch under AI agent tools in the App-Sync dashboard. While it is off, these tools answer that the explainer is turned off.
Limits
Agreement status, the renewal window, ticket health and the live revenue total are read from ConnectWise at the moment of the run. If ConnectWise cannot be reached, those tools answer UNKNOWN.
The deal's ConnectWise revenue is the figure already synced to the deal. When it was last synced or verified more than 24 hours ago, the tool reports its age and does not quote it.
Ticket counting stops at 200 open tickets, and the answer then reads "at least 200". The live revenue total reads up to 25 agreements and says when the total is incomplete. It does not add together agreements held in different currencies.