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 Invoice Data from Drive Files with Mistral OCR and Gemini

When a new file appears in Google Drive, Mistral OCR reads the invoice, Gemini structures the fields, and the data is appended to Google Sheets.

What it does

>> ### First column header in cell A1 MUST BE "Id". Id tracks the google drive Id and ensures the workflow is not processing previously processed files

The steps

  1. When clicking ‘Test workflow’
  2. On new file in Google Drive
  3. Load files from Google Drive folder
  4. Filter processed files
  5. Download file for OCR
  6. Get already processed rows from Sheets
  7. Save data to Google Sheets
  8. Mistral Upload
  9. Mistral Signed URL
  10. Mistral DOC OCR
  11. extract schema
  12. Join OCR Pages and remove id field
  13. Add google drive Id back
  14. Google Gemini Chat Model

20 steps in total.

Similar automations