Back to Flows
Budget Alert Flow
FlowchartHow the app detects and notifies when a budget threshold is crossed
Diagram Source
flowchart TD
A([New transaction synced from Plaid]) --> B[Categorise via GPT-4]
B --> C[Update category spend total]
C --> D{Budget set for this category?}
D -- No --> E[Store transaction silently]
D -- Yes --> F{Spend >= 80% of budget?}
F -- No --> E
F -- Yes --> G{Already alerted this month?}
G -- Yes --> E
G -- No --> H{Spend >= 100% of budget?}
H -- No --> I[Send 80% warning notification]
H -- Yes --> J[Send over-budget alert]
I --> K[Mark alert sent in DB]
J --> K
K --> L([User sees notification in app + email])