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

# Triggers

**Where:** Payments → Triggers · `/projects/<project>/payments/triggers`

A **payments trigger** runs an action on order events — **When order created** (`OnOrderCreated`), **When order paid** (`OnOrderPaid`), or **When webhook call received** (`OnWebhookCallReceived`). A webhook trigger can be narrowed to specific integrations and specific gateway event names, so "send the receipt" fires only for the right shop and the right event.

<figure><img src="/files/W4jJeSaYSUTAaibFOdeN" alt=""><figcaption><p>Payments → Triggers.</p></figcaption></figure>

## What you can do here

The **Payments Triggers** list shows every trigger with columns **Trigger Name**, **When**, **What** (the action it runs), and **Enabled**. Click a trigger to open it, or press **Add New Trigger** to [create one](/cloud/payments/triggers/new.md). From a trigger's own page you can [edit](/cloud/payments/triggers/edit.md), enable, disable, or delete it at any time.

Actions cover email, push, SMS, webhook, code function, and realtime (SSE) events. Full concept: [Triggers overview](/other-topics/triggers.md).

## Use it from code

[Payments → Triggers](/sdks-and-cli/payments/triggers.md).

## API reference

[Save Payments Trigger](/api-reference/payments/triggers/save-payments-trigger.md).
