---
title: "Create an automated task"
description: Build a task with the five-step assistant and test it before turning it on.
---

The assistant guides you through five steps: **Basics**, **Trigger**, **What it does**, **Actions**, and **Review**. You can go back to any completed step by clicking its name.

:::note[Before you start]
You need the admin role in the workspace and an agent whose data store has the tables the task will use.
:::

## Create the task

1. **Open Automated tasks**

    In the sidebar, open **Automated tasks** and click **New task**.

2. **Fill in the basics**

    In **Basics**, type the **Name** and choose the **Agent** that does the task. To evaluate candidates, in **Start from a template:** choose **Evaluate candidate (HR)**: it fills in every step for you, and then you review each one.

3. **Choose the trigger**

    In **Trigger**, choose **Scheduled** or **Event**.

    - **Scheduled:** set **Every how many hours** (at least 1) and, if you want, check **Only within a time window** with the days and hours.
    - **Event:** choose what triggers it:
      - **A message was received:** on one of the agent's channels. It runs alongside the reply, without delaying it.
      - **A data store row was completed:** you choose the **Table**. It runs once per row.
      - **A row was updated in a data store:** you choose the **Table** and, if you want, check the columns that matter in **When any of these columns changes**. Rows written by tasks themselves never trigger it.
      - **A webhook call:** another system calls it. See [Task webhooks](/en/automated-tasks/task-webhooks).

    ![Trigger step with a completed row and a criterion](/blume-assets/content/docs/screenshots/en/automated-tasks/02-wizard-trigger.png)

4. **Add a criterion**

    In **Run criterion (optional)**, click **Add condition** and choose a field, an operator, and a value. Choose whether **all** or **any** of the conditions must be met. The operators are: equals, does not equal, contains, is empty, is not empty, is greater than, and is less than.

5. **Describe what it does**

    In **What it does**, write the **Instructions**: the steps the agent has to follow. In **What it can look up**, check the tables the task can read.

    If the agent has MCP connectors, choose the tools it can use in **MCP connectors**. Read-only tools can be chosen directly; tools marked **writes** need you to check **Allow this task to write through** that connector.

6. **Define the result**

    In **Actions**, choose the **Result format**:

    - **Like the columns of a table:** the result has the columns of the **Reference table**. Columns with a default value stay for your team (for example, a review status).
    - **Custom fields:** you define each field with **Add field** (name, type, and whether it is required).

    The AI can only deliver a result in that format; it is validated before any action.

7. **Add the actions**

    Add one or more actions (up to five). They run in order, without AI:

    - **Save to table:** in **Mode**, choose **Add one row per result** or **Update by key (or add if missing)** with its **Key columns**.
    - **Notify:** write the **Message**. You can insert result values with the field name in double braces, for example `{{score}}`. If you leave it empty, a summary of the result is sent (field: value). In **Recipients**, choose **Workspace admins** or **Chosen members**, and turn on **Also by email** to send it by email too.
    - **Webhook:** type the **URL (https)** of the system that receives the result.
    - **Review case:** write the **Reason**. It opens a case in **Review cases** with the results.

    Each action can have its own condition: it runs **Only for results that meet:** what you set.

    ![Actions step with the result format and the first action](/blume-assets/content/docs/screenshots/en/automated-tasks/03-wizard-actions.png)

8. **Adjust the limits**

    In **Limits**, check **Runs per day**, **Tool calls per run**, and **Results per run**. If a run goes over a limit, it stops and is marked as failed with the reason.

9. **Review and create**

    **Review** shows a plain-language summary; each line has **Edit**. Check **Turn the task on when saving** if you want it to start running, and click **Create task**. The assistant closes, unless the task uses a webhook: then it stays on **Review** so you can generate and copy its secret, which is shown only once.

    ![Task summary in the Review step](/blume-assets/content/docs/screenshots/en/automated-tasks/04-wizard-review.png)

10. **Test it without saving**

    Click **Edit** on the task card: the assistant opens on **Review**. In **Test before turning it on**, if the trigger is a table, type a row number in **Test row in** that table. Then click **Test**. You see the result and the **Actions it would run**, but none of them runs. The test uses credits because the AI does the work.

:::tip
To edit a task, click **Edit** on its card: the assistant opens on **Review** and you can jump straight to the step you want to change.
:::

## Next steps

**[See the runs](/en/automated-tasks/task-runs)**

Check what each run did and which actions failed.

**[Example: evaluate candidates](/en/automated-tasks/evaluate-candidates)**

A complete flow with two tasks.
