Automated Lead Qualification and Nurturing System - n8n Workflow

Use this powerful n8n workflow to capture JotForm leads, automatically score them using custom AI logic, route them to HubSpot and sales teams via Slack, and deploy personalized email nurture campaigns. Accelerate lead response times with n8n templates.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Marketing Managers: Looking to instantly qualify leads and ensure immediate, relevant follow-up.

  • Sales Operations Specialists: Needing to prioritize high-value leads automatically and streamline CRM entry.

  • Automation Engineers: Seeking advanced n8n templates that combine custom scoring logic (Code n8n node) with complex routing and multi-platform integration (HubSpot, Slack, Google Sheets).

  • B2B Businesses: That rely on forms (like JotForm) to capture critical lead data points (budget, timeline, company size).

Overview

Manual lead processing is slow, error-prone, and often leads to cold leads. This specialized n8n workflow solves this by creating a highly efficient, end-to-end sales funnel automation. Starting with the JotForm n8n trigger, it immediately standardizes input and sends the data through an 'AI Lead Scoring' custom Code n8n node. This custom scoring engine calculates a real-time lead score based on predefined criteria (like business email, budget, and company size), classifying the lead as Hot, Warm, or Cold.

This robust n8n workflow ensures that highly qualified leads receive instant attention (via Slack alerts to sales and immediate, personalized emails) while nurturing sequences are deployed for less qualified leads. Every lead is logged into both HubSpot and Google Sheets for comprehensive tracking, making this one of the most effective n8n templates for accelerating your pipeline.

How it Works

This automation begins with the JotForm n8n trigger, which fires upon every new form submission.


  1. Data Preparation: The incoming data is passed through the Extract & Format Lead Data n8n node to ensure consistent field names for downstream use.

  2. Lead Scoring (Custom Code): The powerful AI Lead Scoring Code n8n node executes a custom JavaScript algorithm. This script assigns points based on key lead indicators (e.g., scoring higher for business emails, large company sizes, and urgent timelines) and assigns a leadTier (Hot, Warm, Cold).

  3. Conditional Routing: The Route by Lead Quality If n8n node checks the leadTier. Hot and Warm leads proceed down the True branch, while Cold leads proceed down the False branch.

  4. Parallel CRM & Logging: Both branches flow to the Add to HubSpot CRM n8n node (creating a new contact) and the Log to Google Sheets n8n node (maintaining a centralized lead database).

  5. Alerting: Hot leads trigger the Notify Sales Team (Hot Lead) Slack n8n node, sending a detailed alert that includes the lead score and qualification notes. Less urgent leads notify the marketing team via the Notify Marketing (Warm/Cold) Slack n8n node, confirming the start of the nurture sequence.

  6. Personalized Follow-up: The Generate Personalized Email Code n8n node dynamically creates a sales-focused email body and subject for Hot leads, or a resource-sharing, nurture-focused email for Warm/Cold leads. This content is then delivered by the Send Personalized Email n8n node.

Installation Guide

To deploy this comprehensive n8n workflow, follow these steps:


  1. Import the n8n template: Copy the provided JSON and import it directly into your n8n instance.

  2. JotForm Setup: Configure the JotForm Trigger n8n node. You will need to select your form and activate the webhook within the n8n interface to link it to JotForm.

  3. Credentials: Establish and select credentials for all integrated services:

HubSpot: Connect your HubSpot account for the Add to HubSpot CRM n8n node.
Google Sheets: Provide the required document ID and connect credentials for the Log to Google Sheets n8n node.
Slack: Configure credentials for both Slack notification n8n nodes.
Email (SMTP): Set up your SMTP credentials in the Send Personalized Email n8n node.

  1. Review Code Logic: If your qualification fields differ, review the custom scoring logic in the AI Lead Scoring n8n node and update field names (e.g., data.companySize) to match your JotForm data structure. This ensures your n8n workflow operates correctly.

Node Details

JotForm Trigger: The initial n8n trigger. Function: Starts the entire n8n workflow whenever a new submission is received on the specified JotForm.
AI Lead Scoring (Code n8n node): Function: Executes a custom JavaScript function to analyze incoming lead data (email domain, company size, budget, timeline) and calculates a numerical score and assigns a 'Hot', 'Warm', or 'Cold' tier. This is critical custom logic for the n8n workflow.
Route by Lead Quality (If n8n node): Function: Directs the flow based on the leadTier variable. True branch handles 'Hot' and 'Warm' leads.
Add to HubSpot CRM (HubSpot n8n node): Function: Creates or updates a contact record in HubSpot, ensuring all scored lead data is captured in the CRM.
Notify Sales Team (Slack n8n node): Function: Sends an urgent, detailed notification to the sales channel only when a lead is highly qualified, ensuring rapid follow-up, leveraging the lead score generated earlier in the n8n workflow.
Generate Personalized Email (Code n8n node): Function: Dynamically generates the subject and body of a follow-up email, customizing the message based on whether the lead is Hot (sales engagement focused) or Warm/Cold (nurture focused).


  • Log to Google Sheets (Google Sheets n8n node): Function: Appends all submission and scoring data to a designated lead tracking spreadsheet. Key Configuration: Defines specific columns like 'Lead Score', 'Lead Tier', 'Budget', and 'Timestamp'.

Related n8n Workflows

Free

Nodes: 9 Nodes
Updated: December 26 2025
View all
Created by

AI automation specialist and a marketing enthusiast. More than 6 years of experience in SEO/GEO. Senior SEO at Bright Data.

Featured*