Extract text from PDF and image using Vertex AI (Gemini) into CSV

Extract text from PDF and image using Vertex AI (Gemini) into CSV

Manual
High
16
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
16
Node Types
9

Node Types

google Drive
Download Image, Download PDF, Upload to Google Drive, Upload to Google Drive1
4 nodes
lm Chat Google Gemini
Google Gemini Chat Model
1 node
google Drive Trigger
Get PDF or Images
1 node
extract From File
Extract data from PDF
1 node
switch
Route based on PDF or Image
1 node
http Request
Send data to A.I.
1 node
convert To File
Convert to CSV, Convert to CSV2
2 nodes
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3
4 nodes
chain Llm
Vertex A.I. extract text
1 node

Workflow JSON

13.16 KB
{
  "id": "sUIPemKdKqmUQFt6",
  "meta": {
    "instanceId": "558d88703fb65b2d0e44613bc35916258b0f0bf983c5d4730c00c424b77ca36a",
    "templateCredsSetupCompleted": true
  },
  "name": "Extract text from PDF and image using Vertex AI (Gemini) into CSV",
  "tags": [],
  "nodes": [
    {
      "id": "f60ef5f9-bc08-4cc9-804e-697ae6f88b9b",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        980,
        920
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-1.5-pro-latest"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "hmNTKSKfppgtDbM5",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "81d3f7b8-20cb-4aac-82a9-d4e8e6581105",
      "name": "Get PDF or Images",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        220,
        420
      ],
      "paramete...

Showing first 1000 characters. Click "Expand" to view the full JSON.