Case study
Published November 25, 2026
Turning Spreadsheet Formulas into Alerts
Turn familiar spreadsheet calculations into rules the app can monitor.
- Turn familiar spreadsheet calculations into rules a product can check repeatedly.
- Monitor changing information and highlight conditions that need attention.
- See alerts in the app as they happen, then review the context and decide what to do.

- Starting point
- Spreadsheet formulas
- Automation
- Ongoing condition checks
- Outcome
- Alerts for human review
- Stack
- Next.js · FastAPI · MongoDB · Redis
What was built and why it matters
Executive Summary
The starting point was a familiar one: important calculations lived in spreadsheets, and someone had to keep checking the results for changes. That made monitoring repetitive and left the team dependent on manual reviews.
The calculations were expressed as application rules and connected to a monitoring workflow. A scheduled check looks for matching conditions, records new alerts, and sends updates to the app so people can review them promptly.
The result is a clearer path from calculation to notification. The published example focuses on the workflow and technical approach, without sharing customer, formula, or market-specific details.
What problem existed before this project
The Business Challenge
A spreadsheet can calculate a result, but it does not automatically make that result easy to monitor throughout the day.
Status quo
Before the platform
- People had to reopen or refresh spreadsheets to check for changes.
- The same calculation and review steps were repeated manually.
- A condition could go unnoticed between checks.
- There was no single place to see which conditions had triggered and which still needed attention.
Impact
Business consequences
- Time went into checking for changes instead of reviewing them.
- The timing of a discovery depended on when someone next checked the spreadsheet.
- It was harder to keep the review process consistent across a team.
Previous workflow
How work happened before
A disconnected chain of manual steps — each handoff added delay, errors, and lost visibility.
- 01Step
Open the spreadsheet
A person starts another manual review.
- 02Step
Refresh the calculations
Current information is entered or updated.
- 03Step
Look for a change
The person checks whether a result needs attention.
- 04Step
Repeat the review
The same steps are needed to find the next change.
What the client needed to achieve
Project Objectives
Engagement scope
5 objectives
Translate agreed spreadsheet calculations into clear application rules.
Check those rules against current information on a recurring basis.
Show people when a condition is met and keep a record of the alert.
Deliver updates to the app without requiring a manual refresh.
Keep a person in the loop to review an alert and choose any next step.
How the platform addresses the challenge
The Solution
The key step was to move the calculation logic into the application. Instead of asking someone to refresh a workbook, the service evaluates configured rules against current information on a schedule.
When a rule matches, the service saves an alert and publishes an update to the app. The interface can then show the new notification without waiting for a user to reload the page. People review the alert and make their own decisions.
Platform architecture
4 components
Configure a rule
Choose the calculation and condition the team wants to monitor.
Check current information
A scheduled service evaluates the rule repeatedly.
Save a new alert
The system records a condition when it first occurs.
Update the app
A live connection delivers the alert for a person to review.
How users move through the system
Product Workflow
User journey
4 steps
- 01Step
Set up the calculation
An agreed rule is configured in the application.
- 02Step
Monitor
A scheduled check compares the rule with current information.
- 03Step
Flag a condition
A matching result is saved as an alert, without creating duplicates on every check.
- 04Step
Review the alert
The app receives a live update and a person decides what it means.
What the platform delivers
Core Features
Platform capabilities
4 features
Spreadsheet rules in the app
Express familiar calculation logic as application rules that can be checked consistently.
Scheduled monitoring
Run recurring checks so the workflow does not depend on someone refreshing a spreadsheet.
Recorded alerts
Save a new alert when a condition is first detected and avoid repeating the same alert on every check.
Live app updates
Send new alert information to the interface over a WebSocket connection, so the user can review it promptly.
Dashboard, workflows, and portals
Product Screenshots
Product UI
2 screenshots
How the system is structured
Technical Architecture
The browser interface is built with Next.js and React. A Python service built with FastAPI handles application requests and rule workflows. A scheduled job runs the checks; MongoDB stores rule mappings and alert records, while Redis supports fast shared state and event delivery. WebSockets carry new alert updates to the open app.
In practical terms, the spreadsheet logic becomes reusable application code, the monitoring job keeps checking it, and the live connection carries the result back to the user. This summary stays at the system level and leaves out private formulas and configuration values.
System layers
5 layers
Next.js and React app
Users configure rules and review current alerts.
FastAPI service
Handles rule and alert requests for the application.
Scheduled rule checks
APScheduler runs recurring checks against current information.
MongoDB and Redis
MongoDB keeps mappings and alert records; Redis supports shared state and event delivery.
WebSocket updates
New alerts are pushed to the open app for review.
Infrastructure components
6 services
Next.js and React interface for rule setup and alert review
Python and FastAPI application service
APScheduler recurring checks for monitored rules
MongoDB records for rule mappings and alerts
Redis for shared state and event delivery
WebSockets for live updates to the interface
Hard problems and how they were solved
Engineering Challenges
Challenge 1
Translating calculations into application rules
Solution
The calculation intent was represented as explicit rules, making it possible for the service to evaluate the same logic repeatedly.
Challenge 2
Avoiding repeat alerts
Solution
The service records alert events with a unique key, so the same condition does not create a new alert on every monitoring pass.
Challenge 3
Getting updates to the user quickly
Solution
A WebSocket connection sends alert events to the open interface, while stored records support the alert list and history.
Production technologies
Technology Stack
Frontend
- Next.js
- React
- TypeScript
- TanStack Query
Backend
- Python
- FastAPI
Data & caching
- MongoDB
- Redis
Monitoring & updates
- APScheduler
- WebSockets
Built for production load
Performance & Scalability
Production readiness
2 optimizations
Scheduled checks keep monitoring consistent, while duplicate protection prevents the same condition from creating a new alert on every check.
WebSocket updates let a new alert appear in the open app without a page refresh.
Operational and commercial outcomes
Business Impact
The workflow moves repeated checking into the application and gives people a clearer way to notice and review conditions.
Outcomes delivered
4 outcomes
Agreed calculations can be checked repeatedly using the same application rules.
New conditions are saved and sent to the app for review.
People spend less effort refreshing spreadsheets to look for changes.
Users remain responsible for interpreting an alert and choosing what to do next.
Technology choices explained
Why This Architecture Works
Design rationale
3 decisions
Why this choice
Scheduled checks
They make monitoring repeatable without relying on someone to refresh a workbook.
Why this choice
MongoDB and Redis
They support saved rule and alert records as well as shared, fast-moving state and events.
Why this choice
WebSockets
They let the server send a new alert to an open app without waiting for a page refresh.
What this project reinforced
Lessons Learned
Key takeaways
3 lessons
Before automating a spreadsheet, clarify what each calculation means and when it should trigger attention.
Store alert events so users can review what happened, not just see a temporary notification.
Use live updates to improve awareness while keeping decisions with the person reviewing the alert.
Explore related work
Similar Projects & Services
Common questions about the Turning Spreadsheet Formulas into Alerts project
Case Study FAQ
The calculation intent is recreated as application rules that can be checked on a schedule. This workflow does not automatically import or parse an Excel or Google Sheets file; the agreed rules are implemented in the application.
A scheduled check evaluates configured rules against current information. When a condition is met, the service records an alert and avoids creating a duplicate on every later check.
The service sends alert events over a WebSocket connection, so the open dashboard can update without a manual page refresh. MongoDB keeps alert records for the list and history.
The interface uses Next.js and React. A Python and FastAPI service runs the application workflow, APScheduler runs recurring checks, MongoDB stores rule mappings and alerts, and Redis supports shared state and event delivery.
This case study covers monitoring and alert delivery. A person reviews the condition and decides what to do next.
About the author

Next step
Next step
Looking to Build Something Similar?
Whether you're building a multi-tenant SaaS, marketplace, CRM, ERP, or AI platform — let's discuss your project as a Dedicated Partner engagement.