Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow that sends one PDF straight to Claude and to Google Gemini with the same prompt. You compare what each model pulls out, with no separate OCR step.
PDF data pulled out in one step by Claude and Gemini is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
A manual run
You start it by hand:
Two answers, one from Gemini and one from Claude, to compare in each call node
What you need before you start.
File storage
Holds the PDF and downloads it.
NeedsA Google Drive credential
Document reader
Reads the whole PDF and answers the prompt with claude-sonnet-5-5.
NeedsAn Anthropic API key, in an Anthropic credential
Document reader
Reads the whole PDF and answers the prompt with gemini-3.8-flash.
NeedsA Gemini API key, in a Google Gemini(PaLM) API credential
Checked by Mindket on 13 Nov 2026
This n8n workflow reads a PDF with two AI models at once. It downloads a file from Google Drive and turns it into base64. Two HTTP Request nodes then send it to Gemini and to Claude, each with the prompt you set in Define Prompt. Each model reads the whole PDF itself, with no OCR step before it. The sample prompt asks for the VAT numbers in an invoice. Six nodes do the work, beside five sticky notes.
People who want to compare two models on their own documents before they pick one, such as an accountant testing invoice extraction. Skip it for a production pipeline. The answers are not merged or checked, and each call is billed by its provider.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Finance | Accountants | Pull tax numbers and totals out of invoices | An accountant sends a supplier invoice and compares the VAT numbers each model returns. |
| Legal | Paralegals | Pull dates and parties out of contracts | A paralegal asks both models for the end date of a lease and checks them against the page. |
| Operations | Back office staff | Test models on forms before automating them | A clerk runs ten sample forms and notes which model reads the handwriting better. |
| Procurement | Buyers | Compare quotes from different suppliers | A buyer asks for the unit prices in each quote PDF and lines up the answers. |
You need basic n8n skills and three accounts: Google Drive, Anthropic and Google Gemini.
Any n8n that can reach Google Drive, Anthropic and Google’s Gemini API will run it.
Google DriveDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Three accounts are involved, and you can leave one model out.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| Google Drive | A Google Drive credential, and a PDF saved there |
| Anthropic | An API key, saved in an Anthropic credential |
| Google Gemini | An API key, saved in a Google Gemini(PaLM) API credential |
workflow.json.Google Drive. Put your PDF’s file ID in the node, in place of <YOUR_DRIVE_FILE_ID>.Call Claude with the PDF.Call Gemini with the PDF.Define Prompt.When clicking 'Test workflow'.Run the workflow by hand. Open each call node to read the answer. Claude’s text sits in content and Gemini’s in candidates.
| To change | Where |
|---|---|
| What to extract | prompt in Define Prompt |
| The Claude model | model in the body of Call Claude with the PDF |
| The Gemini model | The model name in the address of Call Gemini with the PDF |
| The length of Claude’s answer | max_tokens in the body of Call Claude with the PDF |
| The file | fileId in Google Drive |
An accountant picks a supplier invoice PDF and keeps the sample prompt that asks for the VAT numbers for each country.
Both calls return text that should list the VAT numbers it found, so the accountant can see where the two models differ.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Base64 is a way to write a file as plain text, so it can travel inside a request. Claude and Gemini can both read a PDF sent this way.
For experts. Both calls are HTTP Request nodes with a predefined credential, so n8n adds the key for you. The prompt is pasted into a JSON body, so a double quote inside it breaks the request.
| Node | What it does | What to know |
|---|---|---|
Define Prompt | Holds the question in the field prompt | Both calls read it by node name |
Extract from File | Turns the downloaded PDF into base64 in data | The base64 text makes the request about a third bigger than the file |
Call Gemini with the PDF | Posts the PDF and the prompt to Gemini’s generateContent | It sends the PDF as inlineData, and Gemini takes a PDF of up to 50 MB or 1000 pages |
Call Claude with the PDF | Posts the PDF and the prompt to Anthropic’s Messages API | It sends a document block, and Claude takes up to 600 pages, or 100 when the context window is under 1M tokens |
Two models and one version header were updated. Mindket did not run either call.
gemini-2.0-flash-exp. Google’s deprecations page, read on 12 November 2026, shows the 2.0 Flash family shut down on 1 June 2026 and does not list the experimental name. Mindket’s copy uses gemini-3.8-flash, which the models page lists as stable with PDF inputclaude-3-5-sonnet-20241022. Anthropic’s deprecations page, read on 12 November 2026, lists it as retired on 28 October 2025, with claude-sonnet-5-5 as the replacement. Mindket’s copy uses that model, which the PDF support page lists2026-10-21. The file sent 2023-06-01. The new version removes temperature, top_p and top_k, and this call sends noneAn n8n workflow that sends one PDF straight to Claude and to Google Gemini with the same prompt. You compare what each model pulls out, with no separate OCR step.
workflow.json: the workflow as n8n exports it, eleven nodes. Six do the work and five are sticky notes that label the steps. It holds no credential.README.md: these notes.gemini-2.0-flash-exp. Google’s deprecations page, read on 12 November 2026, shuts down the 2.0 Flash family on 1 June 2026 and does not list that name. Mindket’s copy uses gemini-3.8-flash, which the models page lists as stable with PDF input.inline_data and mime_type. It now uses inlineData and mimeType, as Google’s reference writes them.claude-3-5-sonnet-20241022. Anthropic’s deprecations page lists it as retired on 28 October 2025, with claude-sonnet-5-5 as the replacement. Mindket’s copy uses that model.anthropic-version header was 2023-06-01. It is now 2026-10-21, the version Anthropic’s versioning page tells callers to send.Call Gemini with the PDF and Call Claude with the PDF. The Drive file ID of the sample invoice is gone, and the sticky notes were rewritten.workflow.json.Google Drive. Put your PDF’s file ID in the node, in place of <YOUR_DRIVE_FILE_ID>.Call Claude with the PDF.Call Gemini with the PDF.Define Prompt.When clicking 'Test workflow'.When clicking 'Test workflow' starts the run, and Define Prompt sets the field prompt.Google Drive downloads the PDF, and Extract from File turns it into base64 in the field data.Call Gemini with the PDF posts the PDF and the prompt to Gemini’s generateContent address.Call Claude with the PDF posts the same PDF and prompt to Anthropic’s Messages API.prompt in Define Prompt.model in the body of Call Claude with the PDF.Call Gemini with the PDF.max_tokens in the body of Call Claude with the PDF.fileId in Google Drive.generationConfig with responseMimeType set to application/json to its body.NOTICE.md 696 B README.md 4 KB workflow.json 7 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
zarazhangrui · Skill
Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…
iptv-org · Kit
Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…
uwg · Kit
Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…