TaskInitiator

Description#

This component allows for a user to configure and execute a one off task.


Tasks do not require automations to be configured, and are not repeatable.

Import#

import { TaskInitiator } from "@rollouthq/connect-react";

Usage#

Here's a basic usage example:

<TaskInitiator
prefilled={{
trigger: {
appKey: "dropbox",
triggerKey: "fileSelected",
},
}}
onTaskSuccess={({ taskData, resultData }) => {}}
/>