Qualify and Follow Up with Leads
Lead qualification and reply monitoring for teams handling enquiries from a webhook, Gmail and Typeform. An AI-derived intent score guides tailored email follow-up and team alerts, while Supabase records lead details and reply status.
- Gmail
- Typeform
- Groq
- Supabase
- Discord
Updated
Some project documentation was drafted with AI and reviewed by the builder.
System architecture
Architecture
Results
- Enquiries from three shown sources use common lead fields for consistent review.
- Explicit score bands apply the same HOT, WARM or COLD prioritisation rule to each assessed lead.
- Supabase records lead details and the assigned pipeline stage for later reference.
- Detected replies prompt status updates, pending-email cancellation and a Discord alert.
Project overview
Business problem
Teams may need to review enquiries from several sources, decide which deserve attention, and keep follow-up records current. Manual screening can make lead prioritisation inconsistent, while replies may go unnoticed or pending emails may remain scheduled.
Objective and solution
Bring webhook, Gmail and Typeform enquiries into a shared set of lead fields, use Groq enrichment to derive lead signals and an intent score, then assign HOT, WARM or COLD stages. Save records in Supabase, send stage-specific Gmail follow-up and Discord alerts for HOT and WARM leads. A separate scheduled branch checks Gmail replies, updates known leads, cancels pending emails and alerts Discord.
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
Capture enquiries: Webhook, Gmail and Typeform submissions are aligned to common lead fields so they can be assessed consistently. Qualify and prioritise: Groq enriches lead details; scores of 80 or more are HOT, 50 or more are WARM, and below 50 are COLD. Follow up and record: Each score group gets its matching Gmail message; HOT and WARM leads also trigger Discord alerts, and lead details are saved in Supabase. Watch for replies: A scheduled Gmail check excludes automated or own-address messages, looks up known leads, updates their status, cancels pending emails and alerts Discord.
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 import shows no error or fallback output for Groq enrichment, Gmail reply checks, Supabase lookups or updates, lead writes, Gmail follow-ups, or Discord alerts; failures may leave those actions incomplete without a workflow-handled recovery. Reply checks are scheduled, but the interval is not shown. Duplicate handling, missing-field rules, scoring criteria and the exact Supabase record design are not established by the shown steps.
Agentday