🎣 Build Gmail contact database with GPT-5 Nano, Brave Search & Google Sheets

⚑ 41 views · 🎣 Lead Generation & Enrichment

πŸ’‘ Pro Tip β€” If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search β€” you just pass a URL and get structured data back.

View All Scrapers

Description

Overview

Transform your Gmail sent folder into a comprehensive, enriched contact database automatically. This workflow processes hundreds or thousands of sent emails, extracting and enriching contact information using AI and web search – saving days of manual work.

What This Workflow Does

  1. Loads sent Gmail messages and extracts basic contact information
  2. Deduplicates contacts against your existing Google Sheets database
  3. Searches for email conversation history with each contact
  4. AI-powered extraction from email threads (phone, socials, websites)
  5. Fallback web search via Brave API when no email history exists
  6. Saves enriched data to Google Sheets with all discovered contact details

Perfect For

Key Features

Intelligent Two-Path Enrichment

AI-Powered Data Extraction

Uses GPT-5 Nano to intelligently parse:

Built-in Deduplication

Prevents duplicate entries by checking existing Google Sheets records before processing.

Free-Tier Friendly

Runs entirely on free tiers:

Setup Requirements

Required Accounts & Credentials

  1. Gmail Account - OAuth2 credentials for Gmail API access
  2. OpenAI API Key - For GPT-5 Nano model
  3. Brave Search API Key - Free tier (2,000 searches/month)
  4. Google Sheets - OAuth2 credentials

Google Sheets Structure

Create a Google Sheet with these columns (see template link):

Template Sheet: Make a copy here

How to Use

  1. Clone this workflow to your n8n instance
  2. Configure credentials for Gmail, OpenAI, Brave Search, and Google Sheets
  3. Create/connect your Google Sheet using the template structure
  4. Run manually to process all sent emails and build your initial database
  5. Review results in Google Sheets - enriched with discovered contact info

First Run Tips

Customization Ideas

Extend the Enrichment

Automate Regular Updates

Integration Options

Improve Accuracy

Use Case Example

Music Promoter Building Venue Database:

Technical Notes

Cost Estimate

For processing 1,000 contacts:

Template Author:

Questions or need help with setup? πŸ“§ Email:xciklv@gmail.com πŸ’Ό LinkedIn:https://www.linkedin.com/in/vaclavcikl/

πŸ”— Nodes Used

Google Sheets, HTTP Request, Gmail, OpenAI Chat Model, Information Extractor

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup