Kütüphane / Belgeler, PDF ve OCR
Belgeler, PDF ve OCR
Gmail'deki PDF'lerden Gemini ile Türkçe fatura verilerini Google Sheets'e aktar
Yeni Gmail mesajlarında çalışır, fatura PDF eklerini ayırır, metinlerini Google Drive üzerinden çıkarır, Gemini ile fatura ve kalem bilgilerini okur ve sonuçları Google Sheets'e yazar.
Ne yapar
## AI Invoice Processing ### How it works This workflow monitors Gmail for incoming messages with invoice attachments, separates each attachment, and processes them one at a time. It temporarily uploads and downloads each file through Google Drive, extracts the file text, uses Gemini-powered AI steps to classify and read invoice data, then writes invoice and line-item details into Google Sheets. Non-invoice or rejected files are routed to a cleanup path that deletes the temporary Drive file, while completed sheet writes merge back into the loop for the next attachment. ### Setup steps - Connect and authorize Gmail credentials for the Gmail Trigger, and configure the trigger filters to match the mailbox or labels where invoice emails arrive. - Connect Google Drive credentials and set the upload/download/delete nodes to use the intended temporary folder or file handling settings. - Connect Google Gemini credentials for both AI nodes, and verify the structured output schemas match the fields expected downstream. - Connect Google Sheets credentials and configure both append-row nodes with the target spreadsheet, sheets, and column mappings. - Test with sample invoice and non-invoice attachments to confirm classification, extraction, deletion, and looping behavior. ### Customization You can customize the Gmail search criteria, the Drive temporary storage location, the Gemini prompts and structured schemas, and the Google Sheets column mappings for different invoice formats or additional extracted fields.
Adımlar
- When Email Received
- Set Email Fields
- Split Attachments
- Merge Email Data
- Upload to Google Drive
- Download from Google Drive
- Extract Invoice Data
- Parse Structured Output
- Loop Over Attachments
- Parse Structured Details
- If Status Is Valid
- Delete from Google Drive
- AI Invoice Agent
- Append to Invoice Sheet
Toplam 21 adım.
Benzer otomasyonlar
Belgeler, PDF ve OCRTrack contract renewals from Drive PDFs with Gemini, Sheets, Gmail and Slack43 adımBelgeler, PDF ve OCRJustFill ve Google Drive ile yeni Google Sheets satırlarından PDF formlarını doldur6 adımBelgeler, PDF ve OCRDrive PDF ve görsellerinden metni Gemini ile çıkar12 adımBelgeler, PDF ve OCRGmail Eklerini Drive'a Kaydetme ve Verileri OpenAI ile Sheets'e Kaydetme14 adım