Skip to main content

Sync and enrich HubSpot leads from Google Sheets and Telegram with Gemini and Lusha

Workflow preview

Workflow preview
100%
Sync and enrich HubSpot leads from Google Sheets and Telegram with Gemini and Lusha preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automates lead ingestion from Google Sheets and Telegram, leveraging Gemini AI and Lusha for intelligent matching and deep data enrichment. By normalizing incoming data into a standar...

Best for

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

Tools used

n8n-nodes-base.hubspot, n8n-nodes-base.switch, n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheetstrigger, n8n-nodes-base.filter, n8n-nodes-base.telegram

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Sync and enrich HubSpot leads from Google Sheets and Telegram with Gemini and Lusha
Workflow name
Sync and enrich HubSpot leads from Google Sheets and Telegram with Gemini and Lusha

This workflow automates lead ingestion from Google Sheets and Telegram, leveraging Gemini AI and Lusha for intelligent matching and deep data enrichment. By normalizing incoming data into a standard structure, it uses custom fuzzy logic to identify existing HubSpot records—preventing duplicates and ensuring your CRM stays clean with validated contact and company details.

Key Features:

Agnostic Intake: Seamlessly processes leads from structured Google Sheets or raw Telegram messages parsed by Gemini AI.

Intelligent Matching: Custom JS engine performs two-tier matching (hard & fuzzy) to save Lusha credits and keep CRM data integrity.

Deep Enrichment: Automatically triggers Lusha API to find missing emails and update firmographic data like revenue and industry.

Automated Sync: Closes the loop by notifying the team on Telegram and updating the spreadsheet status once a lead is processed.

Setup Instructions:

  1. Connect your HubSpot, Lusha, Gemini, Google Sheets, and Telegram credentials.

  2. Input your Spreadsheet ID in the 'Trigger' and 'Acknowledge' nodes.

  3. Adjust the similarity threshold in the 'Switch Logic' node (default 80) based on your data needs.

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 - HubSpot: Update Company

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

Block 2 - HubSpot: Create Company

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

Block 3 - Switch Logic

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

Block 4 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 5 - Parse Telegram Message

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 6 - Get HubSpot data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - New or Updated row

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

Block 8 - Create or update a contact

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2.2

Block 9 - Add a Note to Hubspot company

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 10 - Identify Telegram triggered flow

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 11 - Update Telegram user

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 12 - Identify updated row

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 13 - Acknowledge in sheet

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

Block 14 - Resolve Company ID

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

Block 15 - Retry ID resolution

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

Block 16 - Filter processed lines

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 17 - Lusha Enrichment - email

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 18 - Switch on email field

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

Block 19 - Lusha Company Enrichment

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.1

Block 20 - HubSpot: Update Enriched Company

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 21 - Domain Resolver

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 22 - Sticky Note3

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

Block 23 - Match Lead to Existing Company

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

Block 24 - Append Resolved Domain to Lead

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Showing the first 24 of 39 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Sync and enrich HubSpot leads from Google Sheets and Telegram with Gemini and Lusha
Complexity advanced
Nodes 39
Categories Lead Generation, AI Summarization
Author Danny
Published 14 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12708/12708.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 Sync and enrich HubSpot leads from Google Sheets and Telegram with Gemini and Lusha do?

This workflow automates lead ingestion from Google Sheets and Telegram, leveraging Gemini AI and Lusha for intelligent matching and deep data enrichment. By normalizing incoming data into a standar...

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.