Parse files and URLs into structured JSON with Groq and Google Gemini
Ready for 3.0What 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).
- Set Default Extraction (Edit Fields (Set)): sets 1 field: extraction
- Download Test File (Google Drive): download
- Split Files and Build Schema (Code): runs custom JavaScript code
- Route by File Type (Switch): routes items into 7 branches
- Convert Image Format (Edit Image): uses Edit Image
- Extract PDF Text (Extract from File): extracts data from a file (pdf)
- Extract JSON Content (Extract from File): extracts data from a file (from json)
- Extract Excel Rows (Extract from File): extracts data from a file (xlsx)
- Extract CSV Rows (Extract from File): extracts data from a file
- 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
Other Google Gemini + Google Drive templates (272) · Other Google Gemini + Groq templates (40) · Other Groq + Google Drive templates (31)
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)
- Extract from File
n8n-nodes-base.extractFromFile - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Aggregate
n8n-nodes-base.aggregate - Summarize
n8n-nodes-base.summarize - Switch
n8n-nodes-base.switch - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Google Drive
n8n-nodes-base.googleDrive - Edit Image
n8n-nodes-base.editImage - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - HTTP Request
n8n-nodes-base.httpRequest
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…