AI-Powered Gmail PDF Attachment Routing to Google Drive

Read P D F
Complex Trigger

This n8n workflow intelligently processes incoming Gmail emails to identify and manage specific PDF attachments. It leverages OpenAI to analyze the content of these PDFs, allowing for smart decisions on whether to save them. The workflow first triggers upon receiving an email, then extracts and reads any PDF attachments. Based on the AI's analysis of the PDF's content, it determines if the document meets predefined criteria for storage. If the criteria are met, the workflow automatically uploads these specific PDF files to a designated folder in Google Drive. This automation streamlines document management, ensuring only relevant PDFs are archived, reducing manual effort and improving organization. It's ideal for filtering invoices, reports, or other critical documents based on their textual content.

18
Nodes
10
Services
3
Categories
Complex
Type

Get This Workflow

Free n8n workflow template ready to import

Share on social

File Details

Filename
0298_Code_Readpdf_Send_Triggered.json
Category
Code
Updated
09/04/2025

Services & Integrations

Read P D F
Sticky Note
Set
If
No Op
Code
Open Ai
Merge
Google Drive
Gmail Trigger

Interactive Workflow Diagram

Official n8n visualization • Click and drag to explore

Loading workflow visualization...

Official n8n visualization

How to Use This Workflow

1

Download the Workflow

Click the "Download Workflow" button above to get the JSON file.

2

Import to n8n

In your n8n instance, go to Workflows → Import and select the JSON file.

3

Configure Credentials

Set up your Read P D F and other service credentials in n8n.

4

Activate & Test

Activate the workflow and test it to ensure everything works correctly.

Tags

#code
#read-p-d-f
#sticky-note
#set
#complex
#code
#development
#workflow-automation

Ready to transform your business?