Templates / Parse files and URLs into structured JSON with Groq and Google Gemini

Parse files and URLs into structured JSON with Groq and Google Gemini

Ready for 3.0

by David · 1 views · created 2026-10-01 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 24 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Groq Chat Model, Google Drive and Google Gemini Chat Model.

How it runs

Trigger: When another workflow calls it (plus 1 other trigger).

  1. Set Default Extraction (Edit Fields (Set)): sets 1 field: extraction
  2. Download Test File (Google Drive): download
  3. Split Files and Build Schema (Code): runs custom JavaScript code
  4. Route by File Type (Switch): routes items into 7 branches
  5. Convert Image Format (Edit Image): uses Edit Image
  6. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  7. Extract JSON Content (Extract from File): extracts data from a file (from json)
  8. Extract Excel Rows (Extract from File): extracts data from a file (xlsx)
  9. Extract CSV Rows (Extract from File): extracts data from a file
  10. Extract Document Text (Extract from File): extracts data from a file (text)

…plus 8 more steps. See the full node list below.

Services it uses

Groq Chat ModelGoogle DriveGoogle Gemini Chat Model

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 (16)

From the author

Quick overview This sub-workflow accepts files or a URL from a parent workflow, extracts readable text from many formats, optionally converts that text into structured JSON using Groq and Google Gemini models, and returns one normalized result per input. How…

Excerpt from David'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.