Adapay icon

Adapay

Interact with Adapay API

Automation → Update

AI-generated

Summary

Update an existing automation by its ID, modifying specified fields such as name, description, triggering events, and allowed API actions.

Inputs

  • Automation ID (required) — The unique identifier of the automation to update.
  • Update Fields — A collection of fields to update, including 'Name' (string), 'Description' (string), 'Events' (list of event trigger types), and 'Actions' (list of allowed API actions).

Output shape

a single record representing the updated automation object

The output returns the full updated automation data. Any provided fields in 'Update Fields' replace the existing values. If the update fails, an error is returned unless "Continue On Fail" is enabled.

Examples

Example 1: Update the name and events of an existing automation

Provide the Automation ID and in Update Fields specify the new Name and one or more Events to trigger the automation.

Links

Discussion