Skip to main content
object

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

Sample trigger data used to test an automation.

•DateTime!
non-null

The date and time when the test event was created.

•ID!
non-null

A globally-unique ID.

•String!
non-null

The name of the test event.

•AutomationTestEventSource!
non-null

Whether the test event was captured from the automation's trigger or supplied as custom data.

Show enum values
•JSON!
non-null

The trigger parameters the test event supplies to the automation.


Was this section helpful?

•mutation

Creates custom test events for an automation. If any event is invalid, or the events would exceed the automation's custom test event limit, none of them are created.

Show payload

Arguments

•[AutomationTestEventInput!]!
required

The custom test events to create.

Show input fields
•ID!
required

The ID of the automation to create the test events for.


•mutation

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.

Show payload

Arguments

•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?

•interface

Was this section helpful?