Automation

type Automation = {
id: string; // UUID of the Automation
active: boolean; // Whether the Automation is currently active
name: string; // Automation name
trigger: {
appKey: string; // `appKey` of the trigger app
triggerKey: string; // `key` of the trigger
credentialId: string; // `id` of the trigger Credential
inputParams: { // Trigger input parameters
[key: string]: any;
};
};
action: {
appKey: string; // `appKey` of the action app
actionKey: string; // `key` of the action
credentialId: string; // `id` of the trigger Credential
inputParams: { // Action input parameters
[key: string]: any;
};
};
customData: null | { // Your custom data
[key: string]: any;
};
};