AI Systems That Run The Work
AGENRYX
All case studies
Reliability rebuildAI & Automation

Fromental

Research jobs that survive failure and resume cleanly

A durable replacement for a large n8n research workflow, designed so every organisation is checkpointed independently and one failure can never waste an entire monthly run.

Live system map
Fromental

How the work moves

One connected path from request to result.

Client

Fromental

Agenryx system

AI & Automation

Operating change

Each organisation becomes its own retryable Postgres job

~172

Organisations in a full monthly run

44

Nodes in the workflow being replaced

1:1

One organisation to one durable job

01 · The challenge

What the client needed to resolve

The problem before Agenryx.

The original 44-node workflow processed roughly 172 organisations inside one execution. It timed out, accumulated large execution state and behaved all-or-nothing: a late failure could waste all the successful research before it.

The change

From bottleneck to working system.

Before

Manual and fragmented

The original 44-node workflow processed roughly 172 organisations inside one execution. It timed out, accumulated large execution state and behaved all-or-nothing: a late failure could waste all the successful research before it.

Agenryx built

One connected workflow

A FastAPI, Next.js and Postgres monorepo architecture with a dashboard trigger, per-organisation job state, Pipedrive filtering, resilient research workers, grouped report rendering and link-only email delivery through the existing n8n Gmail step.

Resolved

A clearer way to operate

Each organisation becomes its own retryable Postgres job

02 · What we built

The system behind the experience.

Architecture and workflow

PostgreSQL acts as both database and queue. Workers claim jobs atomically with FOR UPDATE SKIP LOCKED, a reaper returns abandoned work to pending, and bounded concurrency protects external research APIs. Reports remain live web pages rather than attachments.

What shipped or was designed

A FastAPI, Next.js and Postgres monorepo architecture with a dashboard trigger, per-organisation job state, Pipedrive filtering, resilient research workers, grouped report rendering and link-only email delivery through the existing n8n Gmail step.

03 · Product walkthrough

See how the workflow moves.

Select a step or let the walkthrough advance automatically.

agenryx.system/fromental
System in action

The work enters one clear workflow

The original 44-node workflow processed roughly 172 organisations inside one execution. It timed out, accumulated large execution state and behaved all-or-nothing: a late failure could waste all the successful research before it.

One source of truth
Clear ownership
Visible status

04 · What changed

The value is in the operating change.

Each organisation becomes its own retryable Postgres job

Worker crashes and redeploys recover stale work instead of restarting the batch

Salespeople receive unguessable links scoped to only their own live reports

Technology used

FastAPINext.js 14PostgreSQLPipedriveTavilyDocker Compose

Start with what you need

What would you like us to build or improve?

Next case study: WhatsApp AI Receptionist