# UpdateAutomatedActionRequest

Changes an automation's name, description and actions. Its schedules and message triggers are kept.

**Kind:** an object, used in requests.

## Fields

| Field | Type | Required | Description |
|---|---|---|---|
| `name` | `string` |  | The automation's name, unique within the namespace. |
| `description` | `string \| null` |  | What the automation is for. |
| `actions` | [`AutomatedActionItemInput`](https://docs.maitento.com/reference/types/automated-action-item.md#in-a-request)`[]` |  | What the automation starts each time it fires, at least one: one run per action. Replaces the current list. |

## Example

```json
{
  "name": "...",
  "description": "...",
  "actions": [
    {
      "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
      "name": "...",
      "config": {
        "$type": "app"
      }
    }
  ]
}
```

## Where it's used

- [`automations.update`](https://docs.maitento.com/reference/api/automations.md) (`PUT /automated-actions/by-id/{id}`)
