# Add Blocks to Your Chatbot

## What is a Block?

Think of blocks as the bricks to build an **automation sequence**. You can add and arrange these blocks one after another to—

* Create complex automation sequences.&#x20;
* Predetermine how a chatbot is going to react.
* Trigger specific messages as per customer queries and intent.

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/NTF8bSKD7NcFYHtnJD3Q/image.png)

## Different Block Categories

We can divide the blocks into three categories based on their functionalities and major use cases.

{% tabs %}
{% tab title="Add and Send Content" %}

1. Delay&#x20;
2. Text&#x20;
3. Image/ GIF&#x20;
4. Video&#x20;
5. Audio&#x20;
6. Buttons&#x20;
7. Quick Reply&#x20;
8. Gallery
   {% endtab %}

{% tab title="Collect User Information" %}

1. User Input
2. Phone
3. Email
4. Story
5. CSAT
6. Datalab Entry
   {% endtab %}

{% tab title="Action" %}

1. Redirect
2. Set Attribute
3. Subscribe
4. Unsubscribe
5. Send Email
6. Ticket
7. Live Chat
   {% endtab %}
   {% endtabs %}

## Become a Master Chatbot Builder 🧱

Each block is unique and has multidimensional use cases. When arranged properly, they can create beautiful and complex automation sequences. Learn about each category in detail and how to use them like a pro 👇

{% content-ref url="chatbot-blocks/add-and-send-content-blocks" %}
[add-and-send-content-blocks](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/chatbot-blocks/add-and-send-content-blocks)
{% endcontent-ref %}

{% content-ref url="chatbot-blocks/collect-user-information-blocks" %}
[collect-user-information-blocks](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/chatbot-blocks/collect-user-information-blocks)
{% endcontent-ref %}

{% content-ref url="chatbot-blocks/action-blocks" %}
[action-blocks](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/chatbot-blocks/action-blocks)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/chatbot-blocks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
