# Automations

HTML: https://www.app2email.com/docs/api/automations · Index: https://www.app2email.com/docs/api/llms.txt

Rules that look after WhatsApp conversations by themselves: When (a trigger), If (conditions), Do (steps in order: send a text, a template or buttons, tag, assign, mark solved, add a note, call your system, wait, hand to a person). Plus the run log of what they did.

| Method | Path | Summary | Scope | Sandbox key |
| --- | --- | --- | --- | --- |
| GET | `/v1/{number}/automations` | [Chat automation rules](https://www.app2email.com/docs/api/automations/list-chat-automations.md) | `messages:read` | reads |
| POST | `/v1/{number}/automations` | [Create a chat automation rule](https://www.app2email.com/docs/api/automations/create-chat-automation.md) | `settings:manage` | refused |
| GET | `/v1/{number}/automations/runs` | [What the chat automations did](https://www.app2email.com/docs/api/automations/list-chat-automation-runs.md) | `messages:read` | reads |
| GET | `/v1/{number}/automations/{id}` | [One chat automation rule](https://www.app2email.com/docs/api/automations/get-chat-automation.md) | `messages:read` | reads |
| PUT | `/v1/{number}/automations/{id}` | [Change a chat automation rule](https://www.app2email.com/docs/api/automations/update-chat-automation.md) | `settings:manage` | refused |
| DELETE | `/v1/{number}/automations/{id}` | [Delete a chat automation rule](https://www.app2email.com/docs/api/automations/delete-chat-automation.md) | `settings:manage` | refused |
