> 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/cloud/membership/triggers.md).

# Triggers

A **membership trigger** runs an action automatically when something happens to a user — for example sending a welcome email when a user registers. Events: `OnRegistered`, `OnInvited`, `OnVerified`, `OnUpdated`, `OnDeleted`, `OnBlocked`, `OnReactivated`.

<figure><img src="/files/7j4FGB9VEAfQhjAriEwu" alt=""><figcaption><p>Membership → Triggers.</p></figcaption></figure>

## What you can do here

The list shows each trigger's **Trigger Name**, **When** (the event), **What** (the action, e.g. Send Email), and whether it is **Enabled**. **Add New** opens the [create screen](/cloud/membership/triggers/new.md), where you pick the **event**, the **action** (run code, send an email, push, or SMS, call a webhook, or send a realtime/SSE event), and the action's **delivery settings**. Opening a trigger lets you [edit, enable/disable, or delete it](/cloud/membership/triggers/edit.md). See the [Triggers overview](/other-topics/triggers.md) for the full concept.

## Use it from code

[Membership → Triggers](/sdks-and-cli/membership/triggers.md) — the save page covers one working example per action type.

## API reference

[Save Membership Trigger](/api-reference/membership/triggers/save-membership-trigger.md) documents the full polymorphic request.
