Review each inquiry, copy details into a CRM, and prepare the next response manually.
Illustrative workflow scenarioTurn incoming leads into qualified sales opportunities.
Capture an inquiry, assess its fit, update a demo CRM, and prepare the next action—all in one visible workflow.
THE BUSINESS PROBLEM
Less manual handling. A clearer next step for every lead.
Inquiries often arrive across forms and campaigns, leaving teams to review details, copy records, and decide who to contact first. LeadFlow demonstrates how those steps can work together.
Validate the submission, calculate priority, update the demo lead record, and prepare the appropriate handoff.
Each decision remains inspectableReview-path leads and demonstrated failures remain visible so a person can decide what happens next.
Review paths stay explicitWORKFLOW
From inquiry to next action.
Each stage stays visible, so a viewer can follow the workflow instead of watching an unexplained loading state.
Capture
Collect a lead from a form or adapted inbound source.
Validate
Normalize required fields and reject incomplete submissions.
Qualify
Apply transparent rules across budget, urgency, and intent terms.
Prepare
Update the demo CRM and prepare the review, nurture, or sales path.
TRY THE WORKFLOW
Submit a lead. Follow every decision.
Start with an example or change the details. The workflow uses a live qualification endpoint when available and a deterministic browser fallback when it is not.
CRM WORKSPACE PREVIEW
A workspace for the next action.
Review qualification state, urgency, and the next action from the same browser-local records created in the interactive workflow.
Qualification workspace
| Lead | Source | Score | Status | Timeline | Next action |
|---|
Technical event details
WHEN SOMETHING GOES WRONG
Make exceptions visible and recoverable.
Explore duplicate handling, a simulated external-CRM timeout, and the rules-based human-review path.
Duplicate handling runs in the demo. Timeout recovery is shown as a simulation, while review routing follows explicit score thresholds.
scenario.readySelect a scenario to inspect what happened, what the demo does, and what remains pending.HOW IT WORKS
A clear path from input to action.
Each stage has one clear responsibility, so the workflow is easier to inspect, explain, and adapt.
These selections are illustrative. They change the diagram only and do not connect accounts or configure external services.
The Pages Function validates required fields and returns a structured, non-cached JSON response with a trace ID.
Budget, timeline and explicit intent terms contribute to a deterministic score and routing category.
Runs create or update records in local storage. Duplicate matching uses normalized name plus company.
Follow-up and sales-review states are prepared for demonstration. This public build does not send email, Slack, or CRM messages.
UNDER THE HOODInspect the API contract and verified demo safeguards+
POST /api/qualify
{
"name": "Sarah",
"company": "Acme Dental",
"budget": 5000,
"timeline": "asap"
}{
"ok": true,
"qualification": {
"score": 92,
"status": "hot"
},
"traceId": "..."
}ROI ESTIMATOR
Estimate the time your workflow could save.
Adjust the assumptions to explore potential savings from repetitive lead handling.
time saved (hours)
Review time is additional work not included in the remaining manual share. Scenario estimate based on your inputs, not measured client results.
ILLUSTRATIVE WORKFLOW
Sketch a workflow before implementation.
Use this planning aid to explore a possible sequence. Editing this diagram does not change the running demo.
Planning aid only — edits here do not change the executable qualification workflow.
PROJECT CONTRIBUTION
Designed as a complete product experience.
I designed and built LeadFlow to demonstrate how a business workflow can become an understandable, interactive product—from the first input to the final operational record.
Verified stack: HTML · CSS · JavaScript · Cloudflare Pages · Pages Functions · localStorage
NEXT PROJECT
Have a lead workflow that needs less manual work?
This project demonstrates how intake, qualification, CRM updates, and follow-up can be designed as one connected experience.