AI Agents

Summarize Gmail messages and send intelligent summaries automatically

19 nodes 331 162 Automatic trigger
Download

Workflow Description

Automation that monitors Gmail for new messages, analyzes content using advanced OpenAI models, splits lengthy text, and generates concise summaries that are sent back via email. Handles large documents efficiently with structured parsing and logical output formatting.

How it works

  1. 1.Trigger automation when new email arrives in Gmail
  2. 2.Extract and analyze email content with LLM Chain
  3. 3.Split lengthy message text into manageable segments
  4. 4.Process text through OpenAI language model
  5. 5.Send formatted summary back via Gmail

Use cases

  • Automatically summarize lengthy business emails
  • Process and digest email reports in real-time
  • Convert customer inquiries into actionable summaries

Requirements

  • Active Gmail account with API access enabled
  • OpenAI API key and credit balance
  • Stable internet connection for processing

Service Value

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

Apps Used

Document Json Input Loader Text Splitter LLM Chain OpenAI Tool Gmail Output Parser AI Agent

Details

Trigger Automatic trigger
Nodes 19
Apps 8
Views 331
Downloads 162

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

/

When clicking "Execute Workflow"

Manual Trigger

#1

Podcast Episode Transcript

Code

#2

Workflow Input to JSON Document

Document Json Input Loader

#3

Recursive Character Text Splitter

Text Splitter Recursive Character Text Splitter

#4

Sticky Note

Sticky Note

#5

Topics

Item Lists

#6

Summarize Transcript

Chain Summarization

#7

GPT 4 - Extract

OpenAI

#8

Wikipedia1

Tool Wikipedia

#9

Sticky Note1

Sticky Note

#10

Send Digest

Gmail

#11

Sticky Note3

Sticky Note

#12

Format topic text & title

Code

#13

Structured Output Parser

Output Parser Structured

#14

Extract Topics & Questions

LLM Chain

#15

GPT3.5 - Research

OpenAI

#16

GPT3.5 - Summarize

OpenAI

#17

Sticky Note4

Sticky Note

#18

Research & Explain Topics

Agent

#19