Skip to main content

Automate marketing leads import from Google Sheets to Airtable CRM

Workflow preview

Workflow preview
100%
Automate marketing leads import from Google Sheets to Airtable CRM preview
Open on n8n.io

Important notice

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

1. Workflow Overview

General Principles This workflow automates the import of leads into the Company table of a CRM built with Airtable. Its originality lies in leveraging the new " Data Table " node (an internal tab...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, n8n-nodes-base.datatable, n8n-nodes-base.limit, n8n-nodes-base.gmail, n8n-nodes-base.wait, n8n-nodes-base.airtable, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate marketing leads import from Google Sheets to Airtable CRM
Workflow name
Automate marketing leads import from Google Sheets to Airtable CRM

🎯General Principles

This workflow automates the import of leads into the Company table of a CRM built with Airtable.

Its originality lies in leveraging the new "Data Table" node (an internal table within n8n) to generate an execution report.

📚 Why Data Tables: This approach eliminates the need for reading/writing operations on a Google Sheet file or an external database.


🧩 It is structured on 3 main key steps:

  1. Reading leads for which email address validity has been verified.
  2. Creating or updating company information.
  3. Generating of execution report.

This workflow enables precise tracking of marketing actions while facilitating the historical record of interactions with prospects and clients.


Prerequisites

Leads file:

A prior validation check on email address accuracy is required.

Airtable:

Must contain at least a Company table with the following fields:

  • Company: company name
  • Business Leader: name of the executive
  • Activity: business sector (notary, accountant, plumber, electrician, etc.)
  • Address: main company address
  • Zip Code: postal code
  • City: city
  • Phone Number: phone number
  • Email: email address of a manager
  • URL Site: company website URL
  • Opt-in: company’s consent for commercial prospecting
  • Campaign: reserved for future marketing campaigns
  • Valid Email: indicator confirming email verification

⚙️ Step-by-Step Description

1️⃣ Initialization and Lead Selection

Data Table Initialization: An internal n8n table is created to build the execution report.

Lead Selection: The workflow selects leads from the Google Sheet file (Sheet1 tab) where the condition "Valid Email" is equal to OK.

2️⃣ Iterative Loop

Company Existence Check: The Search Company node is configured with Always Output Data enabled. A JavaScript code node distinguishes three possibilities:

  1. Company does not exist: create a new record and increment the created records counter.

  2. Company exists once: update the record and increment the updated records counter.

  3. Company appears multiple times: log the issue in the Leads file under the Logs tab, requiring a data quality procedure.

3️⃣ Execution Report Generation

An execution report is generated and emailed, example format: Leads Import Report:

  • Number of records read: 2392
  • Number of records created: 2345
  • Number of records updated: 42

If the sum of records created and updated differs from the total records read, it indicates the presence of duplicates. A counter for duplicated companies could be added.


✅ Benefits of this template

  • Exception Management and Logging: Identification and traceability of inconsistencies during import with dedicated logs for issues.
  • Data Quality and Structuring: Built-in checks for duplicate detection, validation, and mapping to ensure accurate analysis and compliance.
  • Automated Reporting: Systematic production and delivery of a detailed execution report covering records read, created, and updated.

📬 Contact

Need help customizing this (e.g., expanding Data Tables, connecting multiple surveys, or automating follow-ups)?

📧 [email protected] 🔗 guy.salvatore 🌐 smarthome-smartelec.fr

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 - When clicking ‘Execute workflow’

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

Block 2 - Sticky Note

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

Block 3 - Update row(s)

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

Block 4 - Get row(s)

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

Block 5 - Insert row

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

Block 6 - Limit

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

Block 7 - Get row(s)1

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

Block 8 - Send a message

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

Block 9 - Wait1

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

Block 10 - Sticky Note1

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

Block 11 - Sticky Note2

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

Block 12 - Sticky Note3

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

Block 13 - Create Company

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

Block 14 - Update row(s) - Creation

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

Block 15 - Update row(s) - Update

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

Block 16 - Code

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

Block 17 - Switch

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

Block 18 - Get row(s) Leads

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

Block 19 - Search Company

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

Block 20 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 21 - Update Company

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

Block 22 - Sticky Note4

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

Block 23 - Create row(s) Logs

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

Block 24 - Sticky Note6

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

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

3. Summary Table

Workflow Automate marketing leads import from Google Sheets to Airtable CRM
Complexity advanced
Nodes 26
Categories CRM
Author Guy
Published 20 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11046/11046.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 Automate marketing leads import from Google Sheets to Airtable CRM do?

General Principles This workflow automates the import of leads into the Company table of a CRM built with Airtable. Its originality lies in leveraging the new " Data Table " node (an internal tab...

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 CRM use case.