AI Agents

Summarize Gmail messages with AI and auto-forward insights

19 nodes 325 182 Automatic trigger
Download

Workflow Description

Automation that monitors incoming Gmail messages, analyzes their content using OpenAI's language models, intelligently summarizes key information, and automatically sends structured summaries to designated recipients or stores them for reference.

How it works

  1. 1.Trigger automation when new Gmail messages arrive
  2. 2.Split lengthy email content into processable text segments
  3. 3.Analyze and summarize message content using OpenAI LLM
  4. 4.Parse and structure extracted data from summaries
  5. 5.Send summaries back via Gmail or forward to external systems

Use cases

  • Digest lengthy customer emails for support team efficiency
  • Extract action items and deadlines from project communications
  • Route and categorize emails automatically to department inboxes

Requirements

  • Gmail account with API access credentials
  • OpenAI API key with sufficient token quota
  • Active n8n instance with internet connectivity

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 325
Downloads 182

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