Back to Catalog

💰 Financial AI agent Telegram and WhatsApp

Bruno DiasBruno Dias
1075 views
2/3/2026
Official Page

📌 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.

Financial AI Agent with Telegram and WhatsApp

This n8n workflow creates a conversational AI agent designed to interact with users via Telegram and WhatsApp. It leverages an AI agent to process incoming messages, maintain conversation history, and potentially execute specific actions through an n8n workflow tool.

What it does

This workflow automates the following steps:

  1. Listens for Messages: It acts as a trigger, constantly listening for new chat messages from either Telegram or WhatsApp.
  2. Initializes Chat Memory: For each incoming message, it retrieves or initializes the conversation history using a PostgreSQL database, ensuring context is maintained across interactions.
  3. Processes with AI Agent: The message and conversation history are then fed into an AI Agent (powered by an OpenAI Chat Model) which decides on the appropriate response or action.
  4. Utilizes n8n Workflow Tool: The AI Agent has access to an n8n Workflow Tool, allowing it to trigger other n8n workflows for specific tasks or data retrieval.
  5. Prepares Response: The AI Agent's output is then processed by an "Edit Fields" node, likely to format the response before sending.
  6. Sends Response: Finally, the prepared response is sent back to the user via Telegram. (Note: While the trigger supports WhatsApp, the final send action is only configured for Telegram in the provided JSON. This might require further configuration for WhatsApp output.)

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • Telegram Bot Token: A Telegram bot token for the Telegram Trigger and Telegram Send Message nodes.
  • WhatsApp Account (Optional): If you intend to use WhatsApp as an input, you'll need the necessary WhatsApp Business API setup and credentials.
  • OpenAI API Key: An OpenAI API key for the OpenAI Chat Model.
  • PostgreSQL Database: Access to a PostgreSQL database for the Postgres Chat Memory node to store conversation history.
  • n8n Workflow Tool: An n8n workflow configured to be called as a tool by the AI agent (if specific actions are required).

Setup/Usage

  1. Import the Workflow: Import the provided JSON into your n8n instance.
  2. Configure Credentials:
    • Set up your Telegram Bot credentials for both the Telegram Trigger and Telegram nodes.
    • Configure your OpenAI API Key for the OpenAI Chat Model node.
    • Set up your PostgreSQL credentials for the Postgres Chat Memory node.
  3. Configure Chat Trigger: Ensure the When chat message received node is correctly configured for your desired chat platform(s) (Telegram and/or WhatsApp).
  4. Configure AI Agent: Review and adjust the AI Agent node's settings, including the OpenAI Chat Model and Call n8n Workflow Tool nodes, to define the AI's behavior and available tools.
  5. Activate the Workflow: Once all credentials and configurations are set, activate the workflow.

The AI agent will now be ready to receive messages and respond based on its configuration and available tools.

Related Templates

Auto-create TikTok videos with VEED.io AI avatars, ElevenLabs & GPT-4

💥 Viral TikTok Video Machine: Auto-Create Videos with Your AI Avatar --- 🎯 Who is this for? This workflow is for content creators, marketers, and agencies who want to use Veed.io’s AI avatar technology to produce short, engaging TikTok videos automatically. It’s ideal for creators who want to appear on camera without recording themselves, and for teams managing multiple brands who need to generate videos at scale. --- ⚙️ What problem this workflow solves Manually creating videos for TikTok can take hours — finding trends, writing scripts, recording, and editing. By combining Veed.io, ElevenLabs, and GPT-4, this workflow transforms a simple Telegram input into a ready-to-post TikTok video featuring your AI avatar powered by Veed.io — speaking naturally with your cloned voice. --- 🚀 What this workflow does This automation links Veed.io’s video-generation API with multiple AI tools: Analyzes TikTok trends via Perplexity AI Writes a 10-second viral script using GPT-4 Generates your voiceover via ElevenLabs Uses Veed.io (Fabric 1.0 via FAL.ai) to animate your avatar and sync the lips to the voice Creates an engaging caption + hashtags for TikTok virality Publishes the video automatically via Blotato TikTok API Logs all results to Google Sheets for tracking --- 🧩 Setup Telegram Bot Create your bot via @BotFather Configure it as the trigger for sending your photo and theme Connect Veed.io Create an account on Veed.io Get your FAL.ai API key (Veed Fabric 1.0 model) Use HTTPS image/audio URLs compatible with Veed Fabric Other APIs Add Perplexity, ElevenLabs, and Blotato TikTok keys Connect your Google Sheet for logging results --- 🛠️ How to customize this workflow Change your Avatar: Upload a new image through Telegram, and Veed.io will generate a new talking version automatically. Modify the Script Style: Adjust the GPT prompt for tone (educational, funny, storytelling). Adjust Voice Tone: Tweak ElevenLabs stability and similarity settings. Expand Platforms: Add Instagram, YouTube Shorts, or X (Twitter) posting nodes. Track Performance: Customize your Google Sheet to measure your most successful Veed.io-based videos. --- 🧠 Expected Outcome In just a few seconds after sending your photo and theme, this workflow — powered by Veed.io — creates a fully automated TikTok video featuring your AI avatar with natural lip-sync and voice. The result is a continuous stream of viral short videos, made without cameras, editing, or effort. --- ✅ Import the JSON file in n8n, add your API keys (including Veed.io via FAL.ai), and start generating viral TikTok videos starring your AI avatar today! 🎥 Watch This Tutorial --- 📄 Documentation: Notion Guide Need help customizing? Contact me for consulting and support : Linkedin / Youtube

Dr. FirasBy Dr. Firas
39510

AI-powered code review with linting, red-marked corrections in Google Sheets & Slack

Advanced Code Review Automation (AI + Lint + Slack) Who’s it for For software engineers, QA teams, and tech leads who want to automate intelligent code reviews with both AI-driven suggestions and rule-based linting — all managed in Google Sheets with instant Slack summaries. How it works This workflow performs a two-layer review system: Lint Check: Runs a lightweight static analysis to find common issues (e.g., use of var, console.log, unbalanced braces). AI Review: Sends valid code to Gemini AI, which provides human-like review feedback with severity classification (Critical, Major, Minor) and visual highlights (red/orange tags). Formatter: Combines lint and AI results, calculating an overall score (0–10). Aggregator: Summarizes results for quick comparison. Google Sheets Writer: Appends results to your review log. Slack Notification: Posts a concise summary (e.g., number of issues and average score) to your team’s channel. How to set up Connect Google Sheets and Slack credentials in n8n. Replace placeholders (<YOURSPREADSHEETID>, <YOURSHEETGIDORNAME>, <YOURSLACKCHANNEL_ID>). Adjust the AI review prompt or lint rules as needed. Activate the workflow — reviews will start automatically whenever new code is added to the sheet. Requirements Google Sheets and Slack integrations enabled A configured AI node (Gemini, OpenAI, or compatible) Proper permissions to write to your target Google Sheet How to customize Add more linting rules (naming conventions, spacing, forbidden APIs) Extend the AI prompt for project-specific guidelines Customize the Slack message formatting Export analytics to a dashboard (e.g., Notion or Data Studio) Why it’s valuable This workflow brings realistic, team-oriented AI-assisted code review to n8n — combining the speed of automated linting with the nuance of human-style feedback. It saves time, improves code quality, and keeps your team’s review history transparent and centralized.

higashiyama By higashiyama
90

Automate RSS to social media pipeline with AI, Airtable & GetLate for multiple platforms

Overview Automates your complete social media content pipeline: sources articles from Wallabag RSS, generates platform-specific posts with AI, creates contextual images, and publishes via GetLate API. Built with 63 nodes across two workflows to handle LinkedIn, Instagram, and Bluesky—with easy expansion to more platforms. Ideal for: Content marketers, solo creators, agencies, and community managers maintaining a consistent multi-platform presence with minimal manual effort. How It Works Two-Workflow Architecture: Content Aggregation Workflow Monitors Wallabag RSS feeds for tagged articles (to-share-linkedin, to-share-instagram, etc.) Extracts and converts content from HTML to Markdown Stores structured data in Airtable with platform assignment AI Generation & Publishing Workflow Scheduled trigger queries Airtable for unpublished content Routes to platform-specific sub-workflows (LinkedIn, Instagram, Bluesky) LLM generates optimized post text and image prompts based on custom brand parameters Optionally generates AI images and hosts them on Imgbb CDN Publishes via GetLate API (immediate or draft mode) Updates Airtable with publication status and metadata Key Features: Tag-based content routing using Wallabag's native system Swappable AI providers (Groq, OpenAI, Anthropic) Platform-specific optimization (tone, length, hashtags, CTAs) Modular design—duplicate sub-workflows to add new platforms in \~30 minutes Centralized Airtable tracking with 17 data points per post Set Up Steps Setup time: \~45-60 minutes for initial configuration Create accounts and get API keys (\~15 min) Wallabag (with RSS feeds enabled) GetLate (social media publishing) Airtable (create base with provided schema—see sticky notes) LLM provider (Groq, OpenAI, or Anthropic) Image service (Hugging Face, Fal.ai, or Stability AI) Imgbb (image hosting) Configure n8n credentials (\~10 min) Add all API keys in n8n's credential manager Detailed credential setup instructions in workflow sticky notes Set up Airtable database (\~10 min) Create "RSS Feed - Content Store" base Add 19 required fields (schema provided in workflow sticky notes) Get Airtable base ID and API key Customize brand prompts (\~15 min) Edit "Set Custom SMCG Prompt" node for each platform Define brand voice, tone, goals, audience, and image preferences Platform-specific examples provided in sticky notes Configure platform settings (\~10 min) Set GetLate account IDs for each platform Enable/disable image generation per platform Choose immediate publish vs. draft mode Adjust schedule trigger frequency Test and deploy Tag test articles in Wallabag Monitor the first few executions in draft mode Activate workflows when satisfied with the output Important: This is a proof-of-concept template. Test thoroughly with draft mode before production use. Detailed setup instructions, troubleshooting tips, and customization guidance are in the workflow's sticky notes. Technical Details 63 nodes: 9 Airtable operations, 8 HTTP requests, 7 code nodes, 3 LangChain LLM chains, 3 RSS triggers, 3 GetLate publishers Supports: Multiple LLM providers, multiple image generation services, unlimited platforms via modular architecture Tracking: 17 metadata fields per post, including publish status, applied parameters, character counts, hashtags, image URLs Prerequisites n8n instance (self-hosted or cloud) Accounts: Wallabag, GetLate, Airtable, LLM provider, image generation service, Imgbb Basic understanding of n8n workflows and credential configuration Time to customize prompts for your brand voice Detailed documentation, Airtable schema, prompt examples, and troubleshooting guides are in the workflow's sticky notes. Category Tags social-media-automation, ai-content-generation, rss-to-social, multi-platform-posting, getlate-api, airtable-database, langchain, workflow-automation, content-marketing

Mikal Hayden-GatesBy Mikal Hayden-Gates
188