AI Agents

Automate PDF image extraction and analysis using Google Drive

12 nodes 226 130 Automatic trigger
Download

Workflow Description

Automates extraction of images from PDF files stored in Google Drive, then analyzes them using OpenAI models to extract data and insights. Provides a complete workflow from detection to intelligent analysis.

How it works

  1. 1.Trigger automation when a PDF file is uploaded to the specified Google Drive folder
  2. 2.Extract all embedded images from the PDF document
  3. 3.Process each image separately through OpenAI API
  4. 4.Analyze image content and classify using AI models
  5. 5.Aggregate and organize results in a formatted report
  6. 6.Save the final report back to Google Drive

Use cases

  • Automatically process invoices and scanned business documents
  • Analyze medical images and reports attached to PDF files
  • Extract data from digitized forms and contracts

Requirements

  • Active Google Drive account with proper access permissions
  • Valid OpenAI API key configured
  • PDF files containing images suitable for analysis

Service Value

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

Apps Used

Google Drive OpenAI

Details

Trigger Automatic trigger
Nodes 12
Apps 2
Views 226
Downloads 130

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

/

When clicking ‘Test workflow’

Manual Trigger

#1

Sticky Note

Sticky Note

#2

Get pdf file

Google Drive

#3

Get all img_url

Set

#4

Analyze image

OpenAI

#5

Extract pdf image

HTTP Request

#6

Sticky Note1

Sticky Note

#7

Get image data

Split Out

#8

Sticky Note3

Sticky Note

#9

Get image analyze content

Set

#10

Integrate all content to a a content

Code

#11

Output content to a .txt file

Convert To File

#12