Score and route new form leads with OpenAI, Slack, Notion and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI, Slack, Notion and Gmail and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Initialize Workflow Variables (Code): runs custom JavaScript code
- Classify Lead Email Domain (Code): runs custom JavaScript code
- OpenAI: uses OpenAI
- Parse AI Scoring Result (Code): runs custom JavaScript code
- Check AI Parsing Success (If): checks a condition and branches into true / false
- Send Slack Alert for Review (Slack): uses Slack
- If: checks a condition and branches into true / false
- Assign SDR Round Robin (Code): runs custom JavaScript code
- Build Standard Lead Notification (Code): runs custom JavaScript code
- Build Hot Lead Notification (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge - Notion
n8n-nodes-base.notion - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow receives lead form submissions via webhook, classifies the email domain locally, scores the lead with OpenAI, assigns hot leads to SDRs in a round-robin rotation, and then logs the result to Notion and Google Sheets while sending…