Automatic Tasks

How many steps can a task have?

Botize has a limitation of only 10 steps in each task to avoid bad practices in automation design, such as excessive complexity. This limitation is made to force dividing a complex problem into simpler automations. In this way, the maintenance of an automation is simpler, there is less tolerance for errors and it is also easier to determine anomalies if they occur.

However, this limitation does not prevent creating large tasks with many steps. You can, from within a task, call others and thus end up creating larger automations. Instead of creating a task with 100 steps, you can create 10 tasks of 10 steps each, which makes it easier to understand and debug the process. This helps keep the automation clean and organized, making maintenance and problem resolution easier.

More information: Simplifying and reusing tasks.

Can I create tasks where different steps are executed depending on different circumstances?

Yes, through rules. In each step of a task, you can define rules to be executed or not depending on certain circumstances.

Here you will find several examples explained step by step: RULES: What to do and when.

What is Mustache and how to use it in Botize?

Botize supports the use of Mustache templates in texts, allowing you to create dynamic content based on the tags from previous steps in a task.

What can you do with Mustache?
Reference tags from previous steps:
You can insert the value of a tag by simply writing its name inside curly braces. For example:

{{image_url}}
Will display the value stored in the image_url tag.

Control conditional logic:
Mustache allows you to use conditional blocks to display text or other values depending on whether a tag exists or has a value. For example:

{{#image_url}}See image: {{.}}{{/image_url}}

This block will print "See image: " along with its corresponding URL only if the image_url tag has a value.

{{^image_url}}No image available.{{/image_url}}

This block will print "No image available." if the image_url tag does not exist or is empty.

Advanced conditional content creation:
By combining tags and blocks, you can generate more complex text tailored to the circumstances of each task.

What happens when I delete a task in Botize? Can I recover a deleted automation?

When you delete a task in Botize, it is permanently removed. While it is not possible to recover deleted tasks, you can always back up all your automations at any time from your user area.

← Back to help center