Templates / Extract and process information directly from PDF using Claude and Gemini

Extract and process information directly from PDF using Claude and Gemini

Ready for 3.0

by Agent Studio ✓ · 16,686 views · created 2025-01-21 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 6 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Drive. It also calls api.anthropic.com and generativelanguage.googleapis.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Define Prompt (Edit Fields (Set)): sets 1 field: prompt
  2. Google Drive: download
  3. Extract from File: extracts data from a file (binary to propery)
  4. Call Claude 3.5 Sonnet with PDF Capabilities (HTTP Request): calls api.anthropic.com (POST)
  5. Call Gemini 2.0 Flash with PDF Capabilities (HTTP Request): calls generativelanguage.googleapis.com (POST)

Services it uses

Google Drive

HTTP calls to: api.anthropic.com, generativelanguage.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

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…

Excerpt from Agent Studio's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.