> 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/keyword.md).

# Keyword wise Automation

{% embed url="<https://www.youtube.com/watch?index=7&list=PL_EdxcvIGFEbUN0tqYUE84t-bc1QekV72&v=fEz0JiAKn5Q>" %}
&#x20;
{% endembed %}

## Use Cases of Keywords

Keywords are not case-sensitive. However, they are word-sensitive, meaning that your customer needs to put in the exact word to trigger the sequence. Here is an example of how you can do so.

Say, you are hosting a Black Friday Deal. You can tell your audiences to write "deals" in the comments or inbox to become eligible for the giveaway. You can then set a keyword rule to trigger a specific sequence e.g., Deals Sequence.&#x20;

## How to Create a Keyword Rule

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 KEYWORD from the drop-down menu under Action.
4. Add the keyword you want to use in the Value field and click on **Create**.

{% tabs %}
{% tab title="Input" %}
This is the keyword rule you have set.

![](/files/umxv7RmQvMig7hW0Covq)

And this is the sequence you want to trigger.

![](/files/yxsmuAtOJJ38rMJVvOF6)
{% endtab %}

{% tab title="Output" %}
![](/files/wl1k1P3xVxOwZaHND5ez)
{% endtab %}
{% endtabs %}


---

# 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/keyword.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.
