Library / Lead Generation & Enrichment
Lead Generation & Enrichment
Score and route form leads with OpenAI, Slack, Notion and Google Sheets
Runs on each form submission: AI scores the lead, hot leads go round-robin to SDRs with Slack alerts, and results save to Notion, Gmail and Sheets.
What it does
## Score and route new leads from a form using AI with round-robin SDR assignment ### How it works This workflow receives new lead form submissions, applies local configuration and email-domain classification, then uses AI to score and summarize the lead. It parses the AI response, routes unscorable leads to a human-review Slack alert, and checks whether successfully scored leads are hot. Hot leads are assigned to SDRs in round-robin order and announced in Slack, while all scored outcomes are merged, saved to Notion, confirmed by Gmail, and logged in Google Sheets. ### Setup steps - Configure the webhook URL as the submission target for the lead form and ensure the incoming fields match the code and AI prompt expectations. - Add credentials for OpenAI, Slack, Notion, Gmail, and Google Sheets in n8n. - Update the Config and round-robin code nodes with your scoring thresholds, SDR list, Slack channels, Notion database fields, email template details, and target Google Sheet. - Verify that the Notion database and Google Sheet contain the columns/properties referenced by the workflow. ### Customization Adjust the AI scoring prompt, hot-lead threshold, domain classification rules, SDR rotation list, and notification message templates to match your sales process.
The steps
- When Lead Form Submitted
- Initialize Workflow Variables
- Classify Lead Email Domain
- OpenAI Lead Scoring
- Parse AI Scoring Result
- Check AI Parsing Success
- Send Slack Alert for Review
- If Hot Lead Score
- Assign SDR Round Robin
- Build Hot Lead Notification
- Notify Slack for Hot Lead
- Build Standard Lead Notification
- Merge Lead Notifications
- Log Lead in Notion
16 steps in total.
Similar automations
Lead Generation & EnrichmentScore and route B2B demo leads with Google Sheets and Gmail20 stepsLead Generation & EnrichmentScore and route GoHighLevel leads with Gemini, Slack and Monday.com14 stepsLead Generation & EnrichmentQualify and route real estate leads with Gmail and Google Sheets22 stepsLead Generation & EnrichmentScore Clay prospects, enrich qualified leads, and route them to Zoho CRM and Smartlead42 steps