# Explore the Automation Tab

{% embed url="<https://www.youtube.com/watch?list=PL_EdxcvIGFEbUN0tqYUE84t-bc1QekV72&v=Hn_fdQ5osGs>" %}

From the left panel, go to the Automation tab. This is what an empty tab looks like.

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/IWMIVIYhUDaoEKUxHwi6/automation-tab.png)

On the left top, you can switch between your channels. For now, let's stick with Messenger to understand what's going on.

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/Gcd4Na7E19YppuOWZXgf/switch-channels.png)

## Rules

You will see this message in the top-middle of the Automation tab.&#x20;

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

Rules are the starting point of any Automation. If the user "triggers" the rule, the connected sequence start.

{% content-ref url="create-rules-to-trigger-a-sequence" %}
[create-rules-to-trigger-a-sequence](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence)
{% endcontent-ref %}

Some rules work for NLP only. Although rules are optional, you can refer to the following page if you want to train your chatbots to process, analyze and understand large amounts of natural language data.&#x20;

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

## Blocks

On the right, click on More to view all the available blocks for a channel. Head over this page if you want to learn about each block in detail and how to use them.&#x20;

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

## Built-in Sequences

Each channel has some built-in basic sequences. Welcome Message and Default Sequence are the most common ones.

{% embed url="<https://www.youtube.com/watch?t=97s&v=XxxtCWqRSpc>" %}

### 1. Welcome Sequence

Welcome Message is the first message the customer receives when they start a conversation with your page. Say, you used a text block as your sample welcome message.&#x20;

![](https://content.gitbook.com/content/ZlunlE4rHhMzJq9M0MQx/blobs/RopVTotHz2Bxy35OrqJu/welcome-message.png)

So anytime your page has a new visitor, they will receive this welcome message.

{% hint style="info" %}
Returning visitors or past customers whom you had a conversation with will not receive the welcome message.
{% endhint %}

### 2. Default Sequence

When the chatbot fails to understand a customer, the customer is redirected to the Default Sequence. By default, you'll always find a Ticket Block in the sequence.&#x20;

You can learn more about Ticket Block in our [Action Blocks ](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/chatbot-blocks/action-blocks)Guide, but for now, know that ticket blocks transfer the conversation from a chatbot to a human agent.&#x20;

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

In the ticket block, you can set the priority of the ticket and assign which agent/group receives a ticket by default.

You can also choose what happens after the agent [resolves](https://docs.myalice.ai/myalice-guide-arabic/myalice-inbox/manage-tickets/resolve-a-ticket) the ticket by adding a sequence. For example, we redirect our users to a CSAT sequence or a customer satisfaction sequence every time a ticket is resolved.&#x20;

{% hint style="danger" %}
Unmark the **Turn on bot?** option on the top of the Ticket Block. If you keep it on, the bot may trigger a sequence based on the customer response while a human .
{% endhint %}

### 3. Hide/Remove Sequence

If you choose Facebook Feed under Builder, you will find two extra sequences — Hide and Remove.&#x20;

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

These blocks are for Facebook Feed only. If you add [Rules](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/broken-reference) to them, these blocks can help you identify negative comments, and hide/remove them.

{% hint style="info" %}
You cannot modify Hide/Remove blocks. You can only add NLP rules.&#x20;
{% endhint %}

### Watch how it's Done

{% embed url="<https://www.youtube.com/watch?index=12&list=PL_EdxcvIGFEagxlG7c7rMCg62UA9pPdMk&v=Rcw9M34cvY8>" %}


---

# 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/create-automation-sequences.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.
