Lead Operations System: five n8n workflows for traceable leads and recovery

I built a self-initiated lead-operations prototype for service-business enquiries. The goal was to make each handoff traceable: capture an enquiry, qualify it, record delivery outcomes, queue follow-up work, and escalate failures without blindly repeating messages.

Scope: fictional lead data, local prototype, not client work or a production deployment. The clean-package verification uses local provider mocks. A later demonstration also tested real local Ollama and real Telegram delivery to my own private test chat. Email remains simulated. No customer, revenue, conversion or uptime results are claimed.

Visual workflow overview

Static system diagram from my website case study—not an n8n execution screenshot or a downloadable implementation.

How the five workflows connect

  1. Intake: receives an authenticated enquiry, normalizes and validates the lead, and handles repeated events before downstream processing.
  2. Qualification and Routing: uses optional local Ollama extraction with response validation. Configurable deterministic rules control the score and route.
  3. Delivery Adapters: records the lead in a local PostgreSQL CRM projection, handles acknowledgement and business alerts, and queues follow-up work.
  4. Follow-Up Worker: processes eligible due jobs, records outcomes, and bounds retries. Completed or uncertain outcomes are not blindly resent.
  5. Error Recovery: classifies workflow failures, records sanitized diagnostics, and handles operator alerts.

Intake calls Qualification, which calls Delivery. Follow-Up reads the shared database queue independently. Error Recovery is connected to the other four workflows.

Why separate workflows?

Separating these responsibilities makes it easier to inspect each handoff, change a delivery provider, and investigate partial failures. Each delivery action has its own outcome record, so one provider failure does not erase another action’s success.

Verification and its limits

The website case study records two clean passes of a 32-scenario failure matrix, 18 adapter-result classification checks, seven operator-receipt guards, and separate fresh-instance import/migration/functional checks. These are local mock-based checks, not proof of production delivery or model accuracy.

Covered paths include hot/warm/cold routing, duplicate protection, invalid input, missing authentication, concurrent follow-up claims, bounded retries, and automatic escalation to Error Recovery.

In the later demonstration, real local qwen3.5:4b produced a valid hot-lead extraction and Telegram delivered a fictional alert to my private chat. Warm/cold responses reported low confidence; the validator rejected those AI outputs while the rules preserved the expected routes. Email acknowledgement and operator alerts remained simulated.

Case study

The full write-up, visual workflow maps, design choices and recorded verification evidence are here:

Lead Operations System case study

This post is a visual portfolio showcase, not a release of source files, database scripts, workflow exports or a ready-to-install template. The local CRM is a PostgreSQL projection, not a live external CRM. No client, business-result or production-readiness claim is made.

I would welcome feedback on the workflow boundaries and how the system communicates partial failures and uncertain delivery outcomes.