Connect Gmail with Google Drive
Workflow Description
An intelligent automation that receives emails from Gmail, analyzes them using an AI agent powered by OpenAI, organizes content and stores it in Google Drive automatically, with optional X posting capabilities.
How it works
- 1.Receive new emails from Gmail automatically
- 2.Process email content using intelligent agent and OpenAI analysis
- 3.Organize processed data by merging and aggregating information
- 4.Save files and summaries to Google Drive
- 5.Split results and publish summaries to X when needed
Use cases
- Automatically manage and categorize multiple business emails into Drive folders
- Extract important data from emails and save organized reports to cloud storage
- Automate processing of offers and requests with secure digital documentation
Requirements
- Active Gmail account connected to n8n
- Google Drive account for storage and synchronization
- Valid API key from OpenAI
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (25)
When Executed by Another Workflow
Execute Workflow Trigger
Sticky Note10
Sticky Note
Create YouTube API URL
Code
Get YouTube Video Details
HTTP Request
Merge YouTube Details & Transcript
Merge
Create One JSON Object
Aggregate
Workflow Variables
Set
Sticky Note12
Sticky Note
Sticky Note14
Sticky Note
Sticky Note15
Sticky Note
Combine Comments
Summarize
Split Out Comments
Split Out
Get YouTube Video Comments
HTTP Request
When clicking ‘Test workflow’
Manual Trigger
Create YouTube API URL for Comments
Code
Gmail Report
Gmail
Sticky Note
Sticky Note
gpt-4o-mini
OpenAI
Sticky Note1
Sticky Note
Markdown to HTML
Markdown
YouTube Video Report Agent
Agent
Sticky Note2
Sticky Note
Get Video Comments with Pagination
Code
Save Report to Google Drive
Google Drive
Sticky Note4
Sticky Note