🎣 Enrich Google Sheets leads with OpenAI GPT-4o-mini and draft Gmail outreach

⚑ 22 views · 🎣 Lead Generation & Enrichment

πŸ’‘ Pro Tip β€” For lead enrichment, ScraperNode can pull LinkedIn profiles, company data, and job listings directly into your pipeline β€” useful for building prospect lists without manual research.

View All Scrapers

Description

Quick overview

This workflow polls Google Sheets for new or updated lead rows, uses OpenAI to generate a short company summary and automation value proposition, creates a personalized outreach email draft in Gmail, and writes the AI summary and draft status back to the sheet.

How it works

  1. Polls Google Sheets every minute for new or updated rows in the selected worksheet.
  2. Sends the lead’s Company and Industry fields to OpenAI (GPT-4o-mini) to generate a two-sentence summary and an automation-focused value proposition.
  3. Creates a Gmail draft email addressed to the lead using the AI-generated text and a company-specific subject line.
  4. Updates the originating Google Sheet row with the AI summary and sets the Status field to β€œDraft Created.”

Setup

  1. Add credentials for Google Sheets, OpenAI, and Gmail in n8n. Please verify credentials are valid.
  2. Select the target Google Sheets document and worksheet in both the Google Sheets Trigger and the Update Google Sheet action.
  3. Ensure your sheet includes the columns used by the workflow (e.g., FirstName, Company, Industry, Status, and AI Summary).

πŸ”— Nodes Used

Google Sheets, Gmail, Google Sheets Trigger, OpenAI

πŸ“₯ Import

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

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