TaskInitiator

Props#

proptyperequiredDescription
onTaskSuccess({ taskData, resultData }) => Promise<void>falseA callback to call when a task executes successfully. Available in the callback are the submitted properties taskData of TaskData shape and the action's execution resultData.
onTaskError({ taskData, error }) => Promise<void>falseA callback to call when a task fails to execute. Available in the callback are the original taskData and the thrown error.
prefilledobjectfalseData that can be prefilled for the trigger. Please see the section on creating automations.
variableMenuActivatorstringfalseCustomizes the text that triggers variable list in text editor.