> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Event publishing

Flows publish events to trigger other flows decorated with `@project_trigger`. Events resolve to `prj.{project}.{branch}.{name}`, the same namespace the trigger decorator consumes, so an event published on a branch only triggers flows deployed on that branch.

## Methods

* [.publish\_event](/docs/platform/guides/projects/utilities-api/events/publish-event): Publish an event from a project flow.
* [.safe\_publish\_event](/docs/platform/guides/projects/utilities-api/events/safe-publish-event): Publish an event without failing the run when the event bus is unavailable.
* [ProjectEvent](/docs/platform/guides/projects/utilities-api/events/project-event): The event type returned by event operations, for publishing events outside a flow.

## Choosing a publish method

Use `publish_event` in normal flows, where a failed publish should fail the run. Use `safe_publish_event` when the event is best-effort, such as a notification that should not block the rest of the pipeline. Use `ProjectEvent` directly in standalone scripts and CI jobs, outside a flow context.
