Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Documents, PDF & OCR

Documents, PDF & OCR

Extract text from Google Drive PDFs and images with Gemini into CSV

Runs when files are added to a watched Google Drive folder, sends PDFs and images to Vertex AI Gemini, and writes the extracted text to CSV.

What it does

## 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.iam.gserviceaccount.com

The steps

  1. Google Gemini Chat Model
  2. Get PDF or Images
  3. Route based on PDF or Image
  4. Download PDF
  5. Download Image
  6. Extract data from PDF
  7. Send data to A.I.
  8. Convert to CSV
  9. Upload to Google Drive
  10. Convert to CSV2
  11. Upload to Google Drive1
  12. Vertex A.I. extract text

Similar automations