Automated Financial Tracker: Telegram Invoices to Notion with Gemini AI Reports — n8n 工作流

复杂度 定时15 个节点🏷️ Invoice Processing👁 3,597 次查看作者:Rizqi Pratama Ramadhani

概览

Automated Financial Tracker: Telegram Invoices to Notion with AI Summaries & Reports

Tired of manually logging every expense? Streamline your financial tracking with this powerful n8n workflow!

Snap a photo of your invoice in Telegram, and let AI (powered by Google Gemini) automatically extract the details, record them in your Notion database, and even send you a quick summary. Plus, get scheduled weekly reports with charts to visualize your spending. Automate your finances, save time, and gai

使用的节点

Edit ImageTelegramNotionCodeQuickChartBasic LLM ChainStructured Output ParserGoogle Gemini Chat Model

工作流预览

Automated Financial Tracker: Telegram Invoice
Schedule report to send on chanel or private
📸 INVOICE INPUT 📸
Bot listens here for photos of your receipts/invoices.
Ensure your Telegram Bot API token is set in credential
🤖 AI MAGIC HAPPENS HERE 🧠
- Image is sent to Google Gemini for data extraction.
- Check 'Basic LLM Chain' to customize the AI prompt (e
- Requires Google Gemini API cre
✨ STRUCTURING AI DATA ✨
Converts the AI's text output into a usable JSON object
Check the schema if you modify the AI prompt significan
📝 SAVING TO NOTION 📝
- Extracted transaction data is saved here.
- Configure with your Notion API key & Database ID.
- Map fields correctly to your database columns!
REPORTING SCHEDULE 🗓️
Set how often you want to receive your spending report
📊 FETCHING DATA FOR REPORT 📊
- Retrieves transactions from Notion for the report per
- Default: "Past Week". Adjust filter as needed.
- Requires Notion API credentials & Database ID.
➕ SUMMARIZING SPENDING ➕
Aggregates your expenses, usually by category,
to prepare for the chart.
📈 GENERATING VISUAL REPORT 📈
Creates the actual chart image based on your spending d
You can customize chart type (bar, pie, etc.) here.
📤 SENDING REPORT TO TELEGRAM 📤
- Delivers the generated chart to your chosen Telegram
- Set the correct Chat ID and Bot API token.
💬 TRANSACTION SUMMARY 💬
Sends a confirmation message back to the user in Telegr
with a summary of the recorded expense.
🔑 CREDENTIALS NEEDED 🔑
Remember to set up API keys/tokens for:
- Telegram
- Google Gemini
- Notion
💡 CUSTOMIZE ME! 💡
modelparser
Google Gemini Chat Model
Basic LLM Chain
S
Schedule Trigger | for s…
Get Recent Data from Not…
S
Summarize Transaction Data
Generate Chart
Send Chart Image to Grou…
Convert Data to JSON cha…
T
Telegram Trigger | When …
Get Image Info
Parse To your object | T…
S
Split Out | data transac…
Sendback to chat and giv…
Record To Notion Database
Telegram
15 nodes13 edges

工作原理

  1. 1

    触发器

    工作流由 定时 触发器启动,按预定计划运行。

  2. 2

    处理

    数据流经 15 个节点, connecting chainllm, code, editimage。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (15)

ED

Edit Image

editImage

#1
TE

Telegram

telegram

#2
NO

Notion

notion

#3
CO

Code

code

#4
QU

QuickChart

quickChart

#5
BA

Basic LLM Chain

n8n-nodes-langchain.chainLlm

#6
ST

Structured Output Parser

n8n-nodes-langchain.outputParserStructured

#7
GO

Google Gemini Chat Model

n8n-nodes-langchain.lmChatGoogleGemini

#8

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 automated-financial-tracker-telegram-invoices-to-notion-with-gemini-ai-reports 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Automated Financial Tracker: Telegram Invoices to Notion with Gemini AI Reports", "nodes": [...], ...}

集成

chainllmcodeeditimagelmchatgooglegemininotionoutputparserstructuredquickchartscheduletriggersplitoutsummarizetelegramtelegramtrigger

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点15
复杂度medium
触发器scheduled
查看次数3,597

创建者

Rizqi Pratama Ramadhani

Rizqi Pratama Ramadhani

@rizqiramadhani

标签

chainllmcodeeditimagelmchatgooglegemininotionoutputparserstructuredquickchartscheduletriggersplitoutsummarize

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →

Related Invoice Processing Workflows

COCOEMEX+5
medium

Automate Custom QuickBooks Invoice PDFs & Email with n8n

Standard accounting templates often fail to reflect a premium brand identity. This sophisticated n8n workflow bridges the gap between financial record-keeping and professional client presentation. By moving beyond the native limitations of QuickBooks Online, this automation enables businesses to generate high-end, multi-page PDF invoices that align perfectly with their corporate styling. The process begins the moment a new invoice is generated in QuickBooks, triggering a webhook that captures real-time billing data. The workflow then utilizes advanced HTML-to-File conversion and custom Code nodes to structure data into a polished, branded layout. It handles complex logic such as line-item merging and multi-page formatting automatically. Once the document is rendered, the system bypasses generic 'no-reply' senders by routing the finalized PDF through your preferred email provider. This ensures a seamless, white-labeled experience for your clients while eliminating the manual overhead of exporting, styling, and attaching files. Ideal for agencies and service providers, this flow guarantees that your most frequent touchpoint—the bill—is as professional as your work. **Common Use Cases:** - High-end creative agencies requiring bespoke, white-labeled billing documents for premium clients. - Automated recurring subscription billing where custom tax disclosures or localized branding are required. - Service-based businesses needing to attach dynamic project reports or terms of service directly to QuickBooks invoices.

🔗 Webhook·12 nodes