Skip to main content
Vertical: Contract Hire · Results shown as qualitative outcomes (not unverified metrics)

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.
Product previewContract Hire
An anonymized dashboard preview showing monitored rules and alerts.
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.

  1. 01Step

    Open the spreadsheet

    A person starts another manual review.

  2. 02Step

    Refresh the calculations

    Current information is entered or updated.

  3. 03Step

    Look for a change

    The person checks whether a result needs attention.

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

  1. Translate agreed spreadsheet calculations into clear application rules.

  2. Check those rules against current information on a recurring basis.

  3. Show people when a condition is met and keep a record of the alert.

  4. Deliver updates to the app without requiring a manual refresh.

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

  1. Configure a rule

    Choose the calculation and condition the team wants to monitor.

  2. Check current information

    A scheduled service evaluates the rule repeatedly.

  3. Save a new alert

    The system records a condition when it first occurs.

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

  1. 01Step

    Set up the calculation

    An agreed rule is configured in the application.

  2. 02Step

    Monitor

    A scheduled check compares the rule with current information.

  3. 03Step

    Flag a condition

    A matching result is saved as an alert, without creating duplicates on every check.

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

  1. Next.js and React app

    Users configure rules and review current alerts.

  2. FastAPI service

    Handles rule and alert requests for the application.

  3. Scheduled rule checks

    APScheduler runs recurring checks against current information.

  4. MongoDB and Redis

    MongoDB keeps mappings and alert records; Redis supports shared state and event delivery.

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

About the author

Kennedy Chokkalingam — available for development partnerships

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.