Skip to main content

πŸ’° Financial AI agent Telegram and WhatsApp

Workflow preview

Workflow preview
100%
πŸ’° Financial AI agent Telegram and WhatsApp preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

About this workflow Hi! I'm Bruno, and I'm here to help you automate your finances intelligently. This workflow has been carefully developed to transform the way you manage your money, using the...

Best for

  • Personal Productivity automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorypostgreschat, @n8n/n8n-nodes-langchain.toolworkflow, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, n8n-nodes-base.telegram

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Bruno Dias.

Original n8n.io source

1.1 Workflow description

Title
πŸ’° Financial AI agent Telegram and WhatsApp
Workflow name
πŸ’° Financial AI agent Telegram and WhatsApp

πŸ“Œ About this workflow

Hi! I'm Bruno, and I'm here to help you automate your finances intelligently. This workflow has been carefully developed to transform the way you manage your money, using the power of artificial intelligence and the flexibility of n8n. With a focus on usability and innovation, this financial agent is the perfect solution for anyone seeking control and insights into their personal or business finances.

This ready-to-use workflow acts as a powerful AI financial assistant, capable of recording your transactions (income and expenses), categorizing them, and providing personalized advice and tips. It is designed to be highly extensible and adaptable to your needs, using cutting-edge technologies to ensure accuracy and efficiency.

βš™οΈ What this workflow does

  • Intelligent Transaction Recording: Automatically records your financial income and expenses, categorizing them efficiently.
  • Personalized Financial Analysis: Provides insights, advice, and financial tips based on your data, helping you make smarter decisions.
  • Telegram Communication: Interacts with you via Telegram, making financial management as simple as sending a message (can be adapted for WhatsApp, Instagram, etc.).
  • Conversation Memory: Maintains the context of your conversations, allowing for more fluid and personalized interactions.
  • Balance Report Generation: Generates detailed balance reports for specific periods, offering a clear overview of your financial health.
  • Modular and Expandable Structure: Easily adaptable and expandable to include new functionalities, such as expense analysis by category, budget alerts, and integration with other platforms.

πŸ”§ Setup Instructions

This workflow requires n8n self-hosted (or n8n Cloud with custom credentials + community nodes enabled).

Create required databases

For the agent to function correctly, the following tables are required in the PostgreSQL database (Supabase):

  • transactions: To store details of each transaction (income/expense).
  • balances: To store consolidated balance per day and per user.
  • memoria_chat: To store conversation history for agent memory.
Credentials needed
  • OpenAI API Key: For chat model and embeddings.
  • Supabase API Key and URL: For database access.
  • PostgreSQL Connection String: For chat memory.
  • Telegram API Token: For Telegram Trigger and Telegram node.
Webhook

Set the webhook path to receive messages from your Telegram API provider (or other messaging platform).

Tool connections

Ensure the supporting workflows (Financial | AI Agent | Register Tool and Financial | AI Agent | Balance Tool) are also imported and connected correctly to the main workflow (Financial | AI Agent).

πŸ“Ž Notes

This workflow uses LangChain agents, OpenAI GPT-4.1, Supabase, and PostgreSQL. It includes multiple "sticky notes" inside the workflow with detailed explanations.

Ideal for individuals, consultants, and developers looking for an intelligent and extensible AI chatbot experience for financial management.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 2 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 3 - Postgres Chat Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryPostgresChat - memoryPostgresChat
Config choices
Version 1.3

Block 4 - Register Transaction

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.2

Block 5 - Chat

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 6 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 7 - Normalize

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Telegram

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Balance report

Type / Role
@n8n/n8n-nodes-langchain.toolWorkflow - toolWorkflow
Config choices
Version 2.2

3. Summary Table

Workflow πŸ’° Financial AI agent Telegram and WhatsApp
Complexity intermediate
Nodes 9
Categories Personal Productivity, AI Chatbot
Author Bruno Dias
Published 24 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5259/5259.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does πŸ’° Financial AI agent Telegram and WhatsApp do?

About this workflow Hi! I'm Bruno, and I'm here to help you automate your finances intelligently. This workflow has been carefully developed to transform the way you manage your money, using the...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Chatbot use case.