Automated Lead Intake and Nurturing
When a webhook, Gmail, or Typeform event occurs, the workflow normalizes the data, enriches it via Groq, scores intent, records the lead, and dispatches tailored emails and Discord notifications based on the score.
- Gmail
- Typeform
- Groq
- Supabase
- Discord
Updated
System architecture
Architecture
Results
- All incoming leads are normalized to a single schema before enrichment
- Leads are scored and routed into HOT, WARM, or COLD stages for targeted outreach
- Lead records are stored in Supabase and Discord alerts are sent for real‑time visibility
Project overview
Business problem
Manual lead intake requires multiple tools, inconsistent data, and delayed outreach, leading to lost opportunities.
Objective and solution
The workflow consolidates all lead sources, enriches data with AI, scores intent, stores leads in a single database, and automatically sends personalized emails and Discord alerts for timely follow‑up.
System Snapshot
Automatically detected from the workflow. May be incomplete.
- Trigger
- Webhook
- Steps
- 24
- Branches
- 1
- Active version
- v1
- Connected tools
- Gmail
- Typeform
- Groq
- Supabase
- Discord
Built by
Paul Olusola
@pauloski10
AI Automation Engineer building custom workflows and lead-generation systems.
View full profile
How It Runs
What Triggers It
Starts the workflow when another system sends it a request.
Execution Flow
- 01Incoming request received
- 02Gmail Trigger — Starts when a new email arrives
- 03Typeform Trigger — Starts the workflow automatically
- 04Reply Detection Trigger — Starts on a schedule
- 05Score Router — Routes across 3 branches
- 06Groq Enrichment
- 07Parse Groq Response — Runs a custom JavaScript step
- 08Set HOT Stage — Fills in field values
Builder's notes
Webhook: capture incoming request Gmail Trigger: capture new Gmail message Typeform Trigger: capture new Typeform submission Normalize Webhook: map webhook fields to standard schema Normalize Gmail: map Gmail fields to standard schema Normalize Typeform: map Typeform fields to standard schema Merge Lead Sources: combine all normalized records Groq Enrichment: call Groq API to add intent and pain points Parse Groq Response: extract intentscore and other fields Score Router: route by intentscore thresholds Set HOT Stage: assign pipelinestage for high intent Set WARM Stage: assign pipelinestage for medium intent Set COLD Stage: assign pipeline_stage for low intent Supabase Insert: write lead record to database Email HOT: send personalized email for high intent Email WARM: send personalized email for medium intent Email COLD: send introductory email for low intent Discord Hot: post high‑intent alert to Discord Discord WARM: post medium‑intent alert to Discord Logger: log lead details to Supabase Reply Detection Trigger: schedule periodic check for replies Check Gmail Replies: fetch all Gmail messages Exclude Own Emails: filter out system and no‑reply addresses Check If Known Lead: query Supabase for existing lead Is Known Lead?: filter by email presence Update Lead Status: update lead status in Supabase Cancel Pending Emails: cancel scheduled emails for updated lead Discord Reply Alert: notify Discord of reply
Setup & Credentials Required
References the services below. Using this workflow requires your own credentials for each — not a claim that any credential is currently configured or working.
- Gmail
- Typeform
- Groq
- Supabase
- Discord
Builder's notes
Requires an n8n instance and active credentials for: Gmail, Typeform, Groq, Supabase, Discord.
Limitations
The workflow has no error or fallback output wired for any integration step (Groq, Supabase, Gmail, Discord), so a failure in any of these calls will terminate the run without recording or notifying.
Agentday