Muhammad Tayyab

Muhammad Tayyab

Senior AI Engineer

Human-in-the-Loop2025 – 2026

Claims Ops Platform

Claims Ops Platform Cover

Duration:

Ongoing

Role:

Platform Founder & Integration Owner

Stack:

TypeScript · Fastify · Postgres 16 · React · n8n · Claude Agent SDK

An operations team reconciles campaign claims with banking and insurance partners: pulling claims from the campaign engine, transforming them into each partner's format, and validating the reports partners send back. It was manual, email-driven and error-prone.

Full automation was the wrong goal. Partner data is messy, formats drift and a wrong export has financial consequences, so the system automates the mechanical 90 percent while making human judgment explicit, auditable and impossible to skip by accident.

What I Built

  • Two pipelines: outbound claims with an explicit mark-ready gate before any CSV can be exported, and inbound partner reports with per-row mismatch review and operator override

  • Transform rules three ways: passthrough, hand-written, or AI-generated with the Claude Agent SDK

  • An async job layer born from a real 504: a DB-backed jobs table with a typed runner owning all state transitions, errors persisted to the row so they can never crash the process

  • A dual-pull adapter mapping a parallel v2 campaign system into the v1 record shape, so every existing gate applied unchanged, with non-fatal degradation if v2 fails

  • Governance of the company's n8n fleet: an instance manager with cross-instance workflow transfer, sub-workflow ID remapping and ownership-aware migrations

Engineering Judgment

Integration boundaries were engineered against observed behavior rather than documented contracts: upstream quirks are verified empirically, then encoded as constants, comments and tests so the finding outlives any individual engineer. The same philosophy governs every gate in the pipeline: warn without blocking on deadline risk, and report rather than silently drop excluded data.

Outcome

The platform became the ops team's daily system. Two teammates have since built hundreds of commits of volume on the skeleton, while I continue to own the infrastructure and the upstream integration contracts.