See llms.txt for all machine-readable content.

Back to Templates

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

Created by

Created by: Adetunji || twonjee2002
Adetunji

Last update

Last update 10 hours ago

Categories

Share


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).