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

# Update automation

> Change one of the user's own automations: switch it on or off, rename it, turn its run notifications on or off, or rebuild what it does from a new…

`update_automation`

Change one of the user's own automations: switch it on or off, rename it, turn its run notifications on or off, or rebuild what it does from a new plain-English request. Pass only what changes. In HERO's chat, switching on one that emails people or sends data outside HERO waits for the user's click on a card.

## Parameters

**automationId** `string` *required*

**enabled** `boolean`

**name** `string`

**request** `string`

The whole automation as it should be from now on: what starts it, any condition, every step.

**notifyInApp** `boolean`

Tell the user in HERO when a run finishes.

**notifyEmail** `boolean`

Email the user when a run finishes.


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