> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/norbix-cloud/files-service/triggers.md).

# Triggers

<figure><img src="/files/LTfQUYqLvCUqqRW3XXfH" alt=""><figcaption><p>Files triggers — run an action when files are uploaded or deleted.</p></figcaption></figure>

Files triggers run an action automatically on file storage events — for example notifying the team when a file is uploaded.

{% hint style="info" %}
The dashboard guide for files triggers is being written. The feature itself is available today.
{% endhint %}

To create one: open **Files → Triggers**, click **Add trigger**, pick the event (`OnFileUploaded` or `OnFileDeleted`), choose the action (email, push, SMS, webhook, function, ...), set its delivery settings, and save. Use the toggle to enable or disable a trigger without deleting it.

## Use it from code

Every trigger endpoint is a method in the Norbix SDKs — see [Files → Triggers](/sdks-and-cli/files/triggers.md) in the SDK reference.

## API reference

Full request and response, endpoint by endpoint: [Files → Triggers](/api-reference/files/triggers.md).
