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
- Polls Google Sheets every minute for new or updated rows in the selected worksheet.
- 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.
- Creates a Gmail draft email addressed to the lead using the AI-generated text and a company-specific subject line.
- Updates the originating Google Sheet row with the AI summary and sets the Status field to “Draft Created.”
Setup
- Add credentials for Google Sheets, OpenAI, and Gmail in n8n. Please verify credentials are valid.
- Select the target Google Sheets document and worksheet in both the Google Sheets Trigger and the Update Google Sheet action.
- Ensure your sheet includes the columns used by the workflow (e.g., FirstName, Company, Industry, Status, and AI Summary).