Replace a Hive automation document
update_flow_documentIdempotent
Replace the whole document of one Hive automation and save it as a DRAFT. Send the revision and draftVersionId you read, so a change somebody else made in Hive is never overwritten. Hive refuses and saves nothing when the new document has anything wrong with it. Going live stays a separate step a person approves.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The Hive automation to change. | |
| document | Yes | The whole new document. | |
| 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. |