Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Документы, PDF и OCR

Документы, PDF и OCR

Сортировка счетов поставщиков из Gmail в Sheets с Gemini и уведомления в Telegram

Запускается на непрочитанные письма Gmail с PDF-вложениями, сохраняет каждый PDF в Google Drive, извлекает поля счета с помощью Gemini и записывает их в Sheets, а если файл не читается, отправляет уведомление в Telegram.

Что делает

## File supplier invoices from Gmail — read by Gemini AI Who it's for — small businesses, freelancers and bookkeepers who receive supplier invoices by email and still copy the numbers into a spreadsheet by hand. How it works 1. Gmail is watched for unread mails with a PDF attached. 2. The PDF is archived in your Google Drive folder first — you never lose the source document. 3. Gemini reads the text and pulls out supplier, invoice number, dates, net, VAT, total and currency. 4. Anything it cannot read cleanly is parked, and you get a Telegram message instead of a bad row. 5. Duplicates are checked against the sheet itself and stopped. 6. Clean invoices become one row in Google Sheets with a link back to the PDF, the email is marked as read, and Telegram confirms what was filed. Setup steps 1. Connect Gmail, Google Drive, Google Sheets, Telegram and Google Gemini (a free API key from Google AI Studio is enough). 2. Create a sheet named Invoices with columns: supplier, number, date, due, net, vat, total, currency, pdf. 3. Open Your settings and paste your Telegram chat id, the sheet URL and the Drive folder URL. 4. Activate the workflow, then email yourself a PDF invoice to watch it get filed.

Шаги

  1. Invoice lands in the inbox
  2. Your settings
  3. Read the PDF
  4. Archive a copy in Drive
  5. Gemini pulls the numbers out
  6. Gemini 2.5 Flash
  7. Tidy up what Gemini found
  8. Did it read cleanly?
  9. Park it for a human
  10. What's already filed
  11. Duplicate check & decide
  12. Safe to write?
  13. Stop the duplicate
  14. Shape the row

Всего шагов: 17.

Похожие автоматизации