Use this robust n8n workflow to automatically qualify new leads via sentiment analysis using Google Gemini. Route Hot, Neutral, and Cold leads to Google Sheets and ensure instant team notification via Slack.
Download this n8n workflow template and start using it instantly.
Lead qualification is a critical but time-consuming process. This advanced n8n workflow transforms raw lead data received from a webhook (like a Typeform submission) into actionable, scored insights using artificial intelligence. Instead of manually reviewing every submission, this n8n template uses the Google Gemini LLM to analyze the sentiment of the lead's message, automatically classifying them as 'Hot,' 'Neutral,' or 'Cold.'
This immediate scoring allows the n8n node architecture to automatically route the lead data to the correct section within Google Sheets, ensuring your sales team focuses only on the high-value 'Hot' leads first. Finally, the n8n workflow sends an immediate Slack notification, providing real-time visibility and dramatically reducing response time. This is a powerful, ready-to-use n8n template for modern sales operations.
The entire process is initiated by an external event that hits a specified n8n trigger.
Receive New Lead (Typeform) n8n trigger node, configured as a POST webhook (/lead-webhook), ready to receive data from a form submission.Prepare Lead Data n8n node cleans and standardizes the incoming payload (name, email, message) to ensure consistency for the downstream AI process.Classify Sentiment n8n node (powered by the connected Google Gemini Chat Model n8n node). This node analyzes the lead's message content and outputs a sentiment score (Hot, Neutral, or Cold).Google Sheets n8n node instances: Store Hot Lead, Store Neutral Lead, or Store Cold Lead. Each node appends the data to the appropriate sheet or tab.Combine Lead Data (Merge) n8n node waits for all three potential branches to complete, merging the execution items back into a single flow.Send a message Slack n8n node to post a summary notification to a designated channel, completing the automation of this complex n8n workflow.To deploy this powerful n8n workflow template, follow these steps:
Google Gemini Chat Model n8n node.documentId and sheetName in all three Google Sheets n8n node instances to point to your specific lead tracking spreadsheet.Send a message n8n node and specify the correct channelId.Receive New Lead (Typeform) n8n trigger node. Copy the generated Webhook URL and configure your external form (e.g., Typeform, JotForm) to send POST requests to this endpoint upon submission. Receive New Lead (Typeform) (Webhook n8n Trigger):
Function: Starts the n8n workflow when a lead form is submitted via a POST request.
Key Configuration: Path is set to /lead-webhook.
Prepare Lead Data (Set n8n Node):
Function: Standardizes the lead data fields (name, email, message) before AI processing.
Key Configuration: Maps incoming dynamic fields to standardized internal keys.
Classify Sentiment (Langchain Sentiment Analysis n8n Node):
Function: Analyzes the lead message text to determine sentiment (Hot, Neutral, Cold) using the linked LLM.
Key Configuration: Input Text references ={{$json["message"] || $json["mensagem"] || $json["resposta"]}} for internationalization or fallback fields. Output dictates the branching logic.
Google Gemini Chat Model (Langchain LLM n8n Node):
Function: Serves as the large language model backend for the sentiment classification n8n node.
Key Configuration: Requires Google Gemini API Credentials.
Store Hot/Neutral/Cold Lead (Google Sheets n8n Node):
Function: Persists the lead data into Google Sheets, organized by the AI-determined sentiment score.
Key Configuration: Operation is set to appendOrUpdate. Requires explicit configuration of the Document ID and Sheet Name for proper data handling in this n8n workflow.
Combine Lead Data (Merge n8n Node):
Function: Recombines the separate execution paths (Hot, Neutral, Cold) into a single flow item for unified notification.
Key Configuration: Set to accept 3 inputs.
Send a message (Slack n8n Node):
Function: Notifies the relevant team channel about the new, scored lead.
* Key Configuration: Requires Channel ID and OAuth2 authentication.
Use this powerful n8n workflow to automate lead scoring via GPT-4o-mini. Enrich Mailchimp subscriber data and automatically sync high-value leads to HubSpot and Pipedrive, minimizing manual effort.

Build a robust AI assistant using RAG (Retrieval-Augmented Generation) in n8n. Automate syncing Google Drive documents to Supabase vector storage via an n8n workflow, powering an OpenAI chatbot capable of handling text and voice queries.

Use this powerful n8n workflow to automatically scrape LinkedIn jobs, leverage GPT-4o-mini to score relevance against your resume, and save only highly relevant results to Google Sheets.

Use this powerful n8n workflow template to create an AI Linux SysAdmin agent. It interprets user intent, generates secure bash commands, and executes them on your VPS using the n8n SSH node and GPT-4o intelligence.

Automate lyrics analysis using this powerful n8n workflow. Integrate Telegram and OpenAI to get translations, interpretations, vocabulary lists, and poetic analysis instantly using tailored n8n templates.








































