AI Agents

Connect Gmail with Google Sheets

24 nodes 209 136 Automatic trigger
Download

Workflow Description

An intelligent automation that monitors incoming Gmail messages, extracts key information using advanced language models (Gemini and Groq), and automatically organizes the data into a structured Google Sheets spreadsheet for easy review and analysis.

How it works

  1. 1.Monitor Gmail inbox for new incoming messages in real time
  2. 2.Process and analyze message content using AI language models (Gemini and Groq LLM)
  3. 3.Extract structured data and automatically insert rows into Google Sheets

Use cases

  • Collect job applications, inquiries, or customer requests from emails into a centralized tracking spreadsheet
  • Automatically categorize and prioritize incoming customer emails by topic and urgency level

Requirements

  • Active Gmail account with API access authorization for inbox messages
  • Google Cloud project with enabled Google Sheets and Gemini API
  • Groq LLM API key for flexible content processing (optional)

Service Value

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

Apps Used

Gmail Output Parser Gemini Google Sheets Lm Chat Groq LLM Chain

Details

Trigger Automatic trigger
Nodes 24
Apps 6
Views 209
Downloads 136

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 (24)

/

Get invoice

Gmail

#1

Get payment

Gmail

#2

Extract invoice

Extract From File

#3

Extract payment

Extract From File

#4

HTML

HTML Page

#5

Split Out

Split Out

#6

Structured Output Parser1

Output Parser Structured

#7

Google Gemini Chat Model1

Gemini Model

#8

Send

Google Sheets

#9

Set data 0

Set

#10

Set data 1

Set

#11

Set data 2

Set

#12

Invoice data

Set

#13

Payment data

Set

#14

Switch

Switch

#15

Groq Chat Model

Lm Chat Groq

#16

Structured Output Parser

Output Parser Structured

#17

Send1

Google Sheets

#18

Extract details1

LLM Chain

#19

Merge

Merge

#20

Extract details

LLM Chain

#21

Sticky Note

Sticky Note

#22

Sticky Note1

Sticky Note

#23

Sticky Note2

Sticky Note

#24