---
title: "Update Automation"
method: PATCH
path: "/api/v1/automations/{automation_id}"
tags: ["automations"]
---

# Update Automation

`PATCH /api/v1/automations/{automation_id}`

## Path parameters

- `automation_id` string, uuid, required

## Request body

- AutomationUpdate
  - `name` string, nullable
  - `description` string, nullable
  - `nodes` NodeCreate[], nullable
    - `slug` string, required
    - `kind` 'trigger.schedule' | 'trigger.entity_change' | 'trigger.app_invocation' | 'fetch_entities' | 'query' | 'update_entity_row' | 'create_entity_row' | 'load_scenario_revision' | 'custom_code' | 'dataset_sink' | 'if' | 'aggregate_to_one' | 'ai_step' | 'send_email' | 'http_request' | 'provider_action', required — All v1 node kinds. Triggers + body nodes share one enum + one table.
    - `config` object
    - `position_x` integer, nullable
    - `position_y` integer, nullable
  - `edges` EdgeCreate[], nullable
    - `from_slug` string, required
    - `to_slug` string, required
    - `port` string

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/netter/apis/dmi-backend.md) · [All operations](https://skmtc.net/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netter/dmi-backend/versions/a59877bf911b/schema)
