Rewrite the exact saved Hive simple automation draft you reviewed. Send its draftVersionId and revision from read_automation_flow; Hive refuses an outdated edit. Change the words, link, account, watched posts or steps. This saves a draft and sends nothing; going live is a separate reviewed action.

post/api/v1/tools/update_simple_automation

Request

  • Base URL: https://hivepublish.com
  • URL: https://hivepublish.com/api/v1/tools/update_simple_automation
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Required for every write.

Request body

flowIdstring required

The Hive automation to change.

expectedDraftVersionIdstring required

The exact draftVersionId returned by read_automation_flow for the draft you reviewed.

expectedRevisioninteger required

The saved revision returned with that draftVersionId. Do not replace it with a newer revision to retry an outdated edit.

recipe'comment-link' | 'story-leads' | 'dm-faq' | 'comment-follow-gate' | 'comment-affiliate-links' | 'default-reply' required

Which Hive simple automation this is.

accountIdstring

The connected Hive account this automation runs on. Leave it out to get the list of accounts to choose from; never guess it.

platformstring

The network when accountId is not known yet: instagram, facebook, whatsapp, tiktok, messenger. Hive answers with the accounts to choose from instead of guessing.

namestring

Optional new name.

keywordsstring[]

The words a comment or message must contain.

replyTextstring

The message the automation sends.

linkUrlstring

The destination the link message opens.

linkButtonLabelstring

The label on the button people tap to ask for the link.

publicReplyTextstring

A public reply to the comment. Supplying it switches the public reply step on.

postIdsstring[]

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.

postScope'any' | 'specific'

any watches every post on the account; specific watches only postIds.

Response

Tool result

dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.