AI Agents

Connect Google Drive with Gmail

22 nodes 247 125 Automatic trigger
Download

Workflow Description

Automation that monitors a Google Drive folder, extracts file content, analyzes it with OpenAI's AI model, and sends intelligent summaries via Gmail automatically.

How it works

  1. 1.Monitor a specified Google Drive folder for new file uploads
  2. 2.Extract text and data from detected files using extraction nodes
  3. 3.Process content through LLM Chain for intelligent analysis and insights
  4. 4.Generate customized summaries or messages based on analyzed data
  5. 5.Send results automatically to designated recipients via Gmail

Use cases

  • Process reports and documents to automatically send smart summaries to your team
  • Analyze important documents and distribute actionable insights via email

Requirements

  • Active Google Drive connection with proper folder access permissions
  • Valid OpenAI API key and activated Gmail account
  • Clearly defined monitored folder and target recipient email addresses

Service Value

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

Apps Used

Google Drive OpenAI Gmail LLM Chain

Details

Trigger Automatic trigger
Nodes 22
Apps 4
Views 247
Downloads 125

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

/

List Files

Google Drive

#1

OpenAI Chat Model

OpenAI

#2

is XLSX

If

#3

Get File

Google Drive

#4

Merge XLSX and CSV

Merge

#5

Format Data

Code

#6

Set fileName

Set

#7

Sticky Note2

Sticky Note

#8

Sticky Note3

Sticky Note

#9

Sticky Note5

Sticky Note

#10

Sticky Note6

Sticky Note

#11

Sticky Note7

Sticky Note

#12

Preserve File Name

Set

#13

Email Optimizations

Gmail

#14

Extract XLSX Data

Extract From File

#15

Extract CSV Data

Extract From File

#16

Preserve CSV File Name

Set

#17

When clicking ‘Test workflow’

Manual Trigger

#18

Sticky Note

Sticky Note

#19

Email Options

Set

#20

Sticky Note1

Sticky Note

#21

AI Analyze

LLM Chain

#22