AutomationFlowsCRM & Sales › Website Lead Capture with Apollo.io Enrichment, Hubspot Storage & Gmail…

Website Lead Capture with Apollo.io Enrichment, Hubspot Storage & Gmail…

Original n8n title: Website Lead Capture with Apollo.io Enrichment, Hubspot Storage & Gmail Notifications

ByInfyOm Technologies @infyom on n8n.io

Capture leads from your website, enrich them via Apollo, store them in HubSpot, send a personalized thank-you email, and notify your team—all automatically. Capture leads from website forms automatically. Send a personalized thank-you email to each new lead. Enrich lead data…

Webhook trigger★★☆☆☆ complexity5 nodesGmailHubSpotHTTP Request
CRM & Sales Trigger: Webhook Nodes: 5 Complexity: ★★☆☆☆ Added:

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

This workflow follows the Gmail → HTTP Request 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": "HJ1BFDzLA4ywrHt5",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Website Inbound Lead Collection & CRM Integration with Enrichment",
  "nodes": [
    {
      "id": "3496a319-7020-4326-9696-1cc61c304fd5",
      "name": "Webhook - Collect Lead",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -440,
        100
      ],
      "parameters": {
        "path": "lead-intake",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "lastNode"
      },
      "typeVersion": 1
    },
    {
      "id": "2d67475d-c742-4e00-8a70-2047342f43fc",
      "name": "Gmail - Send Thank You",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -180,
        -80
      ],
      "parameters": {
        "sendTo": "={{ $('Webhook - Collect Lead').item.json.body.email }}",
        "message": "=Thank You for Reaching Out!\n\nDear {{ $json.body.first_name }}\n\nI hope this message finds you well. Thank you for reaching out to us at InfyOm Technologies. Your interest and support mean a lot to us.\n\nWe have received your request and our team will soon get back to you.\n\nThanks,\nInfyOm Sales Team",
        "options": {
          "appendAttribution": false
        },
        "subject": "Thanks for Getting in touch!",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "ea3642bb-fc87-4737-9feb-a0b4de50e44f",
      "name": "HubSpot - Create Contact",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        40,
        100
      ],
      "parameters": {
        "email": "={{ $('Webhook - Collect Lead').item.json.body.email }}",
        "options": {},
        "authentication": "appToken",
        "additionalFields": {
          "city": "={{ $json.contacts[0].city }}",
          "country": "={{ $json.contacts[0].country }}",
          "message": "=Person LinkedIn: {{ $json.contacts[0].linkedin_url }}\nCompany Phone: {{ $json.contacts[0].account.primary_phone.number }}\nCompany LinkedIn: {{ $json.contacts[0].account.linkedin_url }}\n\n",
          "jobTitle": "={{ $json.contacts[0].title }}",
          "firstName": "={{ $('Webhook - Collect Lead').item.json.body.first_name }}",
          "websiteUrl": "={{ $json.contacts[0].account.website_url }}",
          "companyName": "={{ $json.contacts[0].organization_name }}",
          "twitterUsername": "={{ $json.contacts[0].twitter_url }}"
        }
      },
      "credentials": {
        "hubspotAppToken": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "260877fc-f0bf-4f09-a722-aafbdbacff61",
      "name": "Gmail - Notify Team",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -180,
        280
      ],
      "parameters": {
        "sendTo": "your_email_address",
        "message": "=A new form has been submitted on the website. \n\nName : {{ $('Webhook - Collect Lead').item.json.body.first_name }}\nEmail : {{ $json.body.email }}\n\n",
        "options": {
          "appendAttribution": false
        },
        "subject": "New Lead Notification",
        "emailType": "text"
      },
      "credentials": {
        "gmailOAuth2": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "257d6356-5fca-4440-800f-33acc1c6fdd6",
      "name": "Enrich Data from Apollo",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -180,
        100
      ],
      "parameters": {
        "url": "https://api.apollo.io/api/v1/contacts/search",
        "method": "POST",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "q_keywords",
              "value": "={{ $json.body.email }}"
            },
            {
              "name": "sort_ascending",
              "value": "false"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Cache-Control",
              "value": "no-cache"
            },
            {
              "name": "accept",
              "value": "application/json"
            },
            {
              "name": "x-api-key",
              "value": "your_apollo_key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "07e6a836-d60c-496d-9dca-90e198d2381e",
  "connections": {
    "Webhook - Collect Lead": {
      "main": [
        [
          {
            "node": "Gmail - Send Thank You",
            "type": "main",
            "index": 0
          },
          {
            "node": "Gmail - Notify Team",
            "type": "main",
            "index": 0
          },
          {
            "node": "Enrich Data from Apollo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Enrich Data from Apollo": {
      "main": [
        [
          {
            "node": "HubSpot - Create Contact",
            "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

Capture leads from your website, enrich them via Apollo, store them in HubSpot, send a personalized thank-you email, and notify your team—all automatically. Capture leads from website forms automatically. Send a personalized thank-you email to each new lead. Enrich lead data…

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

More CRM & Sales workflows → · Browse all categories →

Related workflows

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

CRM & Sales

Automate lead intake, AI qualification, and next‑step outreach. Qualified leads get a scheduled meeting, Zoom details, an email confirmation, CRM update, and Mailchimp enrollment. Not‑qualified leads

Google Gemini, HTTP Request, Google Calendar +5
CRM & Sales

Automate your lead qualification pipeline — capture Typeform Webhook leads, enrich with APIs, score intelligently, and route to HubSpot, Slack, and Sheets in real-time.

HTTP Request, HubSpot, Slack +1
CRM & Sales

How it works This Lead Capture & Auto-Qualification workflow transforms raw leads into qualified prospects through intelligent automation. Here's the high-level flow: Lead Intake → Data Validation → E

Clearbit, HTTP Request, HubSpot +1
CRM & Sales

This workflow automatically captures website visitors using Albacross, enriches their data with Datagma, and syncs it into HubSpot. Once leads are created or updated, a personalized email is generated

HTTP Request, HubSpot, Gmail
CRM & Sales

Enterprise AI Lead Scoring & CRM Sync. Uses httpRequest, hubspot, googleSheets. Webhook trigger; 6 nodes.

HTTP Request, HubSpot, Google Sheets