n8n workflow template · 6 nodes · Google Drive
Extract and process information directly from PDF using Claude and Gemini is a free n8n workflow template that starts when you run it manually in the n8n editor and works with Google Drive. It has 6 nodes and no AI nodes. The notes inside the workflow say: “This prompt is used in both Gemini’s and Claude’s calls to define what information should be extracted and processed.” To run it, you add your own credentials for Anthropic API, Google Drive OAuth2 and Google Gemini (PaLM) API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
This prompt is used in both Gemini’s and Claude’s calls to define what information should be extracted and processed.
These 2 steps first download the PDF file, and then convert it to base64. This is required by both APIs to process the file.
You can force Claude to output JSON with Prefill response format
You can output the result as JSON by adding the following
or even use a structured output. Check the documentation
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
How it works
How to use it
The 6 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us