Extract text from PDF and image using Vertex AI (Gemini) into CSV
Triggered manually or by an app event. Connects Convert To File, Extract From File, Google Drive, HTTP request, Switch. How to extract PDF and image text into CSV using n8n (without manual data entry) This workflow will extract text data from PDF and images, then store it as CSV. [💡 You can read more about this workflow here]({{ $env.WEBHOOKURL }} Get PDF or image You need to create a new folder i
Front matter
name: Extract text from PDF and image using Vertex AI (Gemini) into CSV
description: Triggered manually or by an app event. Connects Convert To File, Extract From File, Google Drive, HTTP request, Switch. ## How to extract PDF and image text into CSV using n8n (without manual data entry) This workflow will extract text data from PDF and images, then store it as CSV. [💡 You can read more about this workflow here]({{ $env.WEBHOOK_URL }} ## Get PDF or image You need to create a new folder inside Google Drive for uploading your PDF and images. Once you create a folder, you need to add your Google cloud user by going to Share -> Add user. The user email should be like: n8n-server@n8n-server-435232.
category: Automation
kind: Workflow
software: Convert To File|Extract From File|Google Drive|HTTP request|SwitchExtract text from PDF and image using Vertex AI (Gemini) into CSV
Triggered manually or by an app event. Connects Convert To File, Extract From File, Google Drive, HTTP request, Switch. ## How to extract PDF and image text into CSV using n8n (without manual data entry)
This workflow will extract text data from PDF and images, then store it as CSV.
[💡 You can read more about this workflow here]({{ $env.WEBHOOK_URL }} ## Get PDF or image You need to create a new folder inside Google Drive for uploading your PDF and images.
Once you create a folder, you need to add your Google cloud user by going to Share -> Add user. The user email should be like: n8n-server@n8n-server-435232.
Steps
- Google Gemini Chat Model (noOp)
- Get PDF or Images (googleDriveTrigger)
- Route based on PDF or Image (switch)
- Download PDF (googleDrive)
- Download Image (googleDrive)
- Extract data from PDF (extractFromFile)
- Send data to A.I. (httpRequest)
- Convert to CSV (convertToFile)
- Upload to Google Drive (googleDrive)
- Convert to CSV2 (convertToFile)
- Upload to Google Drive1 (googleDrive)
- Sticky Note (stickyNote)
- Sticky Note1 (stickyNote)
- Sticky Note2 (stickyNote)
- Sticky Note3 (stickyNote)
- Vertex A.I. extract text (noOp)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Automate PDF Image Extraction & Analysis with GPT-4o and Google Drive
- 📄✨ Easy Wordpress Content Creation from PDF Document + Human In The Loop with Gmail Approval
- Manualtrigger Workflow: n8n, Compression and Extract From File
- Image-Based Data Extraction API using Gemini AI
- Automated PDF to HTML Conversion
- Attachments Gmail to drive and google sheets
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.