# 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](/chatbot-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: 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/chatbot-automation/create-rules-to-trigger-a-sequence/user-intent-by-nlp-wise-automation/connect-intents-to-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.
