Back to work
n8nCase study

Lab Case Cost Approval System

End-to-end lab case approval workflow that logs submissions, auto-approves low-cost cases, escalates high-cost cases to a Team Lead, and finalizes decisions back into Google Sheets with Gmail notifications at every stage.

n8n · workflow canvasproduction build
Lab Case Cost Approval System workflow

Context

Dental and medical labs needed a structured way to approve routine case costs quickly while routing expensive cases to a Team Lead, without losing track of status or manually chasing decisions.

Approach

Built three connected n8n workflows: the intake flow parses each case, writes it to Google Sheets, checks cost against the threshold, and either auto-approves or pauses for Team Lead review; dedicated Approve and Reject webhooks finalize the decision and notify the Assistant; a separate error monitor emails Ops on failures.

Architecture

  1. Webhook POST (case submission)
  2. Parse + enrich
  3. Google Sheets create entry
  4. Cost check
  5. Within threshold: Gmail auto-approval
Exceeds threshold
  1. Sheets pre-approved
  2. Gmail Team Lead request
  3. Wait node
  4. GET approve/reject webhook
  5. Process decision
  6. Lookup + merge data
  7. Sheets update status
  8. Gmail final decision to Assistant
  9. Error Trigger
  10. Gmail error notification

Results

Days → minutes for routine casesApproval cycle time
~3 hrs/weekAdmin time saved
Real-time, zero chasingStatus visibility