# Update an automation

Update an automation's name, description, or schedule.

Endpoint: PUT /flows/api/flows/{flowUuid}
Version: 2.0.0
Security: bearerAuth

## Path parameters:

  - `flowUuid` (string, required)
    Automation UUID.

## Request fields (application/json):

  - `name` (string)
    Example: Updated Campaign Name

  - `description` (string)

  - `schedule` (object)
    Working hours schedule.

  - `schedule.timezone` (string, required)
    Example: Europe/Berlin

  - `schedule.use_lead_timezone` (boolean)

  - `schedule.timeblocks` (array, required)

  - `schedule.timeblocks.dow` (integer)
    Day of week (0=Sunday).

  - `schedule.timeblocks.min` (integer)
    Start time in minutes from midnight.
    Example: 540

  - `schedule.timeblocks.max` (integer)
    End time in minutes from midnight.
    Example: 1080

## Response 200 fields (application/json):

  - `uuid` (string)
    Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890

  - `public_uuid` (string)

  - `team_id` (integer)

  - `name` (string)
    Example: DACH CTO Outreach

  - `flow_workspace_uuid` (string)

  - `flow_version_uuid` (string)

  - `use_sender_schedule` (boolean)
    When `true`, tasks use each sender profile's own schedule instead of the flow schedule.

  - `schedule` (object)
    Working hours schedule.

  - `schedule.timezone` (string, required)
    Example: Europe/Berlin

  - `schedule.use_lead_timezone` (boolean)

  - `schedule.timeblocks` (array, required)

  - `schedule.timeblocks.dow` (integer)
    Day of week (0=Sunday).

  - `schedule.timeblocks.min` (integer)
    Start time in minutes from midnight.
    Example: 540

  - `schedule.timeblocks.max` (integer)
    End time in minutes from midnight.
    Example: 1080

  - `description` (string)

  - `priority` (integer)

  - `status` (string)
    Flow status.
    Enum: "on", "off", "draft", "archived"

  - `is_public` (boolean)

  - `user_id` (integer)

  - `created_at` (string)

  - `updated_at` (string)

