# PUT /our-company/getting-started/automations/:key

**Resource:** [Company](./company.md)  
**MCP tool:** `set_up_getting_started_automation`  
**Scopes:** `automations:write`  
**Write operation:** yes

Set up, change, or switch on or off one of the recommended Getting Started automations (key: thanks (Thank new enquiries), missed (Text back missed calls), call (Call new leads), quote (Send the quote to sign), chase-quote (Chase unsigned quotes), book (Book them in once signed), invoice (Send the invoice when the work is done), chase-invoice (Chase overdue invoices), review (Ask for a review), referral (Ask for referrals)). Saves a real automation (one per key; it is updated, never duplicated). when: { kind: "stage", column_id } runs it when a card moves into that column, or { kind: "event", event } runs it when something happens (one of the recipe's events: enquiry, form, booking, signed, missed_call, happy). actions: the essentials for each of its steps, in order (see list_getting_started_automations for each step's kind and current values). on: true switches it on; it only actually comes on once every setting is filled in and everything it uses (email, number, document...) is ready, and until then it is saved off and waits (status "waiting"). on: false switches it off. Omitted fields keep their current values; the first save uses the recipe's defaults. The two chasers (chase-quote, chase-invoice) wait days before sending and are cancelled automatically if the customer has signed or paid by then. Returns the whole list again, as list_getting_started_automations does.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `key` | path | string | yes |  |
| `when` | body | object | no | { kind: "stage", column_id } runs it when a card moves into that column (ids in choices.boards); { kind: "event", event, source_id? } runs it when something happens: enquiry, form, booking, signed, missed_call or happy (only the events that automation offers). For form and booking, source_id narrows it to one form (choices.forms) or one booking page (choices.booking_pages); leave it out for any of them. |
| `actions` | body | array | no | One settings object per step, in the recipe's order. |
| `on` | body | boolean | no | true = switch on (it waits, off, until everything it uses is ready), false = switch off. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PUT   "https://api.trustpager.com/functions/v1/api/v1/our-company/getting-started/automations/:key"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"when":"...","actions":"...","on":"..."}'
```

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