Log German VAT-ready expense receipts via Telegram with OpenAI and Google Sheets
Ready for 3.0What this workflow does
This workflow has 56 nodes and runs on Telegram events (message, callback query). Along the way it connects Telegram, Google Drive and Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: On Telegram events (message, callback query).
- ⚙️ Config (Edit Fields (Set)): sets 3 fields: owner_chat_ids, sheet_url, home_vat_country
- Route Event (Code): runs custom JavaScript code
- Switch: routes items into 4 branches
- Parse Callback (Code): runs custom JavaScript code
- Ack: Got Photo (Telegram): uses Telegram
- Parse Voice Reply (Code): runs custom JavaScript code
- Parse Text Reply (Code): runs custom JavaScript code
- Send: Send Photo First (Telegram): uses Telegram
- Acknowledge Callback (Telegram): work with callback
- Download Photo (Telegram): work with file
…plus 45 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Telegram + OpenAI templates (807) · Other Google Drive + Google Sheets templates (720)
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - HTTP Request
n8n-nodes-base.httpRequest - Google Drive
n8n-nodes-base.googleDrive - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow lets you send receipt photos to a Telegram bot, extracts key fields with OpenAI Vision, stores the image in Google Drive, and logs a German tax-ready expense row to Google Sheets with deductible amount and VAT handling, including…