---
# System prepended metadata

title: Rake Live Chat. Different configuration on web-site

---

# Rake Live Chat. Different configuration on web-site
## Description
Larger organizations with structured departments (e.g. Sale vs. Support) will want to route conversations directly to the employees (system users) reporting to those departments.  E.g. Sales oriented persons will be assigned to a #sales channel, while support oriented people will be assigned to #support channel.

In Rake, the session routing rules can be defined, for example, if a visitor using Rake Live Chat platform starts a conversation from the xyzcompany.com/help page, our rule might route sessions from there to the #support channel. Whereas, if the conversation started from xyzcompany.com/pricing we would want that to route to #sales.

Furthermore, with platforms like Facebook Messenger, a Facebook PageId might define the routing rules and channel.  Or, with SMS, we could define rules for routing based on a specific phone number sent, or the sender's area code. 

## Collection RakeLiveChat_Bots. Configuration Rules object
```
{
    configurationRules: [
          {
            pageTitles: [ 'index', 'general' ],
            rakeLiveChatConfigurationId: 1,
            widgetTitle: '?'
          },
          {
            pageTitles: [ 'support' ],
            rakeLiveChatConfigurationId: 12,
            widgetTitle: '?'
          }
        ]
}
```

Example RakeLiveChatBot collection
```
{
  "_id" :"5d931c4bb5d8830007a49c50",
  "rakeLiveChatBotId" : 159,
  "domains" : [
    "hook.io",
    "localhost:3500",
    "be156bf0.ngrok.io"
  ],
  "name" : "site",
  "hash" : "wwc_373284_1569922123438",
  "botId" : 82,
  "rakeLiveChatConfigId" : 263,
  "isEnabled" : true,
  configurationRules": [
      {
        "pageTitles": [
          "index",
          "general"
        ],
        "channel => remove it": 3535,
        "rakeLiveChatConfigurationId": 1,
        "widgetTitle": "?"
      },
      {
        "pageTitles": [
          "support"
        ],
        "channel => remove it": 3530,
        "rakeLiveChatConfigurationId": 12,
        "widgetTitle": "?"
      }
    ],
  "proactiveMessage": []
},
```

## UI example

But without channel column

![](https://i.imgur.com/vqDJfue.png)

