Change part of a Hive automation
patch_flowIdempotent
Make small changes to one Hive automation: add a step, connect two steps, change one setting, move or remove a step. Hive applies them all or none, and saves nothing while anything is wrong. It saves a DRAFT; going live is a separate step a person approves in Hive.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | The changes to make, in order. Hive applies them all or none. | |
| flowId | Yes | The Hive automation to change. | |
| idempotencyKey | Yes | A caller-generated unique key (8-200 characters). Reuse it only when retrying this exact write. | |
| expectedRevision | Yes | The revision read_flow_document returned. | |
| expectedDraftVersionId | Yes | The draftVersionId read_flow_document returned. |