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 PDF and Image Text with Gemini Vertex AI

When a file appears in Google Drive, it routes PDFs and images to Vertex AI Gemini, which extracts the text and data.

What it does

# Extract text from PDF and image using Vertex AI (Gemini) into CSV ## Overview Automated workflow: Extract text from PDF and image using Vertex AI (Gemini) into CSV. This workflow integrates 10 different services: convertToFile, stickyNote, httpRequest, googleDriveTrigger, lmChatGoogleGemini. It contains 27 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 27 - Node Types: 10 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Google Gemini Chat Model: lmChatGoogleGemini - 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 - ... and 17 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible

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
  13. Error Handler
  14. Error Handler for f60ef5f9

31 steps in total.

Similar automations