Request-to-Resolution
A practical operating model for reliable Salesforce automation across Flow, Apex and Agentforce.
Sample build using synthetic data in a Developer Edition org. Created to demonstrate architecture and delivery approach; not presented as client work.
One governed path. Clear ownership.
The blueprint aligns process design, automation boundaries and operational controls.
Predictable by design
Create one predictable path from request intake to resolution while keeping business policy configurable, complex routing testable and AI actions controlled.
- No autonomous high-risk approval
- No production or client data
- No performance claims
Single source of truth
Case owns request state, ownership and lifecycle.
Flow owns the process
Visible business steps stay modular and fault-aware.
Apex owns complex routing
A bulk-safe service returns results without updating Case.
Agent actions stay constrained
Guidance first; record writes require confirmation.
Decisions stay observable
Correlation IDs and audit events support review.
Where reliability breaks down
An illustrative scenario used to define the demonstrator — not a statement about a real company.
Friction map
| Stage | Friction | Consequence | Signal to capture |
|---|---|---|---|
| Intake | Context varies by channel | Rework before routing | Missing field reason |
| Triage | Rules live in team memory | Inconsistent assignment | Routing decision |
| Ownership | Capacity is not explicit | Silent fallback | Queue and fallback code |
| Policy | Guidance is scattered | Different answers | Knowledge source used |
| Escalation | Follow-up is manual | Late or duplicate action | Due time and reason |
| Handoff | Context is rewritten | Detail loss | Handoff summary |
A controlled Request-to-Resolution spine
Each layer has a clear job; exceptions use the same observable recovery path.
- 01Intake
- 02Normalize
- 03Validate
- 04Select SLA
- 05Route
- 06Act
- 07Verify
- 08Resolve
- Write audit event
- Preserve Case state
- Route to Triage
- Notify owner
Choose the tool by responsibility
The simplest tool is the one that keeps the decision testable, observable and owned.
| Decision | Default tool | Why | Boundary |
|---|---|---|---|
| Normalize Case fields | Flow | Declarative and visible | Before-save only |
| Orchestrate lifecycle | Flow | Readable business sequence | Keep decisions modular |
| Resolve routing | Apex | Deterministic and bulk-testable | Returns result; no Case DML |
| Store policy | Metadata | Deployable configuration | Validate missing config |
| Provide guidance | Agentforce | Approved knowledge in context | No record write |
| Create or escalate | Agent + Flow | Reuses governed automation | Confirmation required |
| High-risk judgment | Human | Accountability and context | Agent must escalate |
| Ambiguous exception | Do not automate | Reliability value is unclear | Track frequency first |
Make failure safe and reviewable
Guardrails apply before, during and after an automated decision.
| Failure mode | System response | Human visibility |
|---|---|---|
| Missing input | NEEDS_INPUT; no owner change | Missing field list |
| No active rule | FALLBACK to Triage | Fallback reason |
| Capacity reached | Next rule, then fallback | Decision code |
| Missing fallback | Controlled config error | Fault + owner alert |
| Resolved before SLA | Exit without escalation | Optional audit |
| High-risk intent | Stop autonomous path | Compliance handoff |
| Injection / data breach | Refuse action | Security audit event |
Build the governed spine before the agent
Order reflects dependency and risk reduction, not measured return on investment.
Governed spine
Dependency stage 01- Define Case state and intake fields
- Normalize, validate and correlate
- Build Routing Engine contract
- Add fault log and Triage fallback
- Test exact match and batch paths
Operational resilience
Dependency stage 02- Add scheduled SLA re-check
- Define queue capacity policy
- Publish synthetic Knowledge
- Expose outcomes and fallbacks
Constrained agent pilot
Dependency stage 03- Release guidance-only topics
- Add confirmed Case actions
- Run adversarial prompt tests
- Review audits before expansion
Evidence before expansion
Readiness is demonstrated through controls and tests — metrics are defined only after deployment.
- Process states and ownership documented
- Routing rules have an accountable owner
- Happy, fallback and fault paths tested
- Seed is synthetic and idempotent
- Agent writes require confirmation
- Logs exclude secrets and production PII
- Rollback and Triage paths exercised
- M01Intake completeness
- M02Routing outcome distribution
- M03Fallback / NEEDS_INPUT rate
- M04Reassignment count
- M05SLA escalation review
- M06Agent confirmation / refusal / handoff
Definitions only. Baselines and targets require a real, isolated environment.
- 01Developer org
- 02Automated tests
- 03Business walkthrough
- 04Constrained pilot
- 05Control review
- 06Staged expansion
Salesforce, Agentforce and Apex are trademarks of Salesforce, Inc. This sample is independent and is not endorsed by or affiliated with Salesforce, Inc.