Use case / Sales and outreach agents
Check every message before it reaches a lead.
An outreach agent writes in your name. Trace which lead it picked, which record it read and what it drafted, so a wrong name or a repeat send never goes out unseen.
- Leads
- Traced
- Drafts
- Recorded
- Repeat sends
- Caught


The failure to catch
The same lead emailed twice, with the wrong company name.
Trace how an outreach agent picks a lead, reads their record and writes each message, so a wrong name or a repeat send is caught as a step.
Outreach log
Every message, with the lead behind it.
A run starts when the agent picks a lead, so every message has an origin.
The record it read is stored, so a wrong fact has a source.
Drafts are spans with their prompt and their cost.
A repeat or off-list send is flagged before it leaves.
Approval is part of the trace, with who approved and when.
- 01ok
Lead picked
Priya N., head of ops, from the new signups list.
- 02ok
Record loaded
Company, role and last contact date.
- 03ok
Draft written
Opens with the company name from the record.
- 04duplicate
Duplicate send caught
The same lead was emailed two days ago.
- 05ok
Message approved
A person approves the changed draft.
Instrument it
Put the lead and the draft in one trace.
Record the record lookup, the draft and the send check as spans, and every message has the data behind it.
$ npm install tracify-sdk
import { span, traceAgent } from "tracify-sdk";
export const outreach = traceAgent(async (leadId: string) => {
const lead = await span("load-lead", () => crm.get(leadId), { type: "tool", input: leadId });
const draft = await span("write-draft", () => writeEmail(lead), { type: "llm" });
return span("send-check", () => checkAndSend(lead, draft), { type: "tool" });
}, { environment: "production" });What Tracify watches.
Lead data used
Recorded on every run, so it can be searched, compared and alerted on.
Message drafts
Recorded on every run, so it can be searched, compared and alerted on.
Send decisions
Recorded on every run, so it can be searched, compared and alerted on.
Cost per lead
Recorded on every run, so it can be searched, compared and alerted on.
