Skip to main content

Add an action

A workflow that runs on Swarm consists of a series of stages. A stage can be either a trigger or a combination of actions. An action can be anything, such as opening a website, clicking a button or sending an email. You can manage actions in your workflow from the flow editor screen in your project, such as adding, editing or deleting an action. The following is the procedure for adding an action.

To add an action, first, you need to create a new stage by clicking the + button under Stages on the flow editor screen.

Add a stage

Then, enter the stage name and click the Add button.

Name the stage

Once you successfully create a new stage, you can add actions to this stage. There are 2 methods to add an action, i.e. creating a new action or copying an existing action.

Create a new action

The first method to add an action is by creating a new action. These are the steps for creating a new action from the flow editor screen.

  1. Click the + button on the flow editor screen.

Add an action

  1. Select the action you want to create. For example, select the Open Browser action.

Action menu

  1. Enter the title and details required to create your new action. Your action will likely have several required fields, along with others that are optional. For example, to create an Open Browser action, you need to select the browser type and enter the wait time.

Action details

  1. Click Save button.

Copy an action

The second method to add an action is by copying another action. This method is effective if you want to create several actions with similar details. These are the steps for copying an action from the flow editor screen.

  1. Select the action you want to copy.

  2. Click the ··· button, then select Copy action.

Copy an action - first step

  1. Press the + button at the location where you want to add a new action on the flow editor screen.

  2. Click the paste action button next to the search field in the sidebar.

Copy an action - second step

  1. Paste the action that you copied into the available fields.

Copy an action - third step

  1. Click Add (1) Actions button.