MazBotTeam Guide

MazBot — Team Performance & QA Guide

This guide explains how to measure agent response speed and score conversation quality in MazBot. Share it with client admins, team managers, and support staff.

1. What this feature does

QuestionWhere you see the answer
How fast do my agents reply?Team Performance dashboard + each agent's Activity page
Are conversations handled to our standards?QA Scores + greeting / forbidden words / sale KPIs

Two parts

PartWhat it measuresNeeds setup?
Response analyticsTime between customer message → agent replyNo — works from existing chat data
QA scoringGreeting, forbidden words, sale closedYes — enable and configure rules once

2. Who can use it

RoleAccess
Client owner (admin)Full access — performance, QA settings, scores, export
Staff with manage_team permissionSame as above
Other staffNo access to team performance pages (they can still reply in inbox)

If you do not see Team in the sidebar, ask your account owner to grant the manage team permission.

3. Where to find it

In the client panel sidebar, open Team:

Menu itemPurpose
Team MemberList staff, edit, view individual activity
Team Performance & KPIsCompare all agents — response time + QA rollups
QA SettingsConfigure greeting rules, forbidden words, sale detection

Additional pages: QA Scores (per-conversation list); View Activity per agent (detailed log + KPIs).

4. Quick start (5 minutes)

Step 1 — Open Team Performance

  1. Go to Team → Team Performance & KPIs
  2. Set Date from / Date to (default: last 30 days)
  3. Click Apply filters

You should immediately see response time columns for each agent (no extra setup).

Step 2 — Enable QA (optional but recommended)

  1. Go to Team → QA Settings
  2. Turn on Enable QA Scoring
  3. Review defaults: greeting phrases, forbidden words, sale closed tags (e.g. sale, بيع)
  4. Click Save

Step 3 — Run first scoring batch

  1. On QA Settings, click Score Recent Conversations
  2. Go to QA Scores to review results
  3. Return to Team Performance — QA columns populate after scoring

5. Response time KPIs

These metrics use human agent messages only (message_by = agent). Bot and AI replies are excluded.

KPIMeaning
Conversations handledChats where this agent sent at least one reply in the selected period
Avg response timeAverage time from each customer message to the agent's next reply
Median response timeMiddle value — less affected by one very slow reply
Avg first responseTime from the first customer message to the agent's first reply

Tips

  • Median is often more fair than average for coaching.
  • Use date filters for weekly/monthly reviews.
  • Compare agents on Team Performance, then drill into View Activity.

Current limitations

  • Counts all hours (not only business hours)
  • Counts replies from any assigned agent in the thread
  • Does not separate WhatsApp / Telegram / Messenger yet in the KPI view

Business-hours SLA and channel-specific reporting can be customized after you confirm requirements with MazBot support.

6. QA scoring — setup

Path: Team → QA Settings

Greeting phrases

Comma- or line-separated. The agent's first reply must contain at least one phrase.

مرحبا, أهلا, السلام, hello, hi, welcome

Forbidden words

Words agents must not use. If any appear in any agent message, the forbidden-words score is lost.

Sale closed tags

If the contact has a matching tag (case-insensitive), the conversation counts as sale closed.

sale, sold, closed, won, بيع, تم البيع, مبيع

Tag a contact: Inbox → contact sidebar → add tag after a successful sale.

Sale closed contact attribute (optional)

  1. Create an attribute in Contacts → Contact Attributes (e.g. Order Status)
  2. In QA Settings, set Sale Closed Contact Attribute
  3. Set Accepted Attribute Values (e.g. yes, نعم, تم, مباع)

Scoring weights

WeightDefaultWhen points are awarded
Greeting25First agent message includes a greeting phrase
Forbidden words25No forbidden words found
Sale closed50Sale tag or attribute detected

Maximum score = 100 (sum of earned weights).

7. QA scoring — how scores are calculated

  1. Loads all non-campaign messages for the contact
  2. Filters to messages sent by the assigned agent
  3. Checks greeting, forbidden words, and sale status
  4. Saves one row in QA Scores (updated if you score again)

Per-conversation result

FieldPassFail
Greeting✓ First reply contains phrase✗ Missing greeting
Forbidden words✓ None found✗ One or more found
Sale closed✓ Tag or attribute match✗ No match

Per-agent rollups

KPIFormula
QA avg scoreAverage of all scored conversations for that agent
Sale conversion rate% of scored conversations with sale closed
Greeting pass rate% with greeting passed
Forbidden violationsCount of conversations with forbidden words

8. Reading the dashboards

Team Performance & KPIs

One row per agent. Suggested review order: median response time → QA avg score → sale conversion rate → forbidden violations.

Individual agent — View Activity

Open from team list → View Activity. Shows activity log plus Response Time & QA KPIs for the filtered date range.

QA Scores

Table of every scored conversation: contact, agent, score / 100, greeting, forbidden count, sale closed, scored at. Filter by agent and date range.

9. Sale conversion tracking

MazBot does not automatically know a sale happened unless you mark it.

Recommended workflow

  1. Agree on tags, contact attribute, or future integration
  2. Train agents to mark deals when they close
  3. Run QA scoring (manual or nightly)
  4. Review Sale conversion rate on Team Performance
StepAction
1Customer buys product in chat
2Agent adds tag بيع to contact
3Scoring runs (manual or nightly)
4Conversation gets sale closed = yes (+50 points default)

10. Running scoring (manual & automatic)

Manual

Team → QA Settings or QA ScoresScore Recent Conversations

  • Scores up to 200 most recent conversations
  • Safe to run multiple times — existing scores are updated

Automatic (server)

Scheduled daily at 02:45 (requires cron + php artisan migrate on deploy):

php artisan qa:score-conversations

# One client only:
php artisan qa:score-conversations --client=123 --limit=200

Only clients with QA Scoring enabled are processed. Ensure cron runs php artisan schedule:run every minute.

11. Exporting reports

Team Performance → Export CSV includes per agent: conversations handled, avg/median/first response, QA avg score, sale %, greeting %, forbidden violations. Apply date filters before export.

12. Best practices for managers

Weekly routine

  1. Open Team Performance (last 7 days)
  2. Export CSV
  3. Review QA Scores for low scores or violations
  4. Coach agents using inbox examples
AreaRecommendation
GreetingAdd your exact welcome line to greeting phrases
ForbiddenReview marketing/legal banned terms monthly
SaleOne consistent tag name across the team
TargetsExample: median response < 5 min, greeting pass > 90%

13. FAQ & troubleshooting

Response times but empty QA columns

  • Enable QA Scoring in QA Settings
  • Click Score Recent Conversations
  • Ensure agents sent messages (message_by = agent)

QA score is 0 or very low

CauseFix
No greeting in first replyTrain agents or add more greeting phrases
Forbidden word detectedCheck QA Scores row for words found
Sale not markedAdd sale tag or contact attribute
Wrong agent attributedScoring uses assignee_id — reassign if needed

Does this use AI credits?

No. Current QA is rule-based (phrases, words, tags).

14. Settings to confirm with your team

TopicQuestion for your business
Sale definitionTag only? Attribute? Integration with orders?
Business hoursShould response time count only 9 AM–6 PM?
QA triggerScore when chat closed? After 24h idle? Daily only?
Arabic matchingWord variants needed (e.g. غالي / غاليه)?

15. ملخص عربي

الميزةالوصف
سرعة الردمتوسط ووسيط وقت رد كل موظف + أول رد
تقييم الجودةدرجة من 100: تحية، كلمات ممنوعة، إغلاق بيع

أين أجدها؟ القائمة الجانبية → فريق العمل (Team)أداء الفريق والمؤشرات / إعدادات الجودة

  1. افتح أداء الفريق لرؤية سرعة الرد
  2. فعّل تقييم الجودة من الإعدادات
  3. أضف الكلمات الممنوعة ووسوم البيع
  4. اضغط تقييم المحادثات الحديثة
  5. راجع درجات الجودة ونسبة إغلاق البيع