AutomationMart
Home/Browse/Score and route inbound web leads with OpenAI, Gmail and Google Sheets
n8n

Score and route inbound web leads with OpenAI, Gmail and Google Sheets

n8nn8n9 modulesv1.0
GmailGoogle SheetsOpenAI

Quick overview This workflow receives web form submissions via webhook, uses OpenAI to score and classify each lead, then emails hot leads through Gmail and logs them to separate Google Sheets tabs for hot versus cold review. How it works 1. Receives a POST webhook request containing lead details (name, email, company, role, message). 2. Normalizes the incoming fields and adds a timestamp. 3. Sends the lead details to OpenAI Chat Completions to return a JSON score (1–10), intent label, and one-s

At a glance

Score and route inbound web leads with OpenAI, Gmail and Google Sheets is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Gmail, Google Sheets, OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Gmail, Google Sheets, OpenAI
Modules
9
Price
Free
Version
v1.0
Score and route inbound web leads with OpenAI, Gmail and Google Sheets workflow diagram

About this workflow

Quick overview This workflow receives web form submissions via webhook, uses OpenAI to score and classify each lead, then emails hot leads through Gmail and logs them to separate Google Sheets tabs for hot versus cold review. How it works 1. Receives a POST webhook request containing lead details (name, email, company, role, message). 2. Normalizes the incoming fields and adds a timestamp. 3. Sends the lead details to OpenAI Chat Completions to return a JSON score (1–10), intent label, and one-sentence rationale. 4. Parses and validates the AI JSON output and merges it back into the lead record. 5. If the score is 7 or higher, sends a Gmail alert and appends the lead to the “Hot Leads” tab in Google Sheets. 6. If the score is below 7, appends the lead to the “Cold Review” tab in Google Sheets. 7. Responds to the webhook caller with a JSON payload including ok, score, and intent. Setup 1. Add an OpenAI API key (used via HTTP Header Auth) and ensure the Authorization header is set for requests to 2. Connect a Gmail OAuth2 credential and set the recipient email (update the workflow variable alertInbox or replace the default you@example.com). 3. Create a Google Sheet with two tabs named exactly “Hot Leads” and “Cold Review”, add the expected header columns, and replace REPLACEWITHYOURSHEETID in both Google Sheets nodes. 4. Activate the workflow, copy the production webhook URL for the lead-qualifier endpoint, and configure your form tool to POST submissions to it as JSON.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create E-goi contact from new Google Sheets rows

Every time a new contact is added to your Google Sheets spreadsheet, Make will automatically add a new contact to E-goi . The template uses [this example spreadsheet.](https://docs.google.com/spreadsheets/d/1CH4W-pZ26UwuGjjGS0Zz29FboziVyMDuyHpYIrGJ1DA/edit?usp=sharing)

Free

Create a record in a Google Sheets spreadsheet when an Apple iOS device enters/exits a defined area

Every time an Apple iOS device being watched enters or exits an area you have defined, Make will automatically record that entrance/exit in a row on a Google Sheets spreadsheet. The template uses this [example spreadsheet](https://goo.gl/wwVPsn).

Free

Webhook-enabled AI PDF analyzer

Who this template is for This template is for researchers, students, professionals, or content creators who need to quickly extract and summarize key insights from PDF documents using AI-powered analysis. Use case Converting lengthy PDF documents into structured, digestible summaries organized by topic with key insights. This is particularly useful for processing research papers, reports, whitepapers, or any document where you need to quickly understand the main topics and extract actio

Free

Manage Odoo CRM with natural language using OpenAI and MCP Server

Odoo CRM MCP Server Workflow 📖 Overview This workflow connects an AI Agent with Odoo CRM using the Model Context Protocol (MCP). It allows users to manage CRM data in Odoo through natural language chat commands. The assistant interprets the user’s request, selects the appropriate Odoo action, and executes it seamlessly. 🔹 Key Features - Contacts Management: Create, update, delete, and retrieve contacts. - Opportunities Management: Create, update, delete, and retrieve opportunities. - Notes

Free

Make a list of group members from Meetup in Google Sheets

Export a list of members of a specified group in Meetup and import it in Google Sheets.

Free

Run Apify tasks and add results to Google Sheets

Automatically run Apify tasks and fetch results to update Google Sheets. Streamline data processing by integrating Apify and Google Sheets for real-time insights.

Free

Build a document QA system with RAG using Milvus, Cohere, and OpenAI for Google Drive

Template Description This template creates a powerful Retrieval Augmented Generation (RAG) AI agent workflow in n8n. It monitors a specified Google Drive folder for new PDF files, extracts their content, generates vector embeddings using Cohere, and stores these embeddings in a Milvus vector database. Subsequently, it enables a RAG agent that can retrieve relevant information from the Milvus database based on user queries and generate responses using OpenAI, enhanced by the retrieved context. Fu

Free

YouTube comment scraper & analyzer with GPT-4o + email summary report

How it Works ## This workflow automates the collection and analysis of YouTube comments from a video and sends a summary report via email, using Google Sheets, the YouTube API, OpenAI (GPT-4o), and Gmail. Whether you're a content creator, brand manager, or social media analyst, this workflow helps you automate sentiment analysis and receive insights directly in your inbox — all triggered from a simple spreadsheet. 🎯 Use Case Ideal for: - YouTubers monitoring audience sentiment - Marketing teams

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free