# PQL scoring and routing agent: spec template

Built from the system Michael Bartimer, GTM Engineer at Clarify, described on GTM Vault, Show Me Your Stack 9 (https://pro.gtmvault.co/episodes/smys-09).

On the record: he did the analysis in Claude Code, wrote it into a Notion doc, took a few quick rounds of team feedback on that doc, then built the agent from it in minutes. This template is that doc. Fill every bracket, share it with your team, then build.

Pair it with the PQL scoring sheet template. The numbers from the episode are Clarify's. Your results will differ.

## 1. Purpose

[One sentence. Example: Score every product signup out of 100 before a rep touches it, and route sales-ready accounts to a rep within the hour.]

## 2. Trigger

1. Fires on: [the event that marks a product-led signup. Example: a deal created with source = website signup]
2. Re-scores on: [the events that should trigger a new score. Example: any new product activity on an account in nurture]

## 3. Data sources and tool calls

| Source | Tool call or property | Used for |
|---|---|---|
| [Product analytics, e.g. PostHog] | [query or endpoint] | [signals 1 to 4] |
| [CRM] | [properties] | [signals 5 to 7] |

On the record: about half of the 7 signals are live calls to PostHog, the other half are CRM properties already on the record.

## 4. Scoring sheet

Copy the final table from the Signals tab of the scoring sheet. Points must total 100.

| Signal | Source | Exact event or property | Condition | Points | Rationale |
|---|---|---|---|---|---|
| [signal 1] | | | | | |
| [signal 2] | | | | | |
| [signal 3] | | | | | |
| [signal 4] | | | | | |
| [signal 5] | | | | | |
| [signal 6] | | | | | |
| [signal 7] | | | | | |
| Total | | | | 100 | |

## 5. Threshold and backtest

1. Sales-ready threshold: [60 on the record at Clarify; your number after the backtest]
2. Backtest result: [signups at or above threshold, conversion rate above vs below, share of conversions caught]
3. Daily volume above threshold: [number] against sales review capacity of [number] per day

## 6. Routing

| Path | Entry rule | Action | Owner | Human step |
|---|---|---|---|---|
| 1 | Score at or above threshold, firmographic fit | Immediate sales outreach | [owner] | Rep reviews in seconds, one click to enroll |
| 2 | Score below threshold | Nurture until the score crosses | [owner] | None until it crosses |
| 3 | [your rule] | [your action] | [owner] | [step] |
| 4 | [your rule] | [your action] | [owner] | [step] |

The episode describes paths 1 and 2 only. Paths 3 and 4 are yours to define.

## 7. Suppression rules

Run these before scoring:

1. Employees: [your email domains]
2. Competitors: [list]
3. Existing customers: [CRM rule]

## 8. Write-back fields

| Field | Type | Written when |
|---|---|---|
| PQL score | Number 0 to 100 | Every score |
| PQL route | Path 1 to 4 | Every score |
| Score breakdown | Text | Every score |
| Scored at | Timestamp | Every score |

## 9. Notifications

1. Channel: [example: a Slack channel for sales-ready signups]
2. Message: account, score, top 3 signals met, link to the record, one-click enroll

## 10. Open questions

1. [question for the team]
2. [question for the team]

## 11. Agent instructions (paste into your agent builder)

```
You score product signups for [company].
When [trigger] fires:
1. Skip the account if it matches any suppression rule in section 7.
2. Pull each signal in section 4 from its source. Use the exact event or property name.
3. Add the points for every signal that meets its condition. The score is 0 to 100.
4. Write the score, the route and a one-line breakdown to the CRM fields in section 8.
5. Route by section 6. At or above [threshold]: path 1, notify [channel] with the account, score and top 3 signals.
   Below: path 2, nurture, and re-score on [re-score events].
6. Never enroll an account yourself. A rep reviews and enrolls.
```

---

Free skill that builds this spec from your own data with Claude: https://pro.gtmvault.co/skills/pql-scoring-agent
