Библиотека / Документы, PDF и OCR
Документы, PDF и OCR
Log receipt expenses in Notion with Gmail, Telegram, and OpenAI
When another workflow fails, it reads and extracts data from documents with OpenAI / ChatGPT using Airtable, Gmail, Google Sheets, Notion.
Что делает
## 🧾 Receipt Scanner – Auto-Extract & Track Expenses ### How it works Two triggers feed the same pipeline. Email: Gmail fires on receipt emails — attachments are extracted, PDFs go through text extraction, images straight to GPT-4o-mini vision. Telegram: send a photo of a receipt to your bot and it downloads and processes it the same way. GPT-4o-mini extracts structured data (vendor, amount, tax, category, date). Fields are validated and normalised. High-value receipts (>100) are flagged to a Slack channel for review. Every expense is logged to Google Sheets AND Airtable for finance tracking, then written to your Notion Expenses database. A formatted Telegram confirmation closes the loop. ### Setup steps 1. Connect Gmail OAuth2 to Gmail Trigger Receipts. 2. Connect Telegram Bot API to Telegram Trigger, Telegram Get Photo File, Send Telegram Confirmation. 3. Connect OpenAI API to both AI Extract nodes. 4. Connect Notion API → REPLACE_WITH_YOUR_NOTION_EXPENSES_DATABASE_ID. 5. Connect Google Sheets OAuth2 → YOUR_GOOGLE_SHEET_ID (create Expense Log tab). 6. Connect Slack OAuth2 → YOUR_SLACK_CHANNEL_ID. 7. Connect Airtable PAT → YOUR_AIRTABLE_BASE_ID + YOUR_AIRTABLE_TABLE_ID. 8. Activate both triggers.
Шаги
- On Workflow Error
- Slack — Send Workflow Error Alert
- Telegram — Send Workflow Error Alert
- Validate & Normalise Fields
- Is High-Value Expense? (>100)
- Slack – Flag High-Value for Review
- Sheets – Append to Monthly Expense Log
- Airtable – Log to Finance Tracker
- Wait 1s – Before Notion Create
- Build Confirmation Summary
- Send Telegram Confirmation1
- Create Expense Page1
- Parse Receipt JSON1
- Extract PDF Text1
Всего шагов: 24.
Похожие автоматизации
Финансы, счета и бухгалтерияИзвлечение данных из чеков на фото в Telegram в Google Sheets с помощью OpenAIШагов: 4Файлы и облачное хранилищеCapture LINE receipt expenses with Gemini, Google Drive and Google SheetsШагов: 17Финансы, счета и бухгалтерияИзвлечение расходов из чеков в письмах в Sheets с помощью MindeeШагов: 16Финансы, счета и бухгалтерияЗапись фото чеков из Telegram в Google Sheets с извлечением расходов через GeminiШагов: 28