> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Tweak Your Robot Blueprint

> Rename your flow, flick the power switch on or off, or rearrange the building blocks.

Need to rename your automation, swap an email template, or turn the robot on? Send a quick tweak request!

> 🛑 **Safety Brake**: If your robot is currently running live (`"status": "enabled"`), Mailofly will not let you rearrange its tracks while contacts are traveling on them! To remodel the track, flick it to `"disabled"` first, or clone a twin copy using [Clone a Twin Robot](/docs/api/automations/duplicate-automation.md).

### Path Parameters

**id** `string` *required*

The special ID badge of the automation you want to tweak (e.g. `"auto_9b83b384..."`).

### Body

**name** `string`

Give your automation a fresh new nickname if you want to rename it.

**status** `string`

Flick the power switch! Set to `"enabled"` to put it to work, or `"disabled"` to let it take a nap.

**steps** `object[]`

A brand new set of Lego blocks to replace the old ones. (Only allowed while the flow is disabled!).

**connections** `object[]`

The new train tracks connecting your blocks together. (Must be sent along with `steps`).

### Response

**object** `string`

Always says `"automation"`.

**id** `string`

The ID of the robot you just polished.

```bash cURL theme={null}
curl -X PATCH 'https://api.mailofly.com/automations/auto_9b83b384-3c66-4f81-a201-3829028198f1' \
  -H 'Authorization: Bearer mf_live_xxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Super Welcome Wagon (Version 2)",
    "status": "enabled"
  }'
```

```javascript Node.js theme={null}
import { Mailofly } from "@mailofly/node";

const mailofly = new Mailofly("mf_live_xxxxxxxx");

const updated = await mailofly.automations.update("auto_9b83b384-3c66-4f81-a201-3829028198f1", {
  name: "Super Welcome Wagon (Version 2)",
  status: "enabled"
});

console.log("Successfully tweaked robot:", updated.id);
```

```json 200 OK theme={null}
{
  "object": "automation",
  "id": "auto_9b83b384-3c66-4f81-a201-3829028198f1"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.