---
title: "Create an automated task"
description: Build a task in five steps, let AI write the instructions and test it from the list.
---

The assistant guides you through five steps: **Basics**, **When it runs**, **What it does**, **Result**, and **Review**. If a field has an error, the message appears under that field and the step does not move on until you fix it.

:::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 side menu, open **Automated tasks** and click **New task**. If there are no tasks yet, click **Create the first task**. On a phone, use the **+** button at the bottom right.

2. **Fill in the basics**

    In **Basics**, first choose the **Agent**: the task uses its tables and connectors. To evaluate candidates, in **Start from a template (optional)** choose **Evaluate candidate**: it fills the next steps with an example you can change afterwards.

    Type the **Task name** and, if you want, a **Description (optional)** so the team knows what it does.

3. **Choose when it runs**

    In **When it runs**, answer **When should it run?**:

    - **Every so often:** set **Every how many hours** (at least 1) and the **Time zone**. If you want, tick **Only within a time window** with the days and hours.
    - **When something happens:** in **What has to happen?** choose:
      - **A message arrives:** someone writes to the agent on one of its channels. It runs alongside the reply, without delaying it.
      - **A record is completed:** choose the table in **Which table?**. It runs only once per record.
      - **A record changes:** choose the table and, if you want, the columns that matter in **When any of these columns changes**. Rows written by tasks themselves do not trigger it.
      - **Another system triggers it:** a form or an external tool calls it through a webhook. See [Task webhooks](/en/automated-tasks/task-webhooks).

    In **Conditions (optional)**, click **Add condition** and choose **Field**, **Condition** and **Value**. Conditions are checked without AI and use no credits. The operators are: equals, does not equal, contains, is empty, is not empty, is greater than and is less than.

    At the bottom, **This is how it will work** sums the task up in one sentence. For scheduled tasks it also shows the next run.

    ![When it runs step with a completed record and the summary](/blume-assets/content/docs/screenshots/en/automated-tasks/02-wizard-trigger.png)

4. **Describe what it does**

    In **What it does**, write the **Instructions**: the step-by-step the agent has to follow with each record. **Insert data** adds the name of a column of the table where the cursor is.

    If you would rather let AI write it, click **Help me write it**:

    - With empty instructions, it drafts a proposal from what you set in the previous steps.
    - If you already wrote something, it suggests a clearer version that keeps what you asked for.

    The proposal appears under **Suggested instructions**. Click **Use this text** to replace the instructions, or **Discard** to keep them as they were. The AI only receives the names of the tables and columns, never the data in the rows. Each request uses the organization's credits.

    In **What information can it look up?**, tick the tables the agent can read. The table that triggers the task can always be read.

    If the agent has MCP connectors, choose in **Connectors (optional)** the tools it can use. Tools marked **writes** need you to tick **Allow this task to write through** that connector.

5. **Define the result**

    In **Result**, answer **What data does the agent return?**:

    - **The columns of a table:** choose the **Table**. Below it you see which columns it will fill in. Columns with a default value are left for your team, for example a review status.
    - **Custom data:** 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.

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

6. **Add the actions**

    In **What does it do with the result?**, click **Add action** (up to five). They run in order, without AI, and a failed one is retried automatically:

    - **Save to a table:** uses the table you chose above. In **How to save**, choose **Add a new row for each result** or **Update the row with the same key (or add it if missing)** with its **Key columns**.
    - **Notify the team:** write the **Message**. You can insert result values with the field name between double braces, for example `{{score}}`. If you leave it empty, a summary of the result is sent. In **Recipients**, choose **Workspace admins** or **Chosen members**, and turn on **Also by email** to get it by email too.
    - **Open a review case:** write the **Reason**. It opens a case in **Review cases** with the results.
    - **Send to another system:** type the **URL (https)** of the system that receives the result.

    Each action can have its own condition: with **Add condition** it runs only for the results that meet it.

7. **Adjust the usage limits**

    In **Usage limits**, check **Runs per day**, **Tools per run** and **Results per run**. If a run exceeds a limit, it is stopped and marked as failed with the reason. Runs use the organization's credits.

8. **Review and create**

    **Review** sums the task up in six lines; each one has **Edit** to go back to its step. **Turn the task on when creating it** is on: if you leave it on, the task starts working as soon as you create it. Click **Create task**.

    The assistant closes and the task appears in the list. If the task uses a webhook, the assistant stays on **Review** so you can generate and copy its secret, which is shown only once.

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

9. **Test it without saving anything**

    To test it before it works on its own, turn off **Turn the task on when creating it** before creating it. Then open the **⋮** menu on its card and choose **Test**. If a table triggers the task, type a row number in **Test row in** that table and click **Test**. You see the result and the **Actions it would run**, but none of them runs. The test uses credits because the AI works.

:::tip
To edit a task, click its card: the assistant opens on **Review** and you can jump straight to the step you want to change. The card's **⋮** menu also has **Duplicate**, which creates a copy that is off with the same configuration, and **Delete**.
:::

## 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.
