Skip to content

ShowcasedPath twoConsumer & lifestyle

Owambe Desk

Helps couples, families and coordinators plan and run a large Nigerian wedding, with people approving every agent step.

by Amrasakpare Lawrence

Workflow definitions: program approval, aso ebi order and live adjustment
3
Bad agent re-timings blocked by the validator in the first live run
2

What it does

Two families approve one program. Guests watch it run live.

An agent drafts the order of the day from the couple's brief and each family's fixed traditions. Each family approves or rejects with a reason, and the agent redrafts until both sign off on the same version.

Guests buy matching aso ebi fabric online, and orders move to paid only when the payment provider confirms. On the day, the coordinator marks segments started and ended, and the public site shows what is on now.

The problem

Two families, hundreds of guests, and a day that always runs late.

When two tribes marry, each family has rituals it will not drop, and both must agree on one program. Fabric orders need confirmed payment before anything goes to a tailor. On the day, the schedule slips and guests have no way to see what is happening. All of this usually runs through calls and group chats.

What they built

Ten linked document types, with decisions left to the workflow engine.

10 document types and 3 workflow definitions in one public dataset; a fictional demo wedding.

  • event

    The wedding itself: title, date and city.

  • familySide

    One family's non-negotiable traditions, read by the agent on every draft.

  • programOfEvents

    A version of the day's program that moves through family approval.

  • programItem

    One segment of the program, such as speeches, food or the couple's dance.

  • programAdjustment

    A proposed re-timing of the program when the day runs behind.

  • guest

    One invited guest, linked to the event and their invite.

  • asoEbiLot

    A matching fabric option guests can choose and pay for.

  • asoEbiOrder

    One guest's fabric order, tracked from payment through tailor to collection.

The stack

Three workflows, one agent, a dashboard app, a live site.

  • Sanity Workflows
  • Agent Actions
  • App SDK
  • Sanity UI
  • next-sanity live
  • Sanity Studio
  • Next.js
  • Tailwind CSS
  • TypeScript
  • pnpm monorepo
  • Bachs payments
  • Netlify
  • Claude Code

The hard part

The agent can draft and suggest, but workflow rules stop it from approving anything.

Each process is a Sanity Workflow whose rules decide who may fire each action. Only families can approve a program, and only a robot token can mark an order paid after verified payment details are written. Guards freeze a program while families vote on it. Tests check these limits.

A validator rejects bad agent output, such as overlapping segments or times outside noon to 22:00, and feeds the errors back for a retry. Approvals are not duplicated as documents, because the engine already logs each decision and actor.

See the deployed workflows and run history ↗

More from path two

See the full showcase