Skip to main content

Score and route website leads with Google Sheets and Gmail

Workflow preview

Workflow preview
100%
Score and route website leads with Google Sheets and Gmail preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow receives website lead submissions via a webhook, normalizes inconsistent form fields, validates contact details, scores intent to assign an SLA and priority, logs every...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.respondtowebhook, n8n-nodes-base.googlesheets, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by TinyOps Studio.

Original n8n.io source

1.1 Workflow description

Title
Score and route website leads with Google Sheets and Gmail
Workflow name
Score and route website leads with Google Sheets and Gmail

Quick Overview

This workflow receives website lead submissions via a webhook, normalizes inconsistent form fields, validates contact details, scores intent to assign an SLA and priority, logs every lead to Google Sheets, and routes hot and review leads to the right team via Gmail.

How it works

  1. Receives a POST request from a website form via a webhook endpoint.
  2. Normalizes common lead fields (name, email, phone, company, message, budget, timeline, page URL, and source) into a consistent structure.
  3. Rejects submissions missing a valid email address or phone number and returns a 400 JSON response explaining what’s required.
  4. Scores the lead based on intent keywords and contact completeness, then assigns a priority (hot/review/normal) and an SLA bucket.
  5. Generates a daily dedupe key and routing owner, then appends the lead and scoring metadata to a Google Sheets “Lead audit” tab.
  6. Sends hot leads (score ≥ 70) to a sales inbox via Gmail or sends medium leads (score ≥ 40) to an ops review inbox via Gmail.
  7. Returns a JSON webhook response containing the lead’s priority, score, SLA, and routing owner.

Setup

  1. Copy the webhook URL from n8n and configure your website/form tool to POST lead payloads to it.
  2. Add Google Sheets credentials and replace YOUR_SPREADSHEET_ID, ensuring a sheet/tab named “Lead audit” exists with columns matching the fields being appended.
  3. Add Gmail credentials and replace the placeholder recipient addresses (for example, [email protected] and [email protected]) with your real routing inboxes.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Workflow Notes

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Lead Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 3 - Normalize Payload

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Has Contact?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 5 - Build Missing Contact Response

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Respond Missing Contact

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 7 - Score Lead and SLA

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Build Dedupe Key

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Append Lead Audit Row

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 10 - Hot Lead?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 11 - Build Hot Lead Alert

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Send Hot Lead Gmail Alert

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 13 - Needs Human Review?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 14 - Send Review Queue Gmail Alert

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 15 - Respond Success

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

3. Summary Table

Workflow Score and route website leads with Google Sheets and Gmail
Complexity advanced
Nodes 15
Categories Lead Generation, AI Summarization
Author TinyOps Studio
Published 10 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16228/16228.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Score and route website leads with Google Sheets and Gmail do?

Quick Overview This workflow receives website lead submissions via a webhook, normalizes inconsistent form fields, validates contact details, scores intent to assign an SLA and priority, logs every...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.