Finance & insightAutomation

Automation & exceptions

Deterministic rules — no AI in Phase 1. Every rule has an owner, an idempotency key, a retry policy, a human boundary and a kill switch.

Rule reviewer: Anita R. · Mondays 10:00
Active rules
15 / 17
1 paused · 1 off
Runs today
2,418
14,165 in 7 days
Success rate
99.2%
today · 7 d
Staff time saved
41 h
+3 h wk/wkest.
Open exceptions
23
1 critical · 6 owner-level
Approvals waiting
10
1 overdue · 5 on me

Estimated staff hours saved per week

All enabled rules, net of exception-handling time · weeks starting Monday
hours_saved = cases × minutes_saved ÷ 60 − exception_handling_hours
Time study refreshed monthly (last: 14 Sep, 60 observed orders). Overlapping rules are not double-counted. ₹ value per hour to be confirmed by client.

Health right now

Worker queue, retries and failing rules · 10:42
1 rule paused
Courier tracking sync auto-paused
3 × HTTP 504 since 08:15 · 17 shipments without update
Supplier import: 38 rows rejected
Prime IT · IMP-0332 · missing HSN code
Settlement matching partial
4 unmatched lines · ₹18,420 · Finance
Global pause: off
Last used 14 Aug · payment provider incident · 42 min
12 sOldest queued job
14Retries · 24 h · 11 recovered
3Failed → exception
Click a rule for its full definition, runs and kill switch
RuleWhen → thenOwnerStatusRuns 7 d · successSavedLast failure
17 rulesCandidates not yet built: A29 abandoned carts (P2), A30 forecasting (P2), A31 invoice OCR (P2), A33 seller payouts (P2), A34/A35 (P3)
Backoff: 1 m → 2 m → 4 m (+ jitter), max 5 attempts · logs kept 90 days, failure evidence 1 year
RunRuleEntityStartedDurationAttemptResultDetail
JOB-88231A06 Reservation expiryR-553410:40:0238 ms1/5Succeeded1 unit released · availability event sent
JOB-88230A05 Payment → reserve → pickTXO-1049610:39:47212 ms1/5SucceededPick task PT-3318 · SP Road
JOB-88229A09 Payment webhookpay_Nx9C4…10:39:469 ms1/1Skipped · duplicateEvent evt_Nx9C… already processed at 10:39:44 — no second effect
JOB-88226A14 Status notificationTXO-1048810:36:101.2 s2/4Retrying in 3 m 40 sWhatsApp provider 429 (rate limit) · backoff 2 m → 4 m · SMS fallback after attempt 4
JOB-88221A04 Availability refreshSSD01-N10:31:5584 ms1/5SucceededATP 63 → 61 · storefront + search updated
JOB-88207A01 Supplier importIMP-033209:12:1841 s1/1Partial1,204 rows staged for review · 38 rejected (missing HSN) → EX-2238
JOB-88213A13.2 Courier tracking sync17 shipments08:15:0430.0 s3/3Failed → rule auto-pausedHTTP 504 × 3 · evidence below · EX-2240
JOB-88174A13 Courier bookingTXO-1047908:15:314.1 s2/5Succeeded after retry1st attempt timed out · same idempotency key → no double booking · AWB 1490 2281 7736
JOB-88188A19 Owner daily digestDIG-092608:00:006.4 s1/3SucceededEmail + WhatsApp delivered to Rajesh M. · 2 decisions listed
JOB-88161A10 Settlement matchingSETL-260907:10:1218 s1/1Partial412 lines matched · 4 unmatched (₹18,420) → Finance queue
JOB-88102A14 Status notificationTXO-1046106:05:400.4 s1/1Failed · not retriedCustomer opted out of WhatsApp on 24 Sep → permanent error, no retry · email sent instead
JOB-88044A09 Payment webhookevt_Nw1…02:14:095 ms1/1RejectedSignature invalid → rejected, not processed · security alert to Deepa K.

Failed job JOB-88213 · Courier tracking sync

Rule A13.2 v2 · owner Anita R. (Operations) · exception EX-2240 · provider ticket DLV-58213
  • 08:14:59 · Scheduled run started
    Idempotency key trk:2026-09-26T08:15 · read-only sync, safe to repeat
  • 08:15:04 · Attempt 1 → HTTP 504 after 30 s
    Backoff 2 m (+ 11 s jitter)
  • 08:17:15 · Attempt 2 → HTTP 504 after 30 s
    Backoff 4 m (+ 7 s jitter)
  • 08:21:52 · Attempt 3 → HTTP 504 after 30 s
    Retry cap reached for this rule (3)
  • 08:22:23 · Rule auto-paused · EX-2240 raised
    One exception (not 17) · assigned Anita R. · due 12:15 · owner digest if > 4 h
Customer impact: 17 shipments show “Status update delayed” on the tracking page instead of an outdated status. No orders, payments or stock were changed.
# request (credentials redacted) GET https://track.courier.example/v2/shipments?awb=1490228…,+16 Authorization: Bearer ••••••••Q7fA X-Idempotency-Key: trk:2026-09-26T08:15 # response · attempt 3 HTTP/1.1 504 Gateway Timeout (30,002 ms) x-provider-request-id: 7f3a9c1e-44b2 body: {"error":"upstream_timeout","retry_after":null} # checks provider status page ........ degraded since 08:02 other endpoints (booking) ... OK · 4.1 s last successful sync ........ 07:45:02 · 212 shipments affected AWBs ............... 17 (list attached to EX-2240)
Critical Serious Warning Resolved
Sorted by severity, then due time
SeverityException · evidenceEntityAgeAssigneeDueEscalation pathRecommended actions
Showing 13 of 23 · resolved items keep their resolution reason · 3 exceptions recurred ≥ 5× this month → flagged for policy review, not more owner callsApproval & exception ageing report →
Thresholds: Settings → Approval thresholds (values to be confirmed by client)
TypeItem · requested byWhy approval is neededValueDeadlineApprover → alternateDecision
Each decision records approver, reason and time — bulk review is allowed only where every item keeps its own decision history.Decided today: 7 (5 by staff within delegated authority)
A051A

Payment → reserve → pick task

Kill switch · rule is running
Turning it off stops new runs immediately. In-flight runs finish; queued work moves to the owner’s manual queue. Nothing is replayed automatically when re-enabled.
Template: blueprint §12.3 · every field is required before a rule can be enabled in production.