π Chat Access Control & Auto Allocation Setup Guide
Chakra gives you fine-grained control over how chats are accessed and automatically distributed to your team. This guide will walk you through the default access control rules and show you how to set up auto allocation to streamline your team's workflow.
π₯ Default Chat Access Rulesβ
By default, chat visibility is governed by user roles:
- Admins π β Can access all chats
- Managers π β Can access all chats
- Users π β Can access only the chats assigned to them
You can manually assign chats in the chat dashboard by selecting a user from the Assignee dropdown at the top of the chat panel.
But for larger teams, manual assignment can get tedious β thatβs where auto allocation comes in handy! Letβs dive into how to set it up.
π Most settings can be accessed from the Chat Settings page
π Step 1: Create Chat Inboxesβ
Chat Inboxes act like folders or tags to categorize incoming chats β perfect for segmenting by department (e.g., Sales and Support).
β To create inboxes:β
- Navigate to:
Admin > Chat Settings > Chat Inbox List > Add - Create inboxes like
Sales
andSupport
to match your team structure
π€ Step 2: Add an Allocator for Each Inboxβ
Once youβve created your inboxes, the next step is to set up an allocator β this controls how chats are automatically assigned to team members.
β To add an allocator:β
- Go to the specific inbox page
- Click Add Allocator
- Configure the following:
-
User Roles (required) π₯
Select which roles (e.g., users, managers) will receive chats from this inbox. -
Allocation Strategy (required) π―
ChooseRound Robin
for fair distribution β chats will be assigned one-by-one in rotation. -
Chat Filters (optional) π§
Set conditions to restrict which chats this allocator handles (e.g., based on language, region, etc.)
π‘ You can add multiple allocators per inbox, but usually one is enough for most setups.
ποΈ Step 3: Map Incoming Chats to Inboxesβ
Define rules for how incoming chats should be routed to your chat inboxes.
π To set up inbox mapping:β
- Go to:
Admin > Chat Settings > Inbox Mapping - Click the β button and choose Rule
- Set the conditions for the rule:
- Select a Chat Inbox
- Define conditions using LHS/RHS logic
π§ͺ Example: Route by WhatsApp Numberβ
If you use different WhatsApp numbers for Sales and Support:
- For Sales:
- Condition 1:
provider = WhatsApp
- Condition 2:
providerHandle = 919900112233
(Include country code, no plus sign or special characters)
- Condition 1:
- Click Save to confirm the rule
- Click Save again to finalize the entire configuration
β Testing Your Setupβ
Once you've configured your inbox rules and allocators:
- Go to the Chat Dashboard
- New chats should show the correct inbox tag
- If allocation is set up correctly, the chat should be auto-assigned to a team member