AcademyWorkflowsData and reporting

Extract data from PDFs with Claude and Gemini

Operations and data teams that need to pull information out of PDF documents and want to compare two models.

  • Recommendedour rating
  • 13,377views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

extract-and-process-information-directly-from-pdf-using-claude-and-gemini.json

Loading the file...

What it does

An n8n workflow template that downloads a PDF from Google Drive, converts it to base64 and sends it straight to Claude 3.5 Sonnet and Gemini 2.0 Flash. Extraction happens in one step, without a separate OCR stage, so you can compare the two results.

Use cases

  1. 01Extract fields from a PDF stored in Google Drive
  2. 02Compare Claude and Gemini output on the same document
  3. 03Test a custom extraction prompt before using it at scale

Connects

HTTP Request · Google Drive

Questions about
Extract data from PDFs with Claude and Gemini.

What is Extract data from PDFs with Claude and Gemini used for?

Operations and data teams that need to pull information out of PDF documents and want to compare two models. An n8n workflow template that downloads a PDF from Google Drive, converts it to base64 and sends it straight to Claude 3.5 Sonnet and Gemini 2.0 Flash. Extraction happens in one step, without a separate OCR stage, so you can compare the two results.

How do I import Extract data from PDFs with Claude and Gemini into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Extract data from PDFs with Claude and Gemini safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.