Actions

Actions are the steps in a workflow that do something, such as retrieve data, send messages, update external systems, or perform calculations. You can add any number of actions to a workflow after the trigger. Actions are executed in sequence.

There are two broad categories of actions:

  • Data retrieval actions: Retrieve data from your webstore in batches, such as Get baskets, Get shop accounts, Get pending order authorizers.
  • Execution actions: Perform operations based on retrieved or available data, such as Send email, Send HTTP request, Google Sheets - Append row, Google Sheets - Clear rows.

Available actions:

Batch Processing

Data retrieval actions, such as Get baskets, Get shop accounts, Get pending order authorizers, can return large datasets, sometimes thousands of records. To handle this efficiently without overloading the workflow, data is retrieved in batches, for example, 100 baskets per batch.

Each of these actions provides two output handlers that let you define what happens with each batch:

  • Repeat for each batch: Defines the action that runs for every batch of data returned.
  • After last batch: Defines the action that runs after all batches have been processed.

Use Repeat for each batch to process each batch (the For each action) as it arrives and check something (the Check if condition). Use After last batch to perform some action after all batches have been processed, such as sending an e-mail notification to the webstore administrator.