ReactTypeScriptConvexn8nSlack

Agency Operations Console

Built an operations console alone for a marketing agency. Every content run is in one view, failed steps retry with backoff, and runs can be rerun from the console.

5 min read

The problem

The client is a marketing agency managing content and ads for local service businesses.

Content for each client ran through its own copy of an automation workflow. There was no single place to see what ran, what failed, or what was published. Adding a client meant cloning a workflow and editing it.

When a run failed, it was retried a couple of times. Then a message went to Slack, and someone had to rerun the whole automation by hand.

What I built

I built one console that runs the agency's content work. I built it alone, end to end. It covers five jobs:

AI article and image generation

Articles and their images are written and drawn for each client.

Diagram: How an article and its image are made. Step 1: Topic chosen. Step 2: Article written. Step 3: Image drawn. Step 4: Ready to publish.

Publishing

Finished content goes out to client websites and social accounts.

Diagram: Where finished content goes. Step 1: Finished content. Step 2: Client website. Step 3: Social accounts. Step 4: Published, with links.

Client setup

A new client is set up from the console, not by cloning a workflow.

Diagram: What happens when a new client is added. Step 1: Operator enters the business. Step 2: Setup steps run on their own. Step 3: Each step tracked. Step 4: Client ready.

Run tracking

Every run has a timeline of its steps, so anyone can see where it stands.

One content run, step by step

Run: Completed
  1. Write the article✓Done, kept
  2. Draw the image✓Done, kept
  3. Publish to the website✓Done, kept
  4. Publish to social accounts✓Done

The run completes. Nothing was redone by hand.

An audit log

Every change an operator makes is recorded.

Diagram: What happens when an operator makes a change. Step 1: Operator changes something. Step 2: Recorded: who, what, when. Step 3: Before and after kept. Step 4: Searchable later.

It took about six and a half months of solo work. By the numbers, it has 540 commits, 48 data tables, 472 server functions, 163 test files and 23 recorded architecture decisions.

The agency's cross-client Meta ads reporting also lives inside the console.

The live demo and the screenshots below come from the real interface, shown as "Ops Console" and filled with demo data. Every business, person and figure in them is invented.

Ops Console dashboard with counts of active and inactive clients, today's runs split into successful, failed and pending, and a gallery of generated content grouped by day
The dashboard. The gallery pictures are simple placeholder drawings standing in for the AI-generated images the app shows.
Ops Console clients list grouped into needs review, setup incomplete and active, with each client's website, pending work, account manager and status
The clients list, with the clients that need attention at the top.
Ops Console client setup screen tracking a new demo client's setup steps, with some steps done, one running and the rest waiting
Setting up a new client. Each setup step is tracked as it runs.

What changed

TaskBeforeAfter
Seeing what ran, failed or was publishedno single placeone view of every run
A step that failsretried a couple of times, then a Slack messageretried with backoff
Rerunning a failed runthe whole automation, by handrerun from the console

Every run is now in one view. When a step fails, it is retried with backoff: each attempt waits a little longer than the last, so a short outage can clear on its own.

If a step still fails, an operator reruns the run from the console. The rerun starts from the failed step, not from the beginning.

Ops Console recent runs, listing the newest content runs for the demo businesses with each run's start, article, client, type, status, current step and duration, one of them failed at social publishing
The runs list, on demo data.
Ops Console run detail for one demo article, with a timeline showing a failed social publishing step, a rerun started from that step, and the run completing, above a list of each step's output
A run's timeline. A publishing step failed, the run was rerun from that step, and it completed.
Ops Console runs list on a phone, with the filters stacked above the newest demo runs
The same runs list on a phone.
Ops Console audit log listing operator actions newest first, with filters for person, action, client and date, and one entry expanded to show fields before and after a change
The audit log. Each entry shows who did what, and what changed.

Technical decisions

  • A reactive backend. Operators see runs live. A run's status and timeline update on screen as each step happens.
  • Durable multi-step workflows with reruns. Each run is a series of steps that survives a failure, so a run can be restarted from the step that failed.
  • An audit log of every operator action. Every change is recorded with who made it and when.
  • Encrypted, write-only credentials. Client credentials are stored encrypted. Once saved, they can be replaced but not read back.
  • Built to hand over. The codebase ships with agent instructions, so the agency's team, another developer, or an AI coding tool like Claude Code can pick up the work.

Interested in similar solutions?

Let's discuss how I can help with your project.

Book a Call