AutomationFlowsMarketing & Ads › Capture Website Leads with Slack Notifications, Gmail Responses & Sheets…

Capture Website Leads with Slack Notifications, Gmail Responses & Sheets…

Original n8n title: Capture Website Leads with Slack Notifications, Gmail Responses & Sheets Archiving

ByMarth - Business Automation @marth on n8n.io

Let's build this simple and high-value workflow. Here is a detailed, node-by-node explanation of how it works and how to set it up in n8n.

Webhook trigger★★☆☆☆ complexity6 nodesSlackGoogle SheetsGmail
Marketing & Ads Trigger: Webhook Nodes: 6 Complexity: ★★☆☆☆ Added:

This workflow corresponds to n8n.io template #7219 — we link there as the canonical source.

This workflow follows the Gmail → Google Sheets recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "QZSC8SoOX8Oj9FtE",
  "name": "Website Lead Notification System with Slack Alert & Gmail",
  "tags": [],
  "nodes": [
    {
      "id": "ba1eedaf-cb8d-4089-b08c-3fa58f555dcb",
      "name": "Receive Website Form Submissions",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        0
      ],
      "parameters": {
        "path": "new-lead",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "78ac9847-645b-46da-a9b4-66ef82c74f77",
      "name": "Notify Sales Team",
      "type": "n8n-nodes-base.slack",
      "position": [
        208,
        0
      ],
      "parameters": {
        "text": "=`New Website Lead! - Name: {{ $json.name }}\nCompany: {{ $json.company }}\nEmail: {{ $json.email }}\nMessage: {{ $json.message }}`",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_SALES_CHANNEL_ID"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "dc273ed1-3d2c-4700-a180-09618a2f0a47",
      "name": "Archive Lead Data",
      "type": "n8n-nodes-base.googleSheets",
      "notes": "Data:\n\nName: ={{ $json.name }}\nEmail: ={{ $json.email }}\nDate: ={{ $now }}",
      "position": [
        416,
        0
      ],
      "parameters": {
        "columns": {
          "value": {},
          "schema": [],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "Leads"
        },
        "documentId": {
          "__rl": true,
          "mode": "id",
          "value": "YOUR_SPREADSHEET_ID"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.6
    },
    {
      "id": "4cdbfa61-f7ff-4bb0-a551-136ccc5b10e5",
      "name": "Send Automatic Confirmation Email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        624,
        0
      ],
      "parameters": {
        "sendTo": "={{ $json.email }}",
        "message": "=Hi {{ $json.name }}, thanks for reaching out. We've received your message and will get back to you shortly.",
        "options": {},
        "subject": "Thanks for contacting us!"
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "bc03ca66-45f2-48c6-98fb-8b3759bb1c72",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -64
      ],
      "parameters": {
        "width": 912,
        "height": 256,
        "content": "## Flow"
      },
      "typeVersion": 1
    },
    {
      "id": "d0f5e891-6d8c-4af1-912e-5cefc77d1d9c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        240
      ],
      "parameters": {
        "color": 3,
        "width": 912,
        "height": 1104,
        "content": "# Workflow Note: Website Lead Notification System\n\n---\n\n### **Problem**\nDelayed responses to new website leads can lead to a significant loss of business. When form submissions are only sent to a general email inbox, it often takes too long for the sales team to notice and act on them. This slow response time results in a poor prospect experience and allows competitors to get ahead.\n\n### **Solution**\nThis is a simple but highly effective n8n workflow designed to eliminate response delays. By connecting your website's contact form directly to your team's communication channels, the system ensures that every new lead is instantly captured and a real-time notification is sent. This allows your sales team to act immediately, significantly improving lead-to-conversion rates.\n\n### **For Whom**\nThis workflow is ideal for **small businesses, e-commerce stores, freelancers, and marketing professionals** who need to respond quickly to new business inquiries. It is perfect for anyone who wants to ensure that no lead falls through the cracks and that their sales pipeline remains robust.\n\n### **Scope**\n* **What it includes:**\n    * An instant trigger for every form submission from your website.\n    * Real-time notifications delivered directly to a specified Slack channel.\n    * Optional automatic archiving of lead data into a Google Sheet.\n    * Optional immediate and personalized confirmation emails sent to the new lead.\n\n* **What it excludes:**\n    * Advanced lead scoring or qualification.\n    * Integration with a complex CRM system (though it can be easily extended to do so).\n    * Automated follow-up sequences.\n\n### **How to Set Up**\n\n1.  **Prerequisites:** You will need an n8n instance and accounts for **Slack**, **Google Sheets**, and **Gmail**. Your website's contact form must be able to send data via an HTTP `POST` request to a specific URL.\n2.  **Workflow Import:** Import the workflow's `.json` file into your n8n instance.\n3.  **Credential Configuration:**\n    * Set up credentials for **Slack**, **Google Sheets**, and **Gmail** within n8n.\n4.  **Node-Specific Configuration:**\n    * **`Webhook Trigger`:** Click the node and copy the **Webhook URL**. You must paste this URL into your website's form settings as the submission endpoint.\n    * **`Slack` Node:** Enter the `Channel ID` of the Slack channel where you want notifications to be sent.\n    * **`Google Sheets` Node (Optional):** Enter your `Spreadsheet ID` and `Sheet Name`. Map the form data fields (e.g., `{{ $json.name }}`) to the corresponding columns in your spreadsheet.\n    * **`Gmail` Node (Optional):** Enter the `To` field using the lead's email variable (`{{ $json.email }}`) and customize the subject and body of the confirmation email.\n5.  **Activation:** After all configurations are complete, click **\"Save\"** and then **\"Active\"**. The workflow is now live!"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "b5598bbb-e28a-443b-b930-506605138cc7",
  "connections": {
    "Archive Lead Data": {
      "main": [
        [
          {
            "node": "Send Automatic Confirmation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Sales Team": {
      "main": [
        [
          {
            "node": "Archive Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Website Form Submissions": {
      "main": [
        [
          {
            "node": "Notify Sales Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Let's build this simple and high-value workflow. Here is a detailed, node-by-node explanation of how it works and how to set it up in n8n.

Source: https://n8n.io/workflows/7219/ — original creator credit. Request a take-down →

More Marketing & Ads workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Marketing & Ads

Ad agencies needing automated lead capture. Sales teams fighting fraud and scoring leads. B2B SaaS companies nurturing prospects. Marketing pros boosting sales pipelines. Captures leads via Webhook fr

HTTP Request, Google Sheets, Slack +2
Marketing & Ads

Product Introduction: You can create a form on n8n through which you can collect leads from interested user's.

Form Trigger, Google Sheets, Gmail +2
Marketing & Ads

Manual exporting or copying of leads and newsletter signups from web forms to spreadsheets is time-consuming, error-prone, and delays follow-ups or marketing activities. Traditional workflows can lose

Google Sheets
Marketing & Ads

Automatically qualify, score, and route inbound B2B leads using GPT-4o-mini — no manual review needed.

HTTP Request, Slack, Gmail +1
Marketing & Ads

Store leads in a SQL Server database via REST API with automatic scoring and Slack notifications.

HTTP Request, Slack, Error Trigger