A Payload CMS approval workflow for AI-written drafts, tested on the API
We gave an AI assistant a Payload account that can save drafts and nothing else, put a reviewer and a separate publisher behind it, and rolled back a mistake that got past review. Every rule was tested over Payload's REST API. The runnable example, the test output and a recording are below.