Extract and process information directly from PDF using Claude and Gemini

Workflow: Extract data from PDF with Claude 3.5 Sonnet or Gemini 2.0 Flash Overview - This workflow helps you compare Claude 3.5 Sonnet and Gemini 2.0 Flash when extracting data from a PDF - This workflow extracts and processes the data within a PDF in one single step, instead of calling an OCR and then an LLM” How it works - The initial 2 steps download the PDF and convert it to base64. - This base64 string is then sent to both Claude 3.5 Sonnet and Gemini 2.0 Flash to extract information. - Th

Integrations Used (2)

Workflow Structure (6 nodes)
100%
Manual Trigger
When clicking 'Test workflow'
Set
Define Prompt
Google Drive
Google Drive
Extract From File
Extract from File
Http Request
Call Claude 3.5 Sonnet with PDF Capabilities
Http Request
Call Gemini 2.0 Flash with PDF Capabilities
Node Types:
trigger
default
action
http
transform
Requires credentials

Prerequisites

Required Credentials (3)

Anthropic

Used by: Call Gemini 2.0 Flash with PDF Capabilities, Call Claude 3.5 Sonnet with PDF Capabilities

Docs

Google Drive

Used by: Google Drive

Docs

Google Palm

Used by: Call Gemini 2.0 Flash with PDF Capabilities

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Moderate

Some experience helpful. Multiple integrations or logic.

Setup time: ~30 min
Score: 33/100
4 Integrations

When to Use This Workflow

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Time Savings

Replace repetitive manual tasks with reliable automation.

Reclaim hours every week for higher-value work.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "meta": {
    "instanceId": "f4f5d195bb2162a0972f737368404b18be694648d365d6c6771d7b4909d28167"
  },
  "nodes": [
    {
      "id": "b6cd232e-e82e-457b-9f03-c010b3eba148",
      "name": "When clicking 'Test workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -40,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2b734806-e3c0-4552-a491-54ca846ed3ac",
      "name": "Extract from File",
      "type": "n8n-nodes-base.extractFromFile",
...

Workflow Details

Nodes
11
Trigger
Manual
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

CV Resume PDF Parsing with Multimodal Vision AI

Try me out! This workflow converts a Candidate Resume PDF to an image which is then "read" by a Vision Language Model (...

Outputparserstructured
Google-drive
Http-request
Editimage
13 nodesManual
Curated

Transcribing Bank Statements To Markdown Using Gemini Vision AI

Try Me Out! This workflow converts a bank statement to markdown, faithfully capturing the details using the power of Vi...

Lmchatgooglegemini
Google-drive
Http-request
Compression
20 nodesManual
Curated

Extract text from PDF and image using Vertex AI (Gemini) into CSV

How to extract PDF and image text into CSV using n8n (without manual data entry) This workflow will extract text data fr...

Lmchatgooglegemini
Google-drive
Http-request
Chainllm
16 nodesEvent
Curated

Parse PDF with LlamaParse and save to Airtable

Scenario 1

Google-drive
Http-request
Airtable
Webhook
18 nodesEvent
Curated

Convert URL HTML to Markdown Format and Get Page Links

40 at a time seems to be the memory limit on my server - run until complete with batches of 40 or increase based on your...

Http-request
17 nodesManual
Curated

Hacker News to Video Template - AlexK1919

Choose your data source This can be swapped for any other data source of your choosing.

Hackernews
Lmchatopenai
Toolhttprequest
Outputparserstructured
48 nodesManual
Curated