Run a set of activities in your bot as described in the following sections:

What is a process?

A process combines tasks into composite activities. A process represents a typical business process. For example, an order approval is a business process.

A process may run a simple set of tasks sequentially, such as send an email or create a file. A more complex process might take hours or days to complete if it includes more time-consuming activities, such as:

  • Loop over many records and call a task for each of them

  • Call other processes

  • Wait for a human to respond to something

A process contains the following elements:

  • An input (a row of the table this process will work on)

  • A sequence of steps

For example, in the screenshot below, you can see a sample Handle new employees record process that contains the following elements:

  • Table: A row in the employees table.

  • Step: Send welcome letter

Adding a process to a bot

Add a process to a bot using AppSheet in one of the following ways:

  • Create a new process
    Select Create new process in the Run this Process drop-down list.

  • Use an existing process
    Select an existing process in the Run this Process drop-down list.

See also Creating processes below.

Creating processes

AppSheet Automation enables you to build processes once and reuse them in various automations to save time and accelerate development. See also About component reusability with AppSheet Automation.

To create a process:

  • Create a new process
    Select Create new process in the Run this Process drop-down list.

  • Select Automation > Processes and click New Process.

To copy an existing process:

  1. Select Automation > Processes.

  2. Select the process you want to copy.

  3. Click Copy in the process heading.
    The existing process is copied. The name of the new process defaults to the name of the current process followed by a unique number (starting with 1 and incrementing), such as Onboard new employees 1.

To view all processes, select Automation > Processes. Processes are organized based by table. If a process is used by one or more bots, it displays a reusability indicator (number adjacent to the process name) to indicate the number of bots using the process. In the example below, the Handle new employees record process is a reusable component that is used in one bot.

Click the number to view the list of bots that are using the process:

Editing processes

Note: If editing a process that is used by multiple bots, consider the impacts to all processes before editing the task.

To edit a process, select the process in the editor, edit the steps, and save your changes.

Deleting processes

Note: If a process is used by multiple bots, consider the impacts to all bots before deleting the process.

To delete a process:

  1. Select Automation > Processes.

  2. Select the process you want to delete.

  3. Click Delete in the process heading.

Deleting a process that is used in one or more bots may negatively impact the execution of those bots. If you try to delete a process that is used by one or more bots, AppSheet will prompt you to confirm the operation, as shown:

Did this answer your question?