AutomationMart
Home/Browse/Sync leads from Google Sheets to instantly email campaigns with data tables
n8n

Sync leads from Google Sheets to instantly email campaigns with data tables

n8nn8n9 modulesv1.0
SlackGoogle Sheets

Automated Lead Management: Google Sheets β†’ Instantly + n8n Data Tables πŸ“‹ Overview This workflow automates lead management by syncing data from Google Sheets to Instantly email campaigns while maintaining tracking through n8n Data Tables. It processes leads in batches to avoid rate limits and ensures no duplicates are sent. --- βš™οΈ Complete Setup Guide 1️⃣ Create Your Google Sheet Option A: Use Our Template (Recommended) 1. Copy this template with test data: [Google She

At a glance

Sync leads from Google Sheets to instantly email campaigns with data tables is a ready-made n8n workflow you import as a workflow JSON file β€” no build required. It connects Slack, Google Sheets. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, Google Sheets
Modules
9
Price
Free
Version
v1.0
Sync leads from Google Sheets to instantly email campaigns with data tables workflow diagram

About this workflow

Automated Lead Management: Google Sheets β†’ Instantly + n8n Data Tables πŸ“‹ Overview This workflow automates lead management by syncing data from Google Sheets to Instantly email campaigns while maintaining tracking through n8n Data Tables. It processes leads in batches to avoid rate limits and ensures no duplicates are sent. --- βš™οΈ Complete Setup Guide 1️⃣ Create Your Google Sheet Option A: Use Our Template (Recommended) 1. Copy this template with test data: Google Sheets Template 2. Click File β†’ Make a copy to create your own version 3. Populate with your lead data Option B: Create Your Own Create a Google Sheet with these required columns: - Firstname - Contact's first name - Email - Contact's email address - Website - Company website URL - Company - Company name - Title - Job title/position πŸ’‘ Pro Tip: Add as many leads as you want - the workflow handles batching automatically! --- 2️⃣ Set Up n8n Data Table The workflow uses one Data Table to track leads and their sync status. Create the "Leads" Data Table: 1. In your n8n workflow editor, add a Data Table node 2. Click "Create New Data Table" 3. Name it: Leads 4. Add the following columns: | Column Name | Type | Purpose | |------------|------|---------| | Firstname | string | Contact's first name | | Lastname | string | Contact's last name | | email | string | Contact's email (unique identifier) | | website | string | Company website | | company | string | Company name | | title | string | Job title | | campaign | string | Sync status (e.g., "start", "added to instantly") | | focusarea | string | Enriched data from Title field | 5. Click Save πŸ“Œ Important: The campaign field is crucial - it tracks which leads have been synced to prevent duplicates! --- 3️⃣ Connect Your Google Sheets Account 1. In the "Get row(s) in sheet" node, click "Create New Credential" 2. Select Google Sheets OAuth2 API 3. Follow the OAuth flow: - Sign in with your Google account - Grant n8n permission to access your sheets 4. Select your spreadsheet from the dropdown 5. Choose the correct sheet name (e.g., "instantly leads") 6. Test the connection to verify it works --- 4️⃣ Connect Your Instantly Account 1. Go to Instantly.ai and log in 2. Navigate to Settings β†’ API 3. Copy your API Key 4. Back in n8n, open the "Create a lead" node 5. Click "Create New Credential" 6. Select Instantly API 7. Paste your API key 8. Important: Update the campaign ID: - Current ID: 100fa5a2-3ed0-4f12-967c-b2cc4a07c3e8 (example) - Replace with your actual campaign ID from Instantly - Find this in Instantly under Campaigns β†’ Your Campaign β†’ Settings --- 5️⃣ Configure the Data Table Nodes You'll need to update three Data Table nodes to point to your newly created "Leads" table: Node 1: "Get row(s)" - Operation: Get - Data Table: Select Leads - Filter: campaign = "start" - This fetches only new, unsynced leads Node 2: "Update row(s)1" (Top Flow) - Operation: Update - Data Table: Select Leads - Filter: Match by email field - Update: Set focusarea to Title value - This enriches lead data Node 3: "Update row(s)" (Bottom Flow) - Operation: Update - Data Table: Select Leads - Filter: Match by Email field - Update: Set campaign = "added to instantly" - This prevents duplicate sends --- 6️⃣ Configure the Schedule (Optional) The workflow includes a Schedule Trigger for automation: Default: Runs every hour To customize: 1. Click the "Schedule Trigger" node 2. Choose your interval: - Every 30 minutes - Every 2 hours - Daily at specific time - Custom cron expression πŸ’‘ For testing: Use the "When clicking 'Execute workflow'" manual trigger instead! --- πŸ”„ How It Works Flow 1: Data Transfer (Top Path) This flow moves leads from Google Sheets β†’ n8n Data Table Step-by-step: 1. Manual Trigger - Click to start the workflow manually 2. Get row(s) in sheet - Fetches ALL leads from your Google Sheet 3. Loop Over Items - Splits into batches of 30 leads 4. Update row(s)1 - For each lead: - Searches Data Table by email - Updates or creates the lead record - Stores Title β†’ focusarea for enrichment 5. Loop continues - Processes next batch until all leads transferred βš™οΈ Why 30 at a time? - Prevents API timeouts - Respects rate limits - Allows monitoring of progress - Can be adjusted in the node settings --- Flow 2: Instantly Sync (Bottom Path) This flow syncs qualified leads from Data Table β†’ Instantly Step-by-step: 1. Schedule Trigger - Runs automatically (every hour by default) 2. Get row(s) - Queries Data Table for leads where campaign = "start" - Only fetches NEW, unsynced leads - Ignores leads already processed 3. Loop Over Items1 - Processes ONE lead at a time 4. Create a lead - Sends lead to Instantly: - Campaign: "Launchday 1" - Maps: Email, Firstname, Company, Website - Adds to email sequence 5. Update row(s) - Updates Data Table: - Sets campaign = "added to instantly" - Prevents duplicate sends on next run 6. Loop continues - Next lead until all processed πŸ” Why one at a time? - Instantly API works best with individual requests - Ensures accurate status tracking - Prevents partial failures - Better error handling per lead --- βœ… Key Features Explained Batch Processing - Processes 30 Google Sheet leads at once - Configurable in Loop Over Items node - Prevents timeouts on large datasets Duplicate Prevention - Uses campaign field as status tracker - Only syncs leads where campaign = "start" - Updates to "added to instantly" after sync - Re-running workflow won't create duplicates Data Enrichment - Stores job title in focusarea field - Can be used for personalization later - Extensible for additional enrichment Two-Trigger System - Manual Trigger: For testing and one-time runs - Schedule Trigger: For automated hourly syncs - Both triggers use the same logic Error Tolerance - Individual lead processing prevents cascade failures - One failed lead won't stop the entire batch - Easy to identify and fix problematic records --- πŸ§ͺ Testing Your Workflow Step 1: Test Data Transfer (Flow 1) 1. Add 5 test leads to your Google Sheet 2. Click the Manual Trigger node 3. Click "Execute Node" 4. Check your Leads Data Table - should see 5 new rows 5. Verify focusarea field has data from Title column Step 2: Test Instantly Sync (Flow 2) 1. In Data Table, ensure at least one lead has campaign = "start" 2. Click the Schedule Trigger node 3. Click "Execute Node" (bypasses schedule for testing) 4. Check Instantly dashboard - should see new lead(s) 5. Check Data Table - campaign should update to "added to instantly" Step 3: Test Duplicate Prevention 1. Re-run the Schedule Trigger 2. No new leads should be created in Instantly 3. Data Table shows no changes (already marked as synced) --- 🚨 Troubleshooting Issue: Google Sheets not fetching data - βœ… Check OAuth credentials are valid - βœ… Verify spreadsheet ID in node settings - βœ… Ensure sheet name matches exactly - βœ… Check Google Sheet has data Issue: Data Table not updating - βœ… Verify Data Table exists and is named "Leads" - βœ… Check column names match exactly (case-sensitive) - βœ… Ensure email field is populated (used for matching) Issue: Instantly not receiving leads - βœ… Verify Instantly API key is correct - βœ… Update campaign ID to your actual campaign - βœ… Check campaign = "start" in Data Table - βœ… Verify email format is valid Issue: Workflow runs but nothing happens - βœ… Check if Data Table has leads with campaign = "start" - βœ… Verify loop nodes aren't stuck (check execution logs) - βœ… Ensure batch size isn't set to 0 --- πŸ’‘ Pro Tips & Best Practices For Beginners: 1. Start small - Test with 5-10 leads first 2. Use manual trigger - Don't enable schedule until tested 3. Check each node - Execute nodes individually to debug 4. Monitor Data Table - Use it as your source of truth 5. Keep backups - Export Data Table regularly For Optimization: 1. Adjust batch size - Increase to 50-100 for large datasets 2. Add delays - Insert "Wait" nodes if hitting rate limits 3. Filter in Google Sheets - Only fetch new rows (use formulas) 4. Archive old leads - Move synced leads to separate table 5. Add error notifications - Connect Slack/email for failures For Scaling: 1. Use multiple campaigns - Add campaign selection logic 2. Implement retry logic - Add "IF" nodes to retry failed syncs 3. Add data validation - Check email format before syncing 4. Log everything - Add "Set" nodes to track execution details 5. Monitor API usage - Track Instantly API quota --- πŸ“Š Expected Results After Setup: - βœ… Google Sheets connected and fetching data - βœ… Data Table populated with lead information - βœ… Instantly receiving leads automatically - βœ… No duplicate sends occurring - βœ… Campaign status updating correctly Performance Metrics: - 100 leads - Processes in 5-10 seconds - 1000 leads - Processes in 15-20 seconds - Instantly API - 1 lead per second typical speed - Schedule runs - Every hour by default --- πŸ“¬ Need Help? Customization Services: - Advanced filtering and segmentation - Multi-campaign management - Custom field mapping and enrichment - Webhook integrations for real-time sync - Error handling and monitoring setup - Scale to 10K+ leads per day Contact: - πŸ“§ david@daexai.com - πŸŽ₯ Watch Full Tutorial --- πŸŽ“ What You'll Learn By setting up this workflow, you'll master: βœ… n8n Data Tables - Creating, querying, and updating data βœ… Batch Processing - Handling large datasets efficiently βœ… API Integrations - Connecting Google Sheets and Instantly βœ… Workflow Logic - Building complex multi-path automations βœ… Error Prevention - Implementing duplicate checking βœ… Scheduling - Automating workflows with triggers --- Happy Flogramming! πŸŽ‰

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n β†’ click the menu β†’ Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Save Skype messages to a Google Sheets spreadsheet

Every time a new Skype message is sent, Make will automatically add a new row to a Google Sheet.

Free

Export Amazon product reviews in bulk to Google Sheets via RapidAPI

What it does Pulls up to 700 Amazon reviews per product (recent and top-rated) and writes them straight into a Google Sheet tab you choose. Perfect for β€’ Brand and product managers tracking sentiment β€’ Marketplace sellers analysing competitor feedback β€’ Agencies building product-review dashboards Apps used RapidAPI Real-Time Amazon Data, Google Sheets, n8n Form Trigger How it works 1. Form Trigger collects brand, product and sheet info. 2. Code node extracts the ASIN and builds 70 API requests (

Free

Read articles and save insights to Google Sheets using ChatGPT

Automatically read articles from RSS feeds, generate insights using ChatGPT, and save them to Google Sheets for easy tracking and analysis.

Free

Create Status Hero Activities from Google Sheets rows

Every time a new row is added to Google Sheets, Make will automatically add a status activity to a member in Status Hero. This example uses the spreadsheet in [this link](https://docs.google.com/spreadsheets/d/1UkjqjS8yLtrryl0ja3EBOyk2I4e6XvyXa7_0vQbTLAY/edit#gid=0).

Free

Save a Gmail email to Google Sheets as a new row

Save a Gmail email message to your Google Sheets spreadsheet as a new row.

Free

Add new Google Calendar events to a Google Sheets spreadsheet as new rows and email it to a specified email address

Every time a new event is created in a Google calendar, Make will automatically add that event to your Google Sheets spreadsheet as a new row. The spreadsheet will be then sent to a specified email address. The template uses this example spreadsheet.

Free

Build a weekly AI trend alerter with arXiv and Weaviate

Build a Weekly AI Trend Alerter with arXiv and Weaviate Ditch the endless scroll for AI trends. Meet Archi, your personal AI research assistant that hits you up once a week with everyone you need to know. πŸ§‘πŸ½β€πŸ”¬ This workflow scrapes AI and machine learning article abstracts from arXiv, enriches them with topic categories using a LLM, and embeds them in a Weaviate vector store. The vector store is then used as a tool for agentic RAG to write a concise, easy-to-read

Free

πŸ› οΈ State Management System for Long-Running Workflows with Wait Nodes

How it works This template is a powerful, reusable utility for managing stateful, long-running processes. It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed by external, asynchronous events. This pattern is essential for complex automations and I often call it the "Async Portal" or "Teleport" pattern. The template consists of two distinct parts: 1. The Main Process (Top Flow): This represents your primary business logic. It starts, performs some actions, and

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint β€” instant download
  • Setup guide PDF included
  • 5 downloads Β· valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

β‚Ή2,499/ session
3 hrs Β· video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free