Skip to content
AI Agents

Extract email data and save to Google Sheets automatically

21 nodes 568 208 Automatic trigger
Download

Loading workflow…

Workflow Description

This workflow captures incoming emails, analyzes their content using AI models (Gemini and Groq), extracts structured data from the message body, and automatically appends the results to a Google Sheets spreadsheet for centralized tracking and review.

How it works

  1. 1.Trigger workflow when new emails arrive in Gmail
  2. 2.Analyze email content using AI language models
  3. 3.Parse and structure extracted data
  4. 4.Insert data row into Google Sheets spreadsheet

Use cases

  • Track customer inquiries and requests automatically in a shared sheet
  • Capture invoices and financial details from emails for accounting
  • Archive meeting notes from emails in an organized Google Sheet

Requirements

  • Active Gmail account with API access
  • Pre-configured Google Sheets spreadsheet
  • Gemini and Groq API keys

Service Value

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

Apps Used

Gmail Twitter/X HTML Split Out Output Parser Gemini Google Sheets Set If Lm Chat Groq LLM Chain Merge

Details

Trigger Automatic trigger
Nodes 21
Apps 12
Views 568
Downloads 208

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

/

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
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime