Skip to content

Assets ​

Sends a notification when an Asset event is triggered.

When a new file is uploaded and saved ​

Fires the first time an Asset is saved, after upload and propagation finish. Subsequent edits to the same Asset (rename, replace, move) do not re-fire it.

When an asset is moved ​

Fires when an Asset is moved between folders or volumes. The pre-move location is available on the original Twig variable for before/after rendering.

When an asset is updated ​

Fires every time an existing Asset is saved (except when moved, see above). Covers rename, replacement, alt text, focal point, and custom field edits.

When an asset is deleted ​

Fires when an Asset is deleted. Covers both soft deletes (moved to the trash) and hard deletes.

When an asset is restored ​

Fires when a soft-deleted Asset is restored from the trash.