> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/5.1.x/customer-service/rule-management/add-rule-criteria.md).

# Add Rule Criteria

In each rule channel, you can manage tickets that will enter the user's dashboard by specifying rule criteria. To add criteria to the rules channel, click Criteria tab, then in the lower of rule click the **'+Add New Criteria'** button. For example, In the add new criteria pop-up, select the ‘message‘ for rule set and type the contains message **‘registration‘** then, click the **+Add New Criteria** button.

![Add New Criteria](/files/-MQkBUOnTRRLyG4JxCMp)

Then the criteria will appear in the rule definition box, if you’re done click the 'save' button. To close pop-up or cancel add new criteria, click the 'close' button

![Rule Definition](/files/-MQqFg9eHWCuTwssq8DM)

If the rule criteria is successfully added, the rule criteria will appear in **available criteria** like the image below

![Available Criteria](/files/-MQkE3RaARqwZYqPxKR2)

Do the same in the ‘Try Dolphins LiveChat Product’ rule by adding the **‘activation’** rule message

From the picture above, it can be concluded that if a customer send a message to the live chat platform that contains the word **'registration'**, the ticket will be distributed to the team members contained in the **' Try LiveChat Product'** rule as shown in the images below

![Registration Message](/files/-MQkf1icY_bwtCgITDGe)

But if the customer send a message to the live chat platform that contains the word **'activation'**, tickets will be distributed to the team members contained in the live chat channel **'Try 3Dolphins LiveChat Product‘** rule as shown images below

![Activation Message](/files/-MQkftQf9duiqFwkIw6e)


---

# 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.3dolphins.ai/5.1.x/customer-service/rule-management/add-rule-criteria.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.
