> 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/integration/channel-connector/line/create-new-rule.md).

# Create New Rule

This section describes how to run the Line channel and how the customer message can be received as an incoming ticket to the **Inbox** tab Agent by doing the following steps:

To create a new rule channel, go to the **Customer Service** menu and click the **Rule Management** menu. Then you will see the Rule Management page, on the top right section click the **'+New Rule'** button, as shown below.

![Create New Rule](/files/x8CFi9i6DrzVZYeIAMN3)

You will see a pop-up to add a new rule channel. Select the channel by clicking the **'Add Channel'** icon (![](/files/-MWc9Mqbfuv2ov6B7-Ga)), and then you will be asked to enter the rule name and max assignment ticket on the channel. Then, click **'Save'**.

![Add New Rule](/files/5ZpJUMYTDwN0ZL4P8Fb5)

**Component Explanation:**

| Name           | Description                                          |
| -------------- | ---------------------------------------------------- |
| Rule Name      | Your channel name rule to create.                    |
| Max Assignment | The amount tickets are assigned to the channel rule. |

When Line channel rule has been added successfully, you will see the rule in the list of rule management as shown image below.

![Line Rule Added](/files/mKvh7hWhFoVTi2XRxL9B)

Add team members to the rule by clicking the **'Add'** icon after the rule channel is successfully created to receive an incoming message from Line account.&#x20;

![Add Team Member](/files/QxClZnOQHoJ1Xi3j8vDV)

When team members are successfully added, it will appear on **available teams.** You can configure priority and max assignment tickets handled by an agent.

{% hint style="info" %}
Remember to select the **'Rule Out Of Sync'** button to activate your latest Line channel rule updates.
{% endhint %}

![Team Member Added](/files/roQxW8q6gBINHqG0o1BZ)

**Component Explanation:**&#x20;

| Name           | Description                                              |
| -------------- | -------------------------------------------------------- |
| Priority       | To decide who will get chats first in a channel.         |
| Max Assignment | The amount tickets are assigned or handled by the users. |


---

# 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/integration/channel-connector/line/create-new-rule.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.
