Skip to main content
Anchor to automationTestEventUpdate

automationTestEventUpdate

mutation

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

Renames a test event or replaces its trigger parameters. Updating a captured test event converts it to custom and counts toward the custom test event limit.

•ID!
required

The ID of the test event to update.

•String

The new name of the test event. Omit to leave it unchanged.

•JSON

The trigger parameters that replace the test event's current ones. Must be a JSON object. Omit to leave them unchanged.


Was this section helpful?

Anchor to AutomationTestEventUpdatePayload returnsAutomationTestEventUpdatePayload returns

•AutomationTestEvent

The updated test event. Returns null if the test event couldn't be updated.

Show fields
•[AutomationTestEventUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?