List of building blocks

Building blocks control how the actions of an automation or a script run. For example, they wait, repeat steps, or choose between steps. In the editor, you find them under Blocks when you add an action.

Browse the list below, or use the search box to find a building block by name or description. For an introduction, refer to Building blocks in automations and scripts.

Making decisions

These building blocks decide which steps run next, or whether the automation or script continues at all.

  • Choose choose Run the first group of actions whose conditions are met.
  • Condition condition Continue the automation or script only if a condition is met.
  • If-then if Run actions only if conditions are met, and other actions if they are not.
  • Stop stop Stop the automation or script, optionally with a response or as an error.

Repeating steps

These building blocks run the same steps more than once: a set number of times, once for each item in a list, or until a condition is met.

Waiting

These building blocks pause the automation or script: for a set time, until a template is true, or until a trigger reacts.

Running steps together

These building blocks group steps, so they run one after the other or at the same time.

Variables

These building blocks store values that later steps can use.