FM
FlowMarket
AI Agents Intermediate ⚡ 11 n8n Nodes

Extract and process information directly from PDF using Claude a

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 ...

🔌 Nodes & Integrations Used (3)

Extract From File Google Drive HTTP Request

📖 Implementation & Setup Guide

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. - This workflow is made to let you compare results, latency, and cost (in their dedicated dashboard).

How to use it - Set up your Google Drive if not already done - Select a document on your Google Drive - Modify the prompt in "Define Prompt" to extract the information you need and transform it as wanted. - Get a [Claude API key](https://console.anthropic.com/settings/keys) and/or [Gemini API key](https://aistudio.google.com/app/apikey) - Note that you can deactivate one of the 2 API calls if you don't want to try both - Test the Workflow

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Extract_and_process_information_directly_from_PDF_using_Claude_a.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →