Skip to content
F

FinSage

FinSage – AI Financial Coach Agent

Created on 17th October 2025

•

F

FinSage

FinSage – AI Financial Coach Agent

Description of your solution

Solution Summary — FinSage (n8n-only) — Simple Weekly AI Financial Coach

PITCH :

FinSage is an autonomous financial coaching agent built entirely in n8n.
It reads user and transaction data from Google Sheets every week, analyzes spending behavior, computes financial metrics, generates personalized AI insights using Gemini/GPT, detects risks like overspending or negative cashflow, and proactively sends customized Telegram and email updates — helping users make smarter financial decisions.

  1. High-Level Flow (Observe → Reason → Act)

Trigger (Weekly): Schedule node runs every Monday at 08:00.

Observe: Fetch transaction and user data from Google Sheets.

Transform: Filter transactions for the last 7 days and group them by user.

Enrich: Merge user profiles (income, name, contact) with transaction data.

Compute Metrics: Calculate total spent, income, net cashflow, savings rate, top categories, and risk flags.

Reason (LLM): Send metrics to Gemini/GPT to generate summary, insights, recommended actions, and alert message.

Decide: If any risk flags (overspending, low savings, negative cashflow, or AI-detected risk) are true → send Alert, else send Normal Update.

Act: Send the message via Telegram and Email.

  1. Node-by-Node Workflow Description
  1. Weekly Trigger (scheduleTrigger)

Fires at 0 8 * * 1 (every Monday at 08:00).

Starts weekly financial analysis.

  1. Fetch Transactions (googleSheets)

Reads transaction records (id, user_id, date, amount, category, description, merchant).

  1. Group by User & Filter (code node)

Filters last 7 days’ transactions.

Groups data by user_id.

Outputs: { user_id, period_start, period_end, transactions: [...] }.

  1. Fetch User Profiles (googleSheets)

Reads user data (name, income, contact details).

  1. Merge Profile Data (code node)

Joins transactions with user profiles.

Builds: { user_id, name, monthly_income_estimate, preferred_contact, transactions, period_start, period_end }.

  1. Calculate Metrics (code node)
    For each user, compute:

totalIncome = sum of positive transactions.

totalSpent = sum of expenses.

netCashflow = income – spent.

savingsRate = (net / income) × 100.

topCategories = top 3 spending categories.

Risk flags:

overspending: totalSpent > income / 4

lowSavings: savingsRate < 5%

negativeCashflow: netCashflow < 0

  1. Message the Model (Gemini/OpenAI)

Sends metrics and risk summary for analysis.

Model returns structured JSON:

summary

insights

action

risk_flag

alert_message

Generates user-friendly Markdown for Telegram/email.

  1. Parse Gemini Response (code node)

Parses LLM output safely.

If parsing fails, uses default fallback summary.

  1. Check Risk (if node)

Condition:
risk.overspending || risk.lowSavings || risk.negativeCashflow || ai_insights.risk_flag

True → send Alert

False → send Normal Update

  1. Send Alert (Telegram node)

Sends alert message in Markdown format to user’s Telegram chat.

  1. Send Normal Update (Telegram node)

Sends weekly summary for non-risk users.

  1. Send Email (gmail nodes)

Sends copies of alerts/updates to user email.

  1. Message Templates

Weekly Normal Update (Markdown)

Your Weekly Financial Summary

Hello Siddu! Here is your financial report for the week of 2025-10-13 to 2025-10-19.

Summary from AI:
You spent slightly more on food this week but kept transport under budget.


Key Metrics:
Total Spent: ₹2,350.00
Net Cashflow: ₹450.00
Savings Rate: 12.5%

AI Recommended Action:
Try reducing weekend dining by ₹200 next week.

Keep up the great work!

Risk Alert (short push/SMS style)
Unusual spending alert: ₹1,800 at RestaurantX on 2025-10-17.
This is 3× your weekly dining average. Consider pausing discretionary spending this week.

  1. Failure Handling & Safe Defaults

If the LLM output is invalid, fallback message:
“Could not generate AI insights — please review your recent expenses.”

Missing user data handled gracefully with neutral summaries.

Failed message deliveries retried automatically through n8n error handling.

FinSage delivers personalized, proactive financial coaching — autonomously analyzing real user behavior, detecting financial risks early, and empowering better money management through conversational AI updates.

Tracks Applied (1)

Fintech: Build an autonomous financial coaching agent that adapts to real user behavior, spending patterns, and income variability - helping gig workers, informal sector employees, and everyday citizens make smarter financial decisions proactively.

Solution Summary — FinSage (n8n-only) — Simple Weekly AI Financial Coach PITCH : FinSage is an autonomous financial co...Read More

Discussion

Builders also viewed

See more projects on Devfolio