Update a Hive simple automation draft
update_simple_automationIdempotent
Rewrite an existing Hive simple automation and return it as a DRAFT: going live needs the person to open the approval link in Hive. Change the words, the link, the account, the posts it watches or the extra steps. It sends nothing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional new name. | |
| flowId | Yes | The Hive automation to change. | |
| recipe | Yes | Which Hive simple automation this is. | |
| linkUrl | No | The destination the link message opens. | |
| options | No | ||
| postIds | No | External post ids from read_eligible_posts (or story ids from read_eligible_stories) this automation watches. At most 20. Leave empty to watch every post on the account. | |
| keywords | No | The words a comment or message must contain. | |
| platform | No | The network when accountId is not known yet: instagram, facebook, whatsapp, tiktok, messenger. Hive answers with the accounts to choose from instead of guessing. | |
| accountId | No | The connected Hive account this automation runs on. Leave it out to get the list of accounts to choose from; never guess it. | |
| postScope | No | any watches every post on the account; specific watches only postIds. | |
| replyText | No | The message the automation sends. | |
| idempotencyKey | Yes | A caller-generated unique key (8-200 characters). Reuse it only when retrying this exact write. | |
| linkButtonLabel | No | The label on the button people tap to ask for the link. | |
| publicReplyText | No | A public reply to the comment. Supplying it switches the public reply step on. |