ZuluWorks AI shieldZULUWORKSAIINTELLIGENCE · AUTOMATION · OPPORTUNITY
Services

Workflows that survive contact with real data

A demo runs once. A workflow runs ten thousand times, on bad input, while a third-party API is down. This page is about the engineering that separates the two: idempotency, retries, visibility and an owner for every failure.

The reliability patterns here run on this site's own lead pipeline.

Business Automation visualisation
Why automations rot

The failure modes nobody demos

Duplicate work on retry

A timeout triggers a retry and the customer is charged twice, because the step was never idempotent.

Silent partial completion

Three of five steps succeed and the system reports success, so the record is now wrong in a way nobody is looking for.

Unreadable failures

An error log that says what broke but not which customer, order or payload it broke for.

No owner

The person who built it left, the workflow still runs, and nobody knows what it is allowed to touch.

How we build it

Boring on purpose

Event-driven steps

Each stage consumes an event and emits the next, so the workflow is a sequence of small, testable units rather than one long function.

Idempotent operations

Every write is keyed so a retry cannot duplicate it. This is the single most important property of a production workflow.

Retry with backoff, then stop

Transient failures retry; persistent ones stop, land in a dead-letter store and alert a person.

Observability by default

Per-step success rate, duration and error class, with the payload reference attached.

Versioning and rollback

A workflow change is a deployable version, so a bad release is reverted rather than patched live.

A practical example

A payment that fails three times

  1. 01

    Attempt

    The charge is attempted with an idempotency key tied to the invoice, so a duplicate attempt is rejected by the processor.

  2. 02

    Classify

    The failure is classified: insufficient funds, expired card, or processor outage. Each has a different correct response.

  3. 03

    Respond

    Soft failures schedule a retry with backoff; hard failures stop retrying and trigger a customer-facing dunning message.

  4. 04

    Escalate

    After the policy limit, a task is created for a person with the full attempt history attached.

  5. 05

    Reconcile

    The ledger is reconciled against the processor's records, so the local state cannot drift from reality.

Monitored: success rate per step, mean time to recovery, and manual interventions per week. A workflow that needs daily human repair is not automated, it is assisted.

Control and oversight

Limits, approvals and secrets

  • Approval gates sit before any action that is irreversible or customer-visible.
  • Each workflow has a rate limit and a spend or volume ceiling, so a loop cannot consume the month's budget in an hour.
  • Credentials live in a secret store with the narrowest scope that works, and are never in source control.
  • Staging and production are separate environments; nothing reaches production without running against realistic data first.
See it working

This site's lead pipeline

Form and assessment submissions are validated server-side, rate limited, deduplicated, written to a database with consent recorded per purpose, then announced by email with three attempts and a per-attempt audit row. When a notification fails, the enquiry is still stored and the failure is logged. That is the pattern in production.

See the enquiry journey

Status: our-project

Questions

Questions we get asked

Which platforms do you work with?

Anything with a usable API or webhook. Where a platform has none, we say so and discuss the trade-off of an export-based approach rather than pretending it is equivalent.

What happens when a step fails?

Transient failures retry with backoff; persistent ones stop, are stored with the payload, and raise an alert. The workflow never reports success for work it did not do.

Can we see what ran?

Yes. Per-step logs with timestamps, duration, outcome and the record affected, in a view written for an operator rather than an engineer.

How do you test changes?

Against realistic data in a separate environment, then a limited rollout. Replays of real historical events are the only way to be confident about edge cases.

Who maintains it after launch?

We do, under an agreed support arrangement, or we hand over with documentation and a runbook. Either way a named owner is part of the design.

Next step

Find out what this is worth in your business

The free assessment takes a few minutes and reports an illustrative range with its assumptions stated.