Files & Documents

Analyze PDF Documents and Send Summaries via Email

18 nodes 277 99 Automatic trigger
Download

Workflow Description

Receives email messages with PDF attachments, extracts and analyzes document content using OpenAI, saves summaries to Google Drive, and sends automated reports back to recipients with actionable insights.

How it works

  1. 1.Receive incoming email with PDF attachment
  2. 2.Extract and read PDF content using document parser
  3. 3.Send text to OpenAI API for intelligent summarization
  4. 4.Store original file and summary in Google Drive folder
  5. 5.Send email notification with Drive link and key findings

Use cases

  • Automate processing and organizing invoices and contracts
  • Summarize lengthy reports and distribute to team members
  • Process legal documents and compliance files at scale

Requirements

  • Active OpenAI API key with sufficient credits
  • Gmail account with access to read messages and attachments
  • Google Drive account with adequate storage space
  • PDF format in email attachments

Service Value

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

Apps Used

Read P D F OpenAI Google Drive Gmail

Details

Trigger Automatic trigger
Nodes 18
Apps 4
Views 277
Downloads 99

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

/

Read PDF

Read P D F

#1

Sticky Note

Sticky Note

#2

Configure

Set

#3

Is PDF

If

#4

Not a PDF

No Op

#5

Is matched

If

#6

This is a matched PDF

No Op

#7

This is not a matched PDF

No Op

#8

Iterate over email attachments

Code

#9

OpenAI matches PDF textual content

OpenAI

#10

Merge

Merge

#11

Upload file to folder

Google Drive

#12

On email received

Gmail

#13

Note5

Sticky Note

#14

Ignore large PDFs

No Op

#15

Is text within token limit?

If

#16

Has attachments?

If

#17

There are no attachments

No Op

#18