Magidoc

transferBuzzAutomationOwner
Mutation

Hand off a Buzz automation in one transaction: the requested snippets and workflows, the workflows and snippets tied to them through Run-a-snippet steps that have the same owner, and the API-key/session connections those snippets use that the owner holds. Either everything moves or nothing does. Nobody is notified. createdBy never changes; runs execute as the new owner from then on.

An email-received trigger watches the owner's inbox, so such a workflow moves only when its trigger names the new owner's own connected inbox; its watch is then registered for the new owner once the transfer commits.

Access: a Hive superadmin (full member of the workspace) may hand off to any full member of the workspace or to themselves; a workspace system admin only to themselves. Everything in the handoff must belong to the workspace and currently to one Hive superadmin: handoffs move staff-built work to the customer, never customer-owned work.

Errors: every message in the OWNERSHIP_TRANSFER_ERRORS enum, plus "Snippet not found" and "App workflow not found" for an id outside the workspace, and "User does not have access to workspace" for an actor who is not a full member.

Arguments

#

Response

#

Returns BuzzAutomationOwnershipTransferResult !.

Example

#