🧾 Automate financial transaction tracking with Gmail, GPT, Notion & Telegram alerts

157 views · 🧾 Invoice Processing

Description

📩 Automatically Log Transactions from Gmail into Notion and Get Telegram Alerts

Who’s it for

This workflow is for individuals or entrepreneurs who receive bank alerts, invoices, and payment emails in Gmail and want them to be automatically organized in Notion — while also receiving quick Telegram notifications for each transaction.

If you manage personal or business finances and find it tedious to manually record every debit, credit, or invoice — this automation does it all for you.


How it works

The workflow acts as an AI-powered Accountant Agent that reads incoming Gmail messages and decides whether each email represents a Debit Transaction, Credit Transaction, Debit Invoice, or Credit Invoice.

In short: every time your bank emails you — Notion gets updated, and you get notified.


How to set up

  1. Duplicate the Personal Finance System Notion template into your workspace.
  2. Create a Telegram Bot with BotFather → copy the bot token and your chat ID.
  3. Generate an OpenRouter API key for GPT-5 / GPT-5-nano.
  4. Create a Notion Integration Token and connect it to your duplicated finance databases.
  5. Add your Gmail accounts (forwarding@, support@, and/or personal Gmail) under Gmail OAuth2 credentials in n8n.
  6. Import the workflow JSON into n8n → fill in the credential names as listed below:
    • n8n_cloud_regular_usage → OpenRouter
    • Notion account → Notion API
    • Accountant AI → Telegram Bot
    • Gmail OAuth2 for each inbox trigger

Once active, n8n polls Gmail every minute, classifies emails, updates Notion, and sends Telegram updates.


Requirements


How to customize the workflow

You can extend this workflow to:

🔗 Nodes Used

Telegram, Gmail Trigger, AI Agent, Text Classifier, OpenRouter Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup