Hot lead alerts in Slack from a form
GPT-4o-mini scores n8n Form leads; hot leads are posted to Slack. This n8n template triggers on each new n8n Form submission. The details go to OpenAI (GPT-4o-mini), which returns a lead score on a one-to-ten scale with brief reasoning. The workflow extracts the numeric score and reasoning and structures the lead record. When the score reaches the hot-lead threshold, a formatted alert is posted to a chosen Slack channel. Every lead, with its score and reasoning, is appended to a Google Sheets spreadsheet. The scoring prompt and the threshold can be edited. It suits teams that collect leads with the form built into n8n.
Steps
- Trigger: Triggers on a new n8n form submissionn8n Form
- Sends the submitted details to OpenAIOpenAI
GPT-4o-mini; lead score and brief reasoning. - Extracts the numeric score and reasoning
- Checks whether the score is 7 or higher
- Output: Posts a hot-lead alert to SlackSlack
- Output: Appends the lead to Google SheetsGoogle Sheets
Lead details, score and reasoning.
Limits
- Only hot leads are posted to Slack.
- Uses the built-in form as its only entry point.
What it does well
- Keeps every scored lead in Google Sheets.
- The scoring prompt and threshold are editable.
Before you import
After the import, add OpenAI, Slack and Google Sheets credentials and set the spreadsheet ID and the Slack channel.
Similar templates
Lead scoring with Apify company data
Also for sales and leads, 4 steps.
Sales meeting prep sent to WhatsApp
Also for sales and leads, 5 steps.
HubSpot deal forecast written by Groq
Also for sales and leads, 2 steps.
Google Sheets and OpenAI: 24 templates compared
Same two apps, different steps.
OpenAI and Slack: 17 templates compared
Same two apps, different steps.
Google Sheets and Slack: 16 templates compared
Same two apps, different steps.
Google Sheets and n8n Form: 6 templates compared
Same two apps, different steps.
n8n Form and OpenAI: 5 templates compared
Same two apps, different steps.
n8n Form and Slack: 3 templates compared
Same two apps, different steps.
Capture a lead
Other templates that do this task.
Notify a team
Other templates that do this task.