Automation Data Type
The Automation object is passed as a paramter to a number of callback functions. Its shape is specified below:
type Automation = {id: string; // UUID of the Automationactive: boolean; // Whether the Automation is currently activeuserId: string; // ID of the corresponding user (passed in via JWT sub claim)name: string; // Automation nameblueprintKey: string | null; // The blueprintKey in case of blueprint automation, or nulltrigger: {appKey: string; // `appKey` of the trigger apptriggerKey: string; // `key` of the triggercredentialId: string; // `id` of the trigger CredentialinputParams: { // Trigger input parameters[param: string]: any;};};action: {appKey: string; // `appKey` of the action appactionKey: string; // `key` of the actioncredentialId: string; // `id` of the trigger CredentialinputParams: { // Action input parameters[param: string]: any;};};customData: null | { // Your custom data[key: string]: any;};subscribeData: null | { // Subscribe data[key: string]: any;};};