Skip to content

ShowcasedPath twoEditorial & human approval

California Black Stories

Drafts source-checked California Black history fact cards for a Facebook page, then holds each for human approval.

by NikemaRuns the California Black Stories Facebook page

Local tests passing, covering approval limits, rejection, revisions and publication sync
56

What it does

An editor picks a topic, checks the claim and approves the card.

Inside Studio, the editor picks a suggested idea or enters a topic. The app drafts a claim, checks it against retrieved source excerpts, marks each finding supported, unsupported or contradicted, then renders a branded card and caption.

The post waits in review. The editor approves it or rejects it with a note, which triggers a revised version. A web library lists every post with its image, caption, citation and status for copying and downloading.

The problem

AI-drafted history posts are quick to make and easy to get wrong.

The builder runs a California Black history page where much of the content is AI-generated and wants to grow it toward monetization. Producing posts at volume risks publishing unsupported claims, and a status dropdown alone does not record who checked what. The source and the review decision need to stay attached to each post, and the editor needs room to challenge the AI's own audit when it misreads a source.

What they built

One post document carrying fact, citation, card and review state.

  • post

    Topic, fact text, nested citation and source URL, caption, template ID, rendered image and status.

The stack

A four-stage workflow with a Function as its runtime.

  • Sanity Workflows
  • Functions
  • Studio
  • Content Lake
  • GROQ
  • Next.js
  • OpenAI
  • Exa
  • Satori
  • Resvg WebAssembly
  • Codex

The hard part

Rejection feedback drives a scoped revision, and the generator cannot approve itself.

Posts move from generating to review to approved to published, and only a person can approve. A Sanity Function picks up queued workflow effects, so rejection and publication run without a terminal or open browser.

The revision note decides what changes: caption-only feedback keeps the fact and image, image feedback rerenders the card, and factual feedback goes back through verification. Editors can also recheck or override an audit finding with a written reason, kept in the audit history.

More from path two

See the full showcase