Agents
Write good instructions
Prompts and criteria that score calls consistently, with examples you can adapt.
An agent only knows what you tell it. Everything it uses to score a call comes from three places: the Prompt, the Criteria (each criterion's wording, How to grade, Weight (1–10) and Description (optional)), and the transcript of the call. This page covers how to write the first two so that the same kind of call gets the same score every time.
What the agent reads
For every call, the agent receives your prompt, your full list of criteria with their settings, and the call transcript. It then:
- Decides whether the call is the kind of call it's built for. If not, it gives no score and says why (Not scored. on the call).
- Grades each criterion, quoting the moment in the call that decided it.
- Works out an overall score from 0 to 100, counting heavier-weighted criteria for more, and a grade: 90 and above is an A, 80 to 89 a B, 70 to 79 a C, 60 to 69 a D, and below 60 an F.
- Writes strengths, weaknesses, recommendations and a coaching summary.
Two things about the transcript matter when you write instructions:
- It doesn't say who is speaking. A transcript from a recording is the conversation as plain text, with no names or labels on each line. The agent works out who is the rep and who is the customer from what they say.
- Some details are masked. Phone numbers, email addresses, card numbers and social security numbers are hidden before the agent reads the call. The agent can tell that a number was given, but not what it was.
The prompt: role, scope, strictness
A good prompt does three jobs in a short paragraph or two.
Give it a role. "You are a senior sales coach" or "You are a compliance analyst for a licensed insurance agency" sets the standard the agent grades against.
Say which calls it's for. This is the most useful sentence in the prompt. The agent uses it to decide whether a call is in scope, and a vague scope leads to calls being scored that shouldn't be, or skipped when they should be scored.
This agent reviews outbound sales calls where a rep is pitching our software to a new prospect. Calls to existing customers about support or billing are out of scope.
Say how strict to be. If a partial attempt shouldn't count, say so: "A partial mention is not a pass. Only mark a disclosure as met if it was clearly and explicitly stated."
Also worth a line each:
- Who the rep is. Since the transcript has no speaker labels, describe the rep in a way the agent can spot: "The rep is the person who answers with 'Thanks for calling Pinewood' and handles the request."
- What to ignore. Hold music, an automated greeting, a transfer between colleagues, small talk at the start. "Ignore the automated menu at the start of the call" stops it grading the phone menu.
- What to focus the coaching on. "End with the single biggest thing the rep should change on their next call" gives you sharper recommendations.
You don't need to list the criteria in the prompt or describe the output format. APX adds the criteria for you, and the report layout is fixed.
Criteria: one observable thing each
The criteria drive the score, so most of the work is here.
Make each criterion something you could hear. If two people listening to the call could disagree about it, the agent will be inconsistent too.
| Vague | Specific |
|---|---|
| Good rapport | Used the customer's name at least once after the greeting |
| Handled objections well | Responded to a price objection with value before offering a discount |
| Compliant | Told the customer the call is recorded within the first 30 seconds |
| Strong close | Agreed a specific next step with a date before ending the call |
Test one thing per criterion. "Stated name and license number" is two checks. If the rep does one, the agent has to choose. Split it in two.
Pick the right way to grade it.
| How to grade | Use it for |
|---|---|
| Yes / No | Things that either happened or didn't: disclosures, confirmations, a stated next step. Most reliable. |
| Rate 1–5 | Things done to a degree: discovery, empathy, clarity. Describe what a 1 and a 5 look like. |
| Rate 1–10 | The same, when you want finer steps. Only worth it if you can describe the difference between a 6 and a 7. |
| Note only | Things you want written down but not graded, like the reason for the call. |
Use the description for the edge cases. The Description (optional) under each criterion is where you settle arguments in advance:
Met if the rep says the call is recorded or monitored, in any wording. Not met if the notice only plays in the automated greeting before the rep joins.
1: no questions about the customer's situation. 3: asks about the problem but not its impact. 5: asks about the problem, its cost to the business and who else is involved.
Weight what matters. Give the criteria that would make you step in a higher Weight (1–10). A missed disclosure on a compliance agent might be a 3 while stating their name is a 1. If one criterion should fail a call on its own, give it a much higher weight than the rest, and test that a call missing it lands below your threshold.
Keep the list short. Five to eight criteria is plenty for one agent. If you need more, you may have two agents: a compliance checklist and a coaching scorecard score differently, and they're easier to read apart.
Make the threshold match
The Flag below score decides which calls send alerts, so set it after testing, not before. Run the agent on a call you'd want to hear about and one you wouldn't, and set the threshold between their scores. If too many calls get flagged, look at which criteria they miss before lowering it: the criterion may be too strict, or not something every call needs.
Check your work
After any change to the prompt or criteria:
- Save, then test the agent on the same transcripts as before.
- Read What this agent looked for and check each line against what you'd have said.
- Try a call the agent shouldn't score. It should come back as Didn't apply rather than a low score.
- When you paste transcripts, remove speaker labels so the test sees what a real call looks like.
The starter agents are good models to copy from. Open Compliance to see a strict yes or no checklist, or Sales Coaching to see weighted ratings.