Replacing workflow automation with reliable event ingestion
I built an in-house .NET ingestion pipeline to replace a paid automation workflow, with durable intake, retry and replay paths designed around duplicate delivery and failure recovery.
Durable intake, safe processing, visible failures and replay keep the flow recoverable.
Context
The business needed phone-call events to move reliably into downstream workflows. The existing third-party automation service added recurring cost and gave the team less control over how failures were handled.
My role
I designed and implemented the in-house pipeline using MassTransit, AWS SQS and PostgreSQL. The system stores each event before processing, retries failures, alerts the team, and supports replay.
Key decisions
- Persist incoming events before processing so an interruption does not erase the original event.
- Make duplicate delivery safe with idempotent processing rather than assuming a message arrives once.
- Keep failures observable and recoverable through retry, alerting and replay paths.
Outcome
In load tests, ten simultaneous duplicate deliveries produced one record, and processing delay stayed under 0.4 seconds. The pipeline replaced the paid automation workflow.