Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

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

  1. When Lead Form Submitted
  2. Initialize Workflow Variables
  3. Classify Lead Email Domain
  4. OpenAI Lead Scoring
  5. Parse AI Scoring Result
  6. Check AI Parsing Success
  7. Send Slack Alert for Review
  8. If Hot Lead Score
  9. Assign SDR Round Robin
  10. Build Hot Lead Notification
  11. Notify Slack for Hot Lead
  12. Build Standard Lead Notification
  13. Merge Lead Notifications
  14. Log Lead in Notion

16 steps in total.

Similar automations