Learn how to build an expert Accountant AI Agent using n8n to query your Notion finance data instantly via Telegram and WhatsApp. Use this powerful n8n workflow to automate reporting.
Download this n8n workflow template and start using it instantly.
Personal finance enthusiasts who track expenses and budgets in Notion.
Users looking for immediate, conversational access to their financial reports.
Developers seeking advanced examples of using Langchain agent n8n templates with external APIs (Notion).
Anyone needing a custom, instant reporting solution leveraging an n8n workflow.
This comprehensive n8n workflow transforms your personal Notion finance tracker into a conversational reporting tool accessible directly from Telegram and WhatsApp. Instead of manually opening Notion and filtering databases, you simply ask the bot a question—like, “What were my total expenses last month?”—and the Accountant Agent handles the entire process. This powerful n8n workflow utilizes an LLM (Claude 3.5 Sonnet) combined with specialized data-fetching tools to understand natural language queries, construct complex Notion API filters, retrieve data, perform calculations (like summing amounts), and deliver the summarized answer back to the originating chat platform. It showcases a sophisticated use case for the n8n node ecosystem, providing immediate, automated insights.
The automation executes in three main stages:
Query Notion Database Pages Tool to fetch the relevant rows.To deploy this n8n workflow, follow these steps:
Telegram Trigger: This n8n trigger initiates the workflow upon receiving a new message. It captures the user's finance query.
Accountant Agent (Langchain Agent): The core processing n8n node. It manages the conversation, uses the LLM (claude-3.5-sonnet) for reasoning, and orchestrates the data retrieval via the Notion tools. The prompt instructs it to interpret financial queries and build necessary database filters.
Simple Memory (Langchain MemoryBufferWindow): Stores the past conversation history (context window of 10 messages) so the agent can respond contextually within the n8n workflow.
Get Databases Tool (Notion): A standard Notion n8n node configured to retrieve a list of all accessible databases, allowing the agent to identify the correct database ID based on the query (e.g., matching 'expenses' to the 'Financial Transactions' database).
Get Notion Database Properties Tool (HTTP Request Tool): This tool is essential for the agent. It fetches the schema (properties) of the targeted database, enabling the agent to correctly name properties like Amount, Date, or Type when building the Notion filter JSON.
Query Notion Database Pages Tool (HTTP Request Tool): The execution tool. The agent dynamically generates the URL and the filter JSON body for this n8n node, executing the filtered query against the Notion API to retrieve the relevant finance data.
Send a text message (Telegram): Sends the final, summarized financial answer back to the user via Telegram.
Send message (WhatsApp): Sends the final summarized financial answer to the user via WhatsApp, ensuring multi-channel availability from this single n8n workflow.
Use this comprehensive n8n workflow to track personal finances, manage budgets, and receive automated alerts via an AI Agent using Google Sheets. A crucial n8n templates for finance automation.

Deploy a cutting-edge personal AI assistant using this n8n workflow. Integrate Telegram with Google Calendar and Google Tasks via GPT-4o-mini using the Microservice Controller Pattern (MCP).

Deploy a powerful n8n workflow for a personalized AI assistant (using Google Gemini) accessible via Telegram. This multi-agent system manages tasks, email, calendar, projects, and research.

Manage your Google Calendar via Telegram chat. This advanced n8n workflow uses Gemini for natural language processing, Whisper for voice transcription, and features a scheduled n8n trigger for proactive reminders.

Automate building a Retrieval-Augmented Generation (RAG) knowledge base using this advanced n8n workflow. Extract summaries from YouTube videos or articles, store them in Google Sheets, and query them instantly using a Telegram bot.


🌟 About Me 🌟 I am a passionate and driven individual who thrives on learning and adapting to any situation. My mission is to create impactful, end-to-end products in the domains of productivity, learning, AI, and finance. With a strong foundation in backend development, LLMs, and data engineering, I bring intermediate-level expertise in AI, DevOps, and frontend development, alongside a growing interest in UI/UX and product design.







































