Sales Process Optimisation
How do you turn five undocumented sales workflows into a coordinated agent team that finds, validates, and converts the right buyers?
Problem Statement
This PRD defines the orchestration layer that coordinates specialized sales agents (starting with the Sales Dev Agent) across the full sales lifecycle. It sits between the individual agents (Horizon 1) and the Trust Commerce protocol (Horizon 3).
When a business has built a CRM and RFP tool but has zero paying customers, the founder struggles to systematically find, validate, and convert prospects who match their ICP because sales processes are undocumented, unmeasured, and disconnected — each workflow operates in isolation without feedback loops, and ICP validation requires human judgment that doesn't scale.
This costs every week without a systematic sales process as a week of zero pipeline. The CRM has 23 contacts, 1 deal at $0, zero activities logged. Nine algorithms sit dormant. The Sales Dev Agent is a component within this system — it handles lead generation and outreach. This PRD orchestrates the full team.
Currently: Manual LinkedIn browsing, gut feeling for qualification, copy-paste cold emails, no tracking of what converts.
Classification: Complex — no single cause-effect. Requires experimentation with agent workflows across multiple sales stages.
Priority Score
| Dimension | Score | Evidence |
|---|---|---|
| Pain | 4/5 | Zero paying customers. Kill date passed. CRM live but unused for demand gen. Sales KB was stubs (now upgraded to full workflow docs). |
| Demand | 4/5 | Every B2B SaaS needs sales process optimization. Construction/solar EPC ICP validated. ICP validation is universal unsolved problem. |
| Edge | 4/5 | Unique stack: 6 documented sales workflows + 9 algorithms + live CRM & RFP + process optimisation framework. Build from process intelligence up, not AI bolted onto CRM. |
| Trend | 4/5 | AI sales agents hottest B2B category 2025-26. Microsoft frontier firms thesis. Sales AI adoption accelerating. |
| Conversion | 3/5 | Clear path via CRM subscription ($30-80/seat). Pilot framework exists. But zero external customers — unproven. |
| Composite | 768 | 4 × 4 × 4 × 4 × 3 = 768. Normalized: 24.6/100. |
Three Horizons
HORIZON 1: PROVE IT WORKS (Now → 90 days)
┌─────────────────────────────────────────────────┐
│ SALES DEV AGENT │
│ Find → Score → Draft → Sequence → Learn │
│ Target: 10 scored prospects/week │
│ Proof: Outreach generates replies │
│ Stack: CRM + Algorithms + Adapters │
└───────────────┬─────────────────────────────────┘
│ feeds into
▼
HORIZON 2: ORCHESTRATE THE TEAM (90 days → 6 months) ← THIS PRD
┌─────────────────────────────────────────────────┐
│ SALES PROCESS OPTIMISATION │
│ Lead Gen → Qualification → Conversion → Lifecycle│
│ Target: Repeatable pipeline, multi-client │
│ Proof: Sneakers Media HRV pilot, 2nd client │
│ Stack: Agent orchestration + ICP engine + │
│ Workflow state machines + Feedback loops │
└───────────────┬─────────────────────────────────┘
│ generates the data for
▼
HORIZON 3: MAKE IT A PROTOCOL (6 months → 18 months)
┌─────────────────────────────────────────────────┐
│ TRUST COMMERCE │
│ Coach → Recommend → Convert → Reputation │
│ Target: Trust network with on-chain settlement │
│ Proof: >15% referral conversion, portable rep │
│ Stack: Sui objects + PTBs + zkLogin + Privacy │
└─────────────────────────────────────────────────┘
The Job
When the CRM and RFP tools are built but dormant, help the business turn documented sales workflows into executable agent procedures and validate that prospects match ICP before investing human time — so discovery calls happen with the right people and the pipeline fills with qualified revenue.
The Core Hard Problem: ICP Validation
Lead generation is automatable. The hard part is knowing which leads are worth pursuing. A prospect can match every demographic filter and still not be a buyer.
The gap between "looks like a fit on paper" and "will actually buy" is where most sales time is wasted. This PRD exists to close that gap. The 4-layer ICP validation model is the flagship capability — see ICP Validation Engine below.
ICP Validation Engine
This is SPO's genuine edge. The 4-layer model is what other PRDs reference (the Sales Dev Agent uses this for lead scoring, Trust Commerce will use qualification outcomes as reputation seed data).
| Validation Layer | What It Checks | Signal Source | Difficulty | Data Source |
|---|---|---|---|---|
| Firmographic | Right company type, size, industry | LinkedIn, databases | Easy — AI handles | Company data APIs, DocumentIntelligence |
| Behavioral | Showing buying signals | Email opens, content engagement, response speed | Medium — AI tracks | Email webhooks, CRM activities, LinkedIn analytics |
| Psycho-logic | Hidden objections, real motivation (stated vs actual needs) | Conversation analysis, social posts, objection patterns | Hard — human + AI | Discovery call notes (Eval Runner), social listening |
| Investment | Willing to invest their time, not just yours | Response quality, stakeholder access, data sharing | Hardest — only visible through interaction | CRM interaction history, meeting attendance, document sharing |
The system must score across all four layers. Firmographic scoring already exists. This PRD builds the behavioral, psycho-logic, and investment layers.
Scoring Algorithm
Each layer produces a 0-100 score. Composite ICP fit = weighted blend:
| Layer | Weight | Why |
|---|---|---|
| Firmographic | 20% | Necessary but not sufficient — many "right companies" never buy |
| Behavioral | 25% | Actions reveal intent better than demographics |
| Psycho-logic | 30% | The hidden objection is what kills deals — highest predictive weight |
| Investment | 25% | Time invested is the strongest signal of purchase intent |
Learning loop: Every qualification outcome (accepted call, rejected, ghosted, closed) updates the model weights. Minimum 50 decisions before trusting composite scores. The Sales Dev Agent's outreach data feeds this loop.
Demand-Side Jobs
Job 1: Operationalize Sales Workflows
Situation: Six sales workflows exist as knowledge base documentation. None are connected to the CRM. None have measurable outputs. An agent can't execute what isn't instrumented.
| Element | Detail |
|---|---|
| Struggling moment | Workflows documented but not implemented in tooling |
| Current workaround | Manual execution of each workflow independently |
| What progress looks like | Each workflow has triggers, state changes, metrics, and agent assignments in the CRM |
| Hidden objection | "Our processes are too custom for a system" |
| Switch trigger | When the founder realizes they can't hire sales reps AND teach them the process simultaneously |
Features:
- Workflow state machine per sales process (lead gen → qualification → funnel → lifecycle)
- Trigger definitions in CRM (event-based, schedule-based, threshold-based)
- Stage transition rules with evidence requirements
- Metrics collection at each stage (conversion rates, duration, quality scores)
- Agent assignment per stage (which agent handles which workflow)
- Human handoff points defined and enforced
- Feedback loops between workflows (qualification insights → lead gen refinement)
Job 2: Validate Prospects Against ICP at Scale
Situation: The founder has an ICP document with psycho-logic profiles. But matching real prospects to that archetype requires judgment that takes 30-60 minutes per prospect. With 20+ prospects per week, the bottleneck is validation, not generation.
| Element | Detail |
|---|---|
| Struggling moment | Equal time on high-fit and low-fit prospects, no way to tell which is which |
| Current workaround | Gut feeling, chase whoever responds |
| What progress looks like | Multi-layer scoring (firmographic + behavioral + psycho-logic + investment) produces a ranked prospect list with evidence |
| Hidden objection | "Scoring feels cold — I trust my instincts better than an algorithm" |
| Switch trigger | When 4 of 5 discovery calls are with the wrong buyer persona |
Features:
- Multi-layer ICP scoring engine (4 layers: firmographic, behavioral, psycho-logic, investment)
- Firmographic scoring from company data (industry, size, geography, tech stack)
- Behavioral scoring from engagement signals (email opens, content downloads, response speed)
- Psycho-logic scoring from conversation analysis (stated vs actual needs, objection patterns)
- Investment scoring from interaction quality (do they invest time, share data, introduce stakeholders?)
- Composite ICP fit score with evidence trail
- Auto-routing: hot → discovery call, warm → nurture, cold → disqualify
- ICP refinement loop: every qualification outcome updates the model
Job 3: Coordinate Multiple Sales Agents
Situation: The Sales Dev Agent handles outreach. The RFP agent handles bid response. But nobody coordinates the handoff between prospecting, qualification, and conversion. Leads fall through the cracks between agents.
| Element | Detail |
|---|---|
| Struggling moment | Each agent operates in its own silo, no shared state or handoff protocol |
| Current workaround | Founder manually moves information between tools and contexts |
| What progress looks like | Agent team with defined roles, shared CRM state, and A2A handoff protocols |
| Hidden objection | "One agent is enough — why do I need a team?" |
| Switch trigger | When a hot lead goes cold because the qualification agent didn't know the outreach agent had made contact |
Features:
- Agent role definitions mapped to Sales Work Chart AI Transformation Spectrum
- Shared CRM state: all agents read/write to the same contact, deal, and activity records
- A2A handoff protocol: structured hand-off between agents with context summary
- Orchestration layer: workflow engine dispatches tasks to appropriate agent based on stage
- Conflict resolution: when two agents want to act on the same prospect, priority rules apply
- Human override: any agent action can be paused, modified, or cancelled by the human
The Agent Team
Each documented sales workflow becomes procedural memory for a specialized agent. The team follows the Sales Work Chart AI Transformation Spectrum.
LEAD GEN AGENT QUALIFICATION AGENT CONVERSION SUPPORT
──────────────── ──────────────────── ─────────────────
Research prospects Score ICP fit RFP auto-fill
Multi-channel outreach Validate psycho-logic Proposal drafting
Source enrichment Route: pursue/nurture/cut Deck generation
│ │ │
└────── CRM (shared state) ──── HUMAN ────────────┘
│ Discovery calls
│ Deal negotiation
│ Relationship + trust
↓
LIFECYCLE AGENT
────────────────
Onboarding automation
Health scoring
Churn prediction
Expansion signals
| Agent | Workflow | Key Algorithms | Human Handoff |
|---|---|---|---|
| Lead Gen | Lead Generation | Explore-Exploit (channels), DocumentIntelligence (research) | Prospect list for review |
| Qualification | Lead Qualification | Sales Forecasting (scoring), Explore-Exploit (criteria optimization) | Qualified leads for discovery |
| Conversion Support | Funnel + RFP | SPCL Scoring (answer quality), Compound Rate (library growth) | Draft proposals for review |
| Lifecycle | Customer Lifecycle | Compound Rate (usage tracking), Eval Runner (health scoring) | Expansion opportunities, churn alerts |
Composition Inventory
What already exists vs what needs building:
| Component | Location | Status | Role |
|---|---|---|---|
| CRM Contacts + Deals | crm-contacts.service, crm-deals.service | Production | Shared state |
| CRM Activities + Tasks | crm-activities.service, crm-tasks.service | Production | Activity logging |
| Sales Forecasting | algorithms/sales-forecasting/ | Dormant | Lead scoring |
| Explore-Exploit | algorithms/decision-making/explore-exploit/ | Dormant | Channel + criteria optimization |
| Optimal-Stopping | algorithms/decision-making/optimal-stopping/ | Dormant | Qualification timing |
| SPCL Scoring | algorithms/content-strategy/spcl-scoring/ | Dormant | Message + answer quality |
| Compound Rate | algorithms/compound-rate-tracking/ | Dormant | Engagement velocity |
| Eval Runner | algorithms/eval-runner/ | Dormant | Quality scoring |
| Email Adapter (Resend) | infrastructure/adapters/email/ | Production | Email delivery |
| LinkedIn Adapter | infrastructure/adapters/social-media/linkedin/ | Built (mock) | Social outreach |
| Document Intelligence | services/document-intelligence/ | Production | Prospect research |
| RFP Workflow Pattern | workcharts/sales-rfp-workflow/ | Production | Reference pattern |
| A2A Protocol | orchestrators/a2a/ | Built | Agent handoff |
| Agent Profile Template | data-pipelines/agents/phygital-beings/ | Built | Clone for new agents |
| Sales KB workflows | /docs/business/growth/sales/sales-protocols/ | Documented | Procedural memory source |
Build ratio: ~75% composition, ~25% new code.
The new code is:
- ICP validation engine (multi-layer scoring)
- Workflow state machine (connecting KB to CRM stages)
- Agent orchestration layer (dispatch, handoff, conflict resolution)
- Process metrics collection (conversion rates per stage)
Success Criteria
Functional
| # | Criterion | Verification | Job |
|---|---|---|---|
| F1 | Lead gen workflow produces 20+ scored prospects per week | CRM contact count + ICP fit scores | Job 1, 2 |
| F2 | ICP validation scores across all 4 layers (firmographic, behavioral, psycho-logic, investment) | Score evidence trail in CRM | Job 2 |
| F3 | Qualification agent routes leads correctly: hot/warm/cold match actual conversion | Post-call validation (>70% accuracy) | Job 2 |
| F4 | Agent handoff between lead gen → qualification → conversion happens automatically | CRM deal stage + agent activity log | Job 3 |
| F5 | Process metrics collected at every stage transition | Dashboard shows conversion rates per stage | Job 1 |
| F6 | Human handoff points enforced (agents cannot send outreach or commit resources without human approval) | Audit log of human approvals | Job 3 |
Outcome
| # | Criterion | Threshold | Current |
|---|---|---|---|
| O1 | Discovery calls from agent-generated leads | 5+/month | 0 |
| O2 | ICP validation accuracy | >70% of qualified leads accept calls | N/A |
| O3 | Pipeline value from process-optimized leads | >$50K/month | $0 |
| O4 | Process maturity of sales workflows | All at "Approved" or better | All at "Draft" |
| O5 | First paying customer attributed to agent-generated pipeline | 1+ | 0 |
Risk + Kill Signal
| Risk | Mitigation |
|---|---|
| ICP validation model doesn't predict conversion | Start with simple firmographic scoring, add layers as data accumulates. Minimum 50 qualification decisions before trusting the model. |
| Agent coordination adds complexity without value | Start with 1 agent (lead gen), prove it, then add qualification. Don't build the orchestra before proving the instrument. |
| Sales KB workflows don't match reality | Treat workflows as drafts — every agent execution tests the workflow. Mismatch = workflow update, not agent override. |
| Over-automation kills authenticity | Enforce human review gate on every external-facing action. Agents research and draft. Humans decide and send. |
Kill signal: If 50 agent-scored leads produce fewer than 3 discovery calls over 60 days, the ICP model is wrong. Diagnose: is it firmographic (wrong companies), behavioral (wrong signals), or psycho-logic (right company, wrong person)?
Build Sequence
Phase 0: Foundation (depends on Sales CRM Sprint 0 completing)
Wire the dormant algorithms that feed the agent team:
- Sales Forecasting → lead scoring
- Compound Rate → engagement velocity
- Explore-Exploit → channel optimization
This is already in the Sales CRM PRD Sprint 0. Must complete first.
Phase 1: Single Agent (Lead Gen) — Minimum Viable Orchestration
Build ONE agent executing ONE workflow (lead generation) end-to-end. The minimum viable orchestration is: Sales Dev Agent (Lead Gen) + manual human qualification step + CRM logging. This proves the workflow state machine works before adding more agents.
- Wire Lead Generation workflow to CRM triggers
- Build prospect research service (compose from DocumentIntelligence)
- Build firmographic ICP scoring (layer 1 of 4)
- Wire outreach drafting with human review gate
- Track: prospects researched, outreach sent, response rate
- Deploy for both internal dogfood (construction/solar) and Sneakers Media HRV pilot
Acceptance: Agent produces 20 scored prospects/week. Human reviews and sends outreach. Response rate tracked. Don't build the orchestra before proving the instrument.
Phase 2: ICP Validation Engine
Add the hard capability:
- Behavioral scoring layer (email opens, content engagement, response quality)
- Psycho-logic scoring layer (conversation analysis, objection pattern matching)
- Investment scoring layer (time invested, stakeholder introductions, data sharing)
- Composite ICP fit score with routing logic (hot/warm/cold)
- ICP refinement loop (qualification outcomes update scoring weights)
Acceptance: Multi-layer scoring produces ICP fit scores that correlate with actual qualification outcomes (r > 0.5 after 50 decisions).
Phase 3: Agent Team Orchestration
Add qualification agent + lifecycle agent:
- Qualification agent reads lead gen output, applies BANT+ framework
- A2A handoff from lead gen → qualification → conversion support
- Shared CRM state with conflict resolution
- Lifecycle agent for post-close customer health monitoring
- Process metrics dashboard (conversion rates per stage, agent performance)
Acceptance: Lead flows through full pipeline (gen → qualify → funnel → close) with agent handoffs logged. Process metrics visible on dashboard.
Phase 4: Optimization Loop
- Explore-Exploit optimizes channels and messaging
- ICP model retrains on qualification outcomes
- Workflow state machine adapts (skip stages for hot leads, add stages for complex deals)
- Process maturity moves from "Draft" to "Approved" for all workflows
Acceptance: Agent team improves over time — week 8 outperforms week 1 on response rate, qualification accuracy, and pipeline value.
North Star
First paying customer acquired through an agent-optimized sales process.
Not through personal network. Not through luck. Through a documented, measured, repeatable process that an agent team executed and a human closed.
Engineering Brief
This PRD is a process intelligence capability. It sits between the Sales KB (how we plan to operate) and the engineering team (what to build).
The KB pages define WHAT the workflows are. This PRD defines HOW to implement them in the platform. The commissioning model tracks WHETHER what was built matches what was specced.
SALES KB (upgraded) THIS PRD (new) ENGINEERING
──────────────── ────────── ──────────
Lead Generation workflow → Workflow state machine spec → CRM trigger definitions
Lead Qualification workflow → ICP validation engine spec → Multi-layer scoring
Funnel Engineering workflow → Pipeline metrics spec → Dashboard + analytics
Customer Lifecycle workflow → Health scoring spec → Churn prediction model
Advertising workflow → Channel optimization spec → Explore-exploit integration
Sales Activities index → Agent team orchestration spec → A2A handoff protocol
Key dependency: Sales CRM & RFP Sprint 0 must complete first (wire 3 dormant algorithms + Stripe payments). This PRD builds ON the wired algorithms, not alongside them.
Relationship to existing PRDs: See Relationship to Other PRDs for the full three-horizon architecture and data flow bridges.
External Validation: Sneakers Media HRV Pilot
SPO isn't just internal tooling — it's the BOaaS product deployed for clients. The Sneakers Media HRV (Heat Recovery Ventilation) campaign is the first external deployment:
| Aspect | Internal Dogfood | Sneakers Media HRV |
|---|---|---|
| ICP | Construction/solar EPC teams | NZ homeowners with moisture/ventilation problems |
| Sales Dev Agent config | Same agent, different procedural memory | Same WorkChart, different semantic knowledge |
| Qualification Playbook | Firmographic + behavioral + psycho-logic | Behavioral (website engagement) + investment (home assessment booking) |
| Proof | First paying customer for Stackmates | Measurable CPQL improvement for Sneakers |
The Qualification Playbook concept — per-client ICP configuration — validates that the system generalizes beyond one vertical. If SPO can serve both construction EPC and residential ventilation with the same orchestration layer, it's a platform capability.
Agent Boundary Permissions
The agent team shares CRM state, but structural boundaries prevent agents from overstepping. Following the Trust Architecture hexagonal principle: the orchestration layer defines ports, not trust in agent behavior.
| CRM Field | Lead Gen Agent | Qualification Agent | Conversion Support | Lifecycle Agent |
|---|---|---|---|---|
| Contact create/update | Write | Read | Read | Read |
| Deal stage advance | Read | Write | Write | Read |
| Activity log | Write (outreach) | Write (qualification) | Write (proposals) | Write (health checks) |
| ICP fit score | Read | Write | Read | Read |
| Deal value/probability | Read | Read | Write | Read |
| Churn risk | Read | Read | Read | Write |
Conflict resolution: When two agents want to act on the same prospect, the orchestration layer applies priority rules: Qualification trumps Lead Gen (don't outreach to a prospect mid-qualification), Conversion trumps Qualification (don't re-qualify a prospect in proposal stage).
Relationship to Other PRDs
HORIZON 1: PROVE IT WORKS (Now → 90 days)
Sales Dev Agent — the Lead Gen component
│ feeds into
▼
HORIZON 2: ORCHESTRATE THE TEAM (90 days → 6 months) ← THIS PRD
Sales Process Optimisation — coordination + ICP engine
│ generates data for
▼
HORIZON 3: MAKE IT A PROTOCOL (6 months → 18 months)
Trust Commerce — on-chain reputation from SPO outcomes
Data flows between horizons:
- H1 → H2: The Sales Dev Agent generates outreach data, reply patterns, and qualification outcomes. SPO's Learning Agent consumes this to improve ICP scoring across all agents. Sales Dev Agent is the first test subject for SPO's orchestration — dogfooding the coordination layer.
- H2 → H3: SPO generates three things Trust Commerce needs: (1) qualification proof — structured evidence from the 4-layer ICP model, becoming the basis for on-chain reputation; (2) satisfaction outcomes — did the qualified lead buy and were they satisfied (Reputation Delta input); (3) relationship data — who recommended whom, through what channel, with what result (trust graph seed data).
- H3 → H1: Once Trust Commerce is live, warm referral leads flow back into the Sales Dev Agent pipeline, pre-qualified by the trust graph.
Direct dependencies:
- Sales Dev Agent — Component. The Lead Gen agent in this team.
- Sales CRM & RFP — The tool. This PRD makes it smart.
- Agent Platform — The infrastructure. This PRD is a consumer.
- Trust Commerce — The protocol. This PRD generates the data it needs.
Mycelium Capability
Sales Process Optimisation is a process intelligence capability. It transforms documented sales workflows into executable agent procedures with measurable outcomes. Currently built for construction and solar EPC sales, with the Sneakers Media HRV pilot as the first external deployment. The pattern — workflow → state machine → agent → metrics → optimization — applies to any B2B sales function.
Currently Growing In: stackmates
Context
- Sales Activities — The 6 documented sales workflows (KB source)
- Sales Work Chart — Human/AI split for every sales job
- Sales CRM & RFP — The tool that executes these workflows
- Sales Dev Agent — The first agent in the team
- ICP Framework — Target definition workflow
- Process Optimisation — The methodology for documenting and improving processes
- Agent Platform — Agent infrastructure (identity, memory, comms)
- Phygital Mycelium — The capability catalogue