AI Agents

Connect Google Sheets with Gmail

17 nodes 229 123 Scheduled trigger
Download

Workflow Description

Automated workflow that reads data from Google Sheets on a schedule, processes it through Gemini AI to extract and format relevant information, then sends customized emails via Gmail based on the analyzed results and applied conditions.

How it works

  1. 1.Scheduled trigger checks Google Sheets for new or updated rows
  2. 2.Batch processing applies filters to select relevant data records
  3. 3.LLM Chain with Gemini analyzes and transforms sheet data into structured insights
  4. 4.Conditional logic routes results based on defined criteria
  5. 5.Gmail sends personalized messages to specified recipients

Use cases

  • Daily automated reports with AI-powered summaries of spreadsheet data
  • Conditional notifications via email when specific sheet records are updated
  • Distribute and format spreadsheet information to multiple contacts automatically

Requirements

  • Google account with permissions for Sheets and Gmail access
  • Organized spreadsheet with data rows and email address fields
  • Valid API credentials or connection to Gemini language model service

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Google Sheets Split In Batches LLM Chain Gemini Output Parser Gmail

Details

Trigger Scheduled trigger
Nodes 17
Apps 6
Views 229
Downloads 123

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

Scheduled Start: Daily Churn Check

Schedule Trigger

#1

Fetch Customer Data from Sheet

Google Sheets

#2

Filter High Churn Risk & No Campaign Customers

Filter

#3

Check if Eligible Customers Found

If

#4

Process Each Eligible Customer

Split In Batches

#5

Generate Win-Back Offer

LLM Chain

#6

(LLM Model for Offer Generation)

Gemini Model

#7

(Parse Offer JSON)

Output Parser Structured

#8

Log Sent Offer in System Log

Google Sheets

#9

Send Win-Back Offer via Email

Gmail

#10

Set 'Not Found' Status

Set

#11

Log 'Not Found' in System Log

Google Sheets

#12

Sticky Note

Sticky Note

#13

Sticky Note1

Sticky Note

#14

Sticky Note2

Sticky Note

#15

Sticky Note3

Sticky Note

#16

Sticky Note4

Sticky Note

#17