> For the complete documentation index, see [llms.txt](https://docs.myalice.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-intents-to-sequences.md).

# Connect Intents to Sequences

## Use Cases of Intent

Unlike keywords, intents are not case-sensitive, meaning that your bot will try to identify human sentiment based on its NLP training. Here is an example.

Say, you have an online service business and most of your customers knock on your channels and say something like this.

* Hello. Anyone there?
* Can anyone help me?
* I need help.
* Is anyone available?
* I have a question.

So, you created an intent called <mark style="background-color:green;">ask\_for\_support</mark>. You can then connect this intent to a sequence that will trigger the following message.

*<mark style="background-color:yellow;">Hello! Welcome to {company\_name}. Please write down your query in detail. Meanwhile, a support agent from our team will join the conversation and assist you.</mark>*

## How to Set an Intent Rule

{% hint style="info" %}
Before you start this tutorial, make sure that you have your NLP app connected to MyAlice. If not, please refer to the [NLP connection page](/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-wit-nlp.md) to get started.
{% endhint %}

Go to the Automation tab. On top of every sequence, you will find Rules.

![](/files/PEVjgilxEUdVmAhlxVKG)

1. After clicking on **click here**, a window will appear from the right.
2. Click on **New Rule**.
3. Select INTENT from the drop-down menu under Action.
4. Select the intent you'd like to use to trigger the sequence and click on **Save**.

![](/files/2SVqo4uSJtLrsMbcakH0)

In this example, we set an intent for GREETINGS\_EN. So, if anyone says hi (or something similar) to our bot, it will trigger the following sequence.

*<mark style="background-color:yellow;">Hello! How can we help you?</mark>*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.myalice.ai/myalice-guide-arabic/chatbot-and-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-intents-to-sequences.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
