Skip to content
Files & Documents

Process PDFs with AI and distribute summaries via Gmail

18 nodes 447 151 Webhook
Download

Loading workflow…

Workflow Description

Automate PDF file reception via webhook, extract content using OpenAI, store files in Google Drive, and send intelligent summaries through Gmail. Delivers a complete workflow for document management and automated analysis without manual intervention.

How it works

  1. 1.Receive PDF file through webhook and validate its format and integrity
  2. 2.Read PDF content and send to OpenAI for intelligent processing and summarization
  3. 3.Archive original file and processed summary in separate Google Drive folders
  4. 4.Send Gmail with summary and direct link to stored file in Drive

Use cases

  • Automatically process invoices and contracts to extract key business data
  • Receive PDF reports and summarize them for team distribution in real time
  • Smart document archiving with searchable index for easy retrieval
  • Analyze client documents and send executive summaries to sales team

Requirements

  • Active OpenAI account with valid API key and sufficient credits
  • Google and Gmail accounts linked via OAuth authentication
  • Webhook endpoint for reception with optional security authentication
  • Knowledge of expected file types and maximum file size limits

Service Value

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

Apps Used

OpenAI Set Code No Op If Merge Google Drive Webhook Gmail Read P D F Filter

Details

Trigger Webhook
Nodes 18
Apps 11
Views 447
Downloads 151

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)

/

OpenAI

OpenAI

#1

Configure

Set

#2

Iterate over email attachments

Code

#3

Not a PDF

No Op

#4

Is text within token limit?

If

#5

Merge

Merge

#6

Is matched

If

#7

Upload file to folder

Google Drive

#8

Webhook

Webhook

#9

Respond to Webhook

Webhook

#10

Create folder

Google Drive

#11

Aggregate attachments

Code

#12

Send email with invoices?

If

#13

Send to my accountant

Gmail

#14

Get emails with attachments

Gmail

#15

Read PDF email attachments

Read P D F

#16

Is attachment a PDF?

If

#17

Optional filter for emails

Filter

#18

Sticky Note

Sticky Note

#19

Sticky Note1

Sticky Note

#20
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime