# POST /automations/:automation_id/triggers

**Resource:** [Automations](./automations.md)  
**MCP tool:** `add_automation_trigger`  
**Scopes:** `automations:write`  
**Write operation:** yes

Add a trigger to an automation. An automation may have multiple triggers — it fires when ANY of them matches (OR logic). Pass trigger_type to give this trigger its own event class (e.g. add a webhook_received trigger to a form_completed automation so both entry points run the same actions); omit it to inherit the automation's primary trigger_type.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `automation_id` | path | string | yes |  |
| `trigger_type` | body | string | no | Optional. This trigger's own event class. Omit to inherit the automation's primary trigger_type. Set it to fire one automation from multiple different event types (OR-matched). |
| `source_type` | body | string | no |  |
| `source_id` | body | string | no |  |
| `config` | body | object | no |  |

## Request example

```bash
curl -X POST   "https://api.trustpager.com/functions/v1/api/v1/automations/:automation_id/triggers"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"trigger_type":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`