The business problem
When enquiries are handled manually, teams need to inspect form submissions, check email and phone details, search for duplicates, decide which leads are urgent, write a reply and notify colleagues. Generic responses and delayed internal alerts can make intake inconsistent.
Project objective
Combine rule-based validation and lead prioritization with AI-generated personalized email, a shared lead record and an internal team notification.
How the workflow operates
Website submission
A prospect completes the Lovable lead-generation form.
Webhook and validation
n8n receives the submitted data and checks email and phone details.
Duplicate detection
The workflow checks for an existing lead before creating another record.
Lead classification
A JavaScript scoring step assigns Hot, Warm or Cold using configured keyword rules.
CRM storage
The lead is saved in Google Sheets.
Personalized AI reply
Google Gemini generates a tailored response from the lead information and configured prompt; Gmail sends the formatted email.
Team notification
Slack alerts the team that the new lead has been processed.
Workflow architecture
The following sequence summarizes the documented components. Actual node-level configuration and event payloads are available in the linked technical resources where provided.
Implementation decisions
Use transparent priority rules
Hot, Warm and Cold are assigned using configured keyword rules in the demonstration.
Check before creating a record
Duplicate checking helps reduce repeated lead records.
Personalize the first response
Gemini generates the email using the submitted lead information and a configured prompt.
Keep the team informed
Slack sends an internal notification after lead processing.
What this demonstrates
The build demonstrates these operational capabilities. They are design objectives and workflow behaviors—not measured client outcomes.
Technology stack
Tools documented for this implementation:
Limitations and next validation steps
- The keyword scoring rules are demonstration logic and should be adapted to the business’s services and qualification model.
- The project notes mention an under-three-second response target, but it has not been independently benchmarked; no performance claim is made.
- Test malformed form data, duplicate handling, failed email delivery and Slack notification errors.
- Review AI-generated messages for accuracy, tone and unsupported promises before production use.
Explore the build
These are the demo, code, workflow and documentation links recorded for this project.