Run a set of activities in your bot using a process as described in the following sections:
- What is a process?
- Add a process to a bot
- Create a process
- View processes
- Edit a process
- Delete a process
What is a process?
A process combines tasks into composite activities. A process represents a typical business process, such as an order approval.
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 in a 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
Add 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. See Create a new process. -
Reuse an existing process
Select an existing process in the Run this Process drop-down list. For more information, see Reuse automation components.
Create a new process
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 new process:
- When creating or editing a bot, select Create new process in the Run this Process drop-down list.
- Select Automation > Processes and click New Process.
To copy an existing process:
- Select Automation > Processes.
- Select the process you want to copy.
- 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.
View processes
To view all processes, select Automation > Processes. Processes are organized by their table association or under Other
if there is no table association.
If a reusable 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.
Click the number to view the list of bots that are using the process. For more information, see Reuse automation components.
Edit a process
To edit a process, select the process in the editor, edit the steps, and save your changes.
Delete a process
To delete a process:
- Select Automation > Processes.
- Select the process you want to delete.
- 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.