Event specification
Events adhere to a structured specification.
Event grammar
Events can be named arbitrarily, but are recommended to follow a consistent and informative grammar. An event describes a resource and an action it took— or that was taken—on that resource. For example, events emitted automatically by Prefect objects take the following form:Resources
Every event has a primary resource, which describes the object that emitted an event. Resources are used as quasi-stable identifiers for sources of events, and are represented as dot-delimited strings. For example:Respond to events
From any event detail page, you can configure an automation to trigger on the observation of matching events—or a lack of matching events—by clicking the automate button in the overflow menu:
Further reading
- Events reference: comprehensive catalog of every event emitted by Prefect, Prefect Cloud, and integrations
- How to create automations
- How to create webhooks