A connected line of push-pins on a board, representing the linked steps a single insurance claim travels through to payment.
Home Solutions How an insurer rebuilt insurance platform modernisation on Temporal
Workflow reliability

How an insurer rebuilt insurance platform modernisation on Temporal

In short

The outcome we're after.

A claim is not one action. It is a journey that runs for days or weeks, across intake, assessment, approvals, payment, correspondence and long waits on third parties. When that journey lives in cron jobs, message queues and hand-written retry code, work goes missing the moment a downstream system blinks, and nobody can say where a claim actually is. Rebuilding each claim as a durable Temporal workflow makes the state persist, the retries automatic, and every step survive an outage or a deploy. The claim resumes exactly where it left off, and its full history is there to audit.

Book a discovery call
A connected line of push-pins on a board, representing the linked steps a single insurance claim travels through to payment.
Temporal
primary technology

A claim is never a single action. It is a journey that runs for days or weeks, through intake, assessment, approvals, payment, correspondence and long stretches of waiting on people and systems outside the insurer. A mid-size Australian insurer processes thousands of these journeys at once, each at a different step, each depending on an assessor, a repairer, a bank or the claimant to do their part.

In a lot of older platforms that journey has no single home. It is stitched together from cron jobs, message queues and a great deal of hand-written code that tracks state, sets timeouts and retries failures. It works until something downstream is briefly unavailable. Then a step fails partway, the message is consumed but the next one never fires, and a claim sits in limbo with no record of where it had got to. Staff find it days later when the claimant rings to ask why nothing has happened.

The obligations do not pause while a claim is lost. The General Insurance Code of Practice sets timeframes for handling claims and for keeping claimants informed. APRA’s CPS 230 raises the bar on operational risk and the resilience of critical processes. The Privacy Act 1988 governs the claimant’s data throughout. A process that quietly drops claims and cannot say where any of them are is hard to run against those expectations and harder still to audit.

Why Temporal, and what sits around it

The fix is to stop treating a claim as a string of disconnected jobs and model the whole journey as one durable workflow. We headline these rebuilds on Temporal for that reason. Temporal is a durable workflow orchestration platform: it persists the state of a long-running process at every step, so the claim survives crashes, restarts, deploys and outages, and resumes exactly where it stopped.

Think about what that removes. With a queue-and-cron approach, engineers write retry loops, timeout handlers and reconciliation jobs by hand, in service after service, and still cannot point to one place that knows a claim is half-finished. Temporal makes the claim journey itself the unit of work. The code reads as a plain sequence of steps. Underneath, the engine records every event, retries failed steps automatically with backoff, and holds timers that can wait days for a third party without consuming resources. When a downstream system is down, the step simply retries until it returns, rather than the claim falling on the floor.

The supporting stack stays deliberately small. PostgreSQL is the persistence layer behind the workflow engine, the durable record of where every claim is and what has happened to it. Docker packages the workflow workers so the same definitions run identically across environments and scale out under load. Temporal carries the orchestration and the durability. PostgreSQL and Docker carry the state and the deployment around it.

We kept the claim logic inside the workflow rather than spread across the services it calls. That way the rules of the journey live in one reviewable place, and the assessment system, the payment gateway and the correspondence service stay simple things the workflow calls, not co-owners of the claim’s state.

A paper card showing process diagrams, gearwheels and a dollar sign, representing a single claim modelled as a structured, costed workflow

Building it, and where it got hard

The technology was rarely the hard part. The friction lived in the old behaviour we were replacing, and one example stands in for the rest.

The original process lost work whenever a downstream system was briefly down. A payment service or an external repairer API would blink, a step would fail mid-flight, and the claim would stall with no record of where it had reached. Engineers had responded the only way they could, by hand-writing retry and timeout logic into every service, which meant the same fragile pattern repeated everywhere and no two services handled failure quite the same. The result was claims stuck in limbo and a codebase nobody trusted under load.

The fix was to model each claim as a durable Temporal workflow so its state is persisted and steps resume exactly where they left off. Automatic retries with backoff replaced the hand-written loops, so a flaky third party no longer stalls a claim, it just delays one step. Durable timers replaced the cron jobs that chased statutory follow-ups, so a Code of Practice deadline is a timer the workflow holds rather than a scheduled scan that can miss. And because Temporal keeps a full execution history of every step, the question “where is this claim and what has happened to it” became one query instead of a hunt through logs across several systems.

The migration itself needed care. We could not stop the business to switch platforms, so new claims were started on Temporal while existing ones drained on the old path, and we ran both side by side until the new workflows were proven on real volume. Idempotency was the other quiet hurdle. A step that might retry must not pay a claimant twice, so each external call was made safe to repeat, keyed so a retry recognises work already done. None of this is glamorous. All of it is the difference between a platform that drops claims and one that does not.

What changed

In a representative rebuild, claims stranded by a brief third-party outage fell close to nil, because steps now resume on their own instead of failing silently. The pile of hand-written retry, timeout and state-tracking code collapsed into the workflow definitions, cutting a large share of the bespoke plumbing engineers had to maintain and reason about. And the exact position of any claim, with its full step history, became queryable in seconds rather than reconstructed after the fact, which made statutory follow-ups and audits markedly easier.

These figures are illustrative. They describe the pattern we see rather than a published result for a named insurer. The shift is the point. A claim stops being a fragile chain that breaks when one link is briefly down and becomes a durable journey that survives outages and deploys, retries itself, and can always say where it is. That is what platform modernisation buys an insurer that a new dashboard never could.

Where this fits

Durable claims orchestration is one application of our Legacy System Migration service, built on Temporal, for the realities of Australian insurance. It suits a specific shape of problem well: a long-running, multi-step process that crosses systems you do not control and must never silently lose work. If your claims stall when a downstream system blinks, or nobody can say where a given claim actually is, the place to start is to map the claim lifecycle and decide which steps most need to survive an outage.

Illustrative figures, not a published result

Representative outcomes

01

Stuck claims

In a representative rebuild, claims left stranded by a brief third-party outage fell close to nil, because steps now resume automatically rather than failing silently.

02

Retry code removed

Hand-written retry, timeout and state-tracking logic scattered across services collapsed into the workflow definition, cutting a large share of the bespoke plumbing engineers had to maintain.

03

Claim visibility

Every claim's exact position and full step history became queryable in seconds rather than reconstructed from logs across several systems, which made statutory follow-ups and audits far easier.

Where this fits

This solution applies our Legacy System Migration service, built primarily on Temporal , for the Insurance sector.

Supporting stack: PostgreSQL, Docker.

Go deeper: Legacy System Migration for Insurance .

By QuantalAI Tech Team Published: 23/06/2026 Last updated: 23/06/2026

Representative Solution. An illustrative scenario based on how we deliver, not a named client engagement. Outcome figures are representative, not published results.

Common questions

Frequently asked.

How is automation used in insurance today?
Across the whole claim lifecycle, not just one task. Automation routes a claim from first notification through triage, assessment, approval, payment and correspondence, chases third parties, and tracks statutory deadlines. The reliable versions sit on a workflow engine that remembers where each claim is, rather than on scripts and queues that lose track when something downstream fails. AI sits alongside this for tasks like document extraction, but the orchestration is what keeps the process honest.
How can automation help with insurance claims specifically?
By making the long, multi-step journey of a claim reliable and visible. A claim waits on assessors, repairers, banks and the claimant, sometimes for weeks. Durable orchestration holds that state safely, retries flaky steps on its own, fires timers for follow-ups required under the General Insurance Code of Practice, and keeps a full record of what happened. Staff stop hunting for stuck claims and spend their time on the cases that need judgement.
What does a durable workflow mean, and why does it matter for claims?
A durable workflow is one whose state is persisted at every step, so it survives crashes, restarts, deploys and outages. The engine records what has happened and can resume a claim exactly where it stopped. For claims this matters because the process runs for days and depends on systems outside your control. Without durability, a brief outage leaves a claim half-processed with no record of where it was. With it, the claim simply picks up again when the dependency returns.
How is this different from a message queue or cron jobs?
A queue moves a message and a cron job runs on a clock, but neither knows the state of a whole claim or guarantees the journey completes. You end up writing retry, timeout and reconciliation logic by hand across many services, and the overall process exists nowhere as a single thing. A durable workflow engine like Temporal makes the entire claim journey the unit of work, persists its state, retries failed steps automatically, and gives you one place that knows the claim is incomplete.
What happens to in-flight claims during a deploy or outage?
They pause and resume rather than break. Because the workflow state lives in the engine, not in a running process, claims part-way through a deploy or a database hiccup are not lost. When the workers come back, each claim continues from its last completed step. New code can be rolled out while thousands of claims are mid-journey, which is one of the main reasons platform modernisation in insurance leans on durable orchestration.
Claims that never drop a step

Stop losing claims when a system blinks

We will map your claim lifecycle and show you where durable workflow orchestration would make each step survive outages, retry itself, and stay auditable.

Book a discovery call