Skip to main content
Version: 10.3.2

Add Bot Task

Bot Tasks contain work to be done by WorkFusion's bots automating human labor. Bot Tasks can exist only as a Business Process step, and you can create them using code tools or in a no-code manner.

Examples: address parsing, determining the width and height of an image, interacting with your API or repository, or filtering content that does not meet specific criteria.

Add to BP flow

You can add a Bot Task to a BP using one of the following methods:

  • Drag the Bot Task element to the canvas from the toolbar. In this case, a blank task is created. You will need to select an Operation and configure settings from scratch.

  • In the Reusable components panel, navigate to the Bot tab and drag an option to the canvas. In this case, the task configuration is copied from the source task. You can edit the task if needed. Any changes you make to the task are propagated to all BPs where the task is used.

    Alternatively, click the Copy button for an option in the list, in which case an independent task copy is created. You can then drag the created copy to the canvas and edit the task configuration as needed. The changes you make are not propagated to the source task or other independent copies of the same task.

Select Operation

Double-click the Bot Task element you added to the canvas and choose an Operation on the side panel. The Operation serves as a template to create a Bot Task.

Click an Operation category and click Select next to the option of your choice.

The following Operation categories are available:

Configure no-code Bot Task

Once you select an Operation, a Bot step configuration panel opens where you can configure the Bot Task settings in a no-code manner.

To configure a Bot Task without using code, act as follows:

  1. On the Design tab, set a name for the task and fill in other fields as required. The settings can differ, depending on the Operation category and type you have chosen.

  2. On the Input/ Output tab, set the data flow from and to the particular step.

    warning

    Enabling the Input/ Output feature for a step turns a BP into a schema-based one. So, for the BP to execute as expected, you have to set contracts for other steps within the BP as well. For more information, refer to Configure input and output contracts in Business Process.

  3. Save the task before closing it. After saving the task, make sure to save the BP.