# Custom Intents

<figure><img src="/files/G037M4ZlB7KMVHDifbtA" alt="" width="465"><figcaption></figcaption></figure>

**Steps to Create a Custom Intent:**

1. **Click 'Add and Intent'**

<figure><img src="/files/WChTSl6G0RswmdThrGMe" alt="" width="407"><figcaption></figcaption></figure>

2. **Specify the Intent**: In the "Specify the Intent" field, enter the type of question or topic you want the AI to recognize. For example, you might add “Interested in signing up” if you want the AI to respond to questions about memberships. See examples below.
3. **Instructions to Bot**: In this field, type the information you’d like the AI Agent to give whenever it detects the specified intent. For example, “You can sign up for a membership by visiting our front desk or through our website’s sign-up page!”
4. **Save**: Click “Save” to apply your custom intent. Your AI Agent will now recognize this specific question or phrase and respond with the information you’ve provided.

Custom Intent examples to help you in your preparation process:

<figure><img src="/files/5bwKcE7OsF5DPJYgdBr5" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9pPqSzIDARysMpB2yX4l" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/0z2Y6b0iu7BjRDzQx0v0" alt=""><figcaption></figcaption></figure>


---

# 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://help.gleantap.com/ai-chatbot/custom-intents.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.
