Task blocks

Compose custom code tasks together to create powerful runbooks.

Task blocks execute tasks that you have already created:

For details on creating a task, see Intro to tasks.

When adding a task block, you should pre-fill the task parameters with the desired values to run with. By default, the task block will automatically run when the previous blocks complete or are skipped. Note that any required fields must be filled in, or else the block will error.

To not automatically run the task, you can change the block from Auto to Manual. For details, see Manual blocks.

You likely will want to template the task parameters based on other values, such as the block parameters (e.g. {{params.your_param_slug}}) or another block's output (e.g. {{some_block.output}}. See JavaScript templates for more details.