# POST /auto-sequences/:queue_id/steps

**Resource:** [Auto Sequences](./auto-sequences.md)  
**MCP tool:** `add_auto_sequence_step`  
**Scopes:** `automations:write`  
**Write operation:** yes

Add a step to a sequence.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `queue_id` | path | string | yes |  |
| `automation_id` | body | string | yes | UUID of the automation this step runs. Get real ids from list_automations. |
| `step_order` | body | number | yes | Position of this step in the sequence, ascending. Steps run in this order. |
| `delay_days` | body | number | no | Days after enrolment this step runs (cumulative from enrolment, not from the step before it: Day 2 / 4 / 6 is 2, 4, 6). Adds to delay_hours and delay_minutes. Counted as open business days when the sequence has count_business_days on. Defaults to 0. |
| `delay_hours` | body | number | no | Hours after enrolment, on top of delay_days. Defaults to 0. |
| `delay_minutes` | body | number | no | Minutes after enrolment, on top of delay_days and delay_hours. Defaults to 0. |
| `description` | body | string | no | What this step is for, shown in the sequence builder. Internal only. |
| `is_active` | body | boolean | no | Whether this step runs. Set false to skip it without removing it from the sequence or renumbering the rest. |
| `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 POST   "https://api.trustpager.com/functions/v1/api/v1/auto-sequences/:queue_id/steps"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"automation_id":"...","step_order":"...","delay_days":"..."}'
```

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