Architect an automated lead routing and enrichment workflow

Design a complete end-to-end specification for inbound lead qualification, third-party data enrichment, and team routing. Use it to eliminate manual lead handling.

You getSection headings for Architecture Summary, Step-by-Step Logic, Routing Rules, Error Handling, and Monitoring Checklist.

Prompt

Prompt
Act as a revenue operations architect. You will design an end-to-end automated lead enrichment and routing workflow that cuts response time.
First, ask me 2-3 short numbered questions in one message to understand:
1. The current inbound lead sources and tech stack (forms, CRM, enrichment tools, communication channels).
2. The qualification rules and routing criteria (such as company size, geography, or round-robin logic).
3. How edge cases should be handled, such as missing emails or unassigned territories.
Wait for my answers before writing the architecture.
Once I respond, deliver:
- Trigger and enrichment flow with step-by-step logic
- Conditional routing decision tree
- Fallback and error-handling rules
- Key metrics to monitor post-launch
Output format: Section headings for Architecture Summary, Step-by-Step Logic, Routing Rules, Error Handling, and Monitoring Checklist.

Example output

Example for: inbound website form leads routed to an enterprise sales team

Architecture Summary

An automated pipeline triggered by HubSpot form fills, enriched via Clearbit API, and routed based on company employee count directly to HubSpot queues and Slack notifications.

Step-by-Step Logic
  1. Trigger: Inbound demo request submitted on website form.
  2. Normalization: Clean company domain, trim spaces, standardise country code.
  3. Enrichment Call: Query enrichment API using company domain to append employee count, annual revenue, and headquarters country.
  4. Scoring: Calculate qualification score based on company size over 100 staff and business email domain.
Routing Rules
  • Tier 1 (Enterprise): Employees > 250. Route via round-robin to Enterprise Account Executives. Post notification to private Slack channel with calendar link.
  • Tier 2 (Mid-Market): Employees 50-250. Route to Mid-Market sales pool in CRM; send immediate self-booking link.
  • Tier 3 (Self-Serve / Disqualified): Employees < 50 or personal email domains (e.g., Gmail). Assign to automated nurture email sequence in marketing hub.
Error Handling
  • Enrichment Timeout: If API fails to respond within 4 seconds, bypass enrichment and route directly to a General Inbound SDR queue tagged "Needs Manual Enrichment".
  • Missing Territory: Route unmapped geographic regions to the Sales Operations triage queue with an alert sent to the on-call admin.
Monitoring Checklist
  • Average speed-to-lead across all tiers (target under 5 minutes).
  • Percentage of leads failing automated enrichment.
  • Daily distribution parity across round-robin owners.
Written by AI from this prompt. Your results will vary.

Run this prompt in ChatGPT, Claude, or Gemini. Answer the model's 3 questions with your CRM, form tools, and sales team setup. Follow up by asking for the exact webhook payload structure between your form and CRM.

Make it repeatable

Keep using this prompt without pasting it in every time.

Keep exploring

More in Automation & Workflows