Skip to main content
The Review workflows handle validation, links, moderation, and compensation. They do not currently emit their own domain events. There is no review.created or review.published event to subscribe to today. To run side effects when a review changes, wrap the review workflows in your own route or workflow and run the follow-up logic there, or emit your own event and subscribe to it.

Emit your own event

Emit an event alongside the workflow, then handle it in a subscriber:
src/api/custom/route.ts
src/subscribers/review-created.ts
Because the module ships no events of its own, the event name in the example above is one you define. Keep it consistent across the emit site and the subscriber.

React without an event

For side effects that must run transactionally with the review change, add a step to your own workflow that wraps the review workflow, rather than relying on an event. Events are handled asynchronously and outside the workflow’s compensation.