Skip to content
Docs menu

A data dashboard

A board of charts and totals for tickets, messages, contacts and campaigns, read-only.

.md
A screenshot of Rabt: A data dashboard
  1. Search and filter by status, channel and date
  2. A ticket row: contact, subject and channel
  3. The member the ticket is assigned to
  4. New ticket
A screenshot of Rabt with sample data

Goal

Charts and totals of tickets, messages, contacts and campaigns, refreshed by a page or an app. Read-only: nothing is sent or changed.

The prompt

Build me a dashboard: tickets of the last 30 days by channel and member (created, closed, open and median first-response time), and messages per day. Read from Rabt only, and try it with a test key.

What your agent does

  • get_ticket_metrics: created, closed and open at the end of the period, response and resolution times and reopenings, grouped by day, week, space, member, channel or tag.
  • count_tickets, count_tickets_by_tag and count_tickets_by_classification: live counters.
  • aggregate_messages, aggregate_contacts and aggregate_campaigns: totals of messages, contacts and campaigns.
  • For raw rows: export_data, then get_data_export, then read_data_export (a personal key or an app).

Recommendations

  • One call covers a maximum number of days: for a longer range, one call per month.
  • Counts and amounts add up across calls. Medians and percentiles (p50, p90) never add up and are never averaged: take them per period and chart them as they are.
  • Keep the answers in your app and refresh only the current period.

Pitfalls

  • Every answer stays within a size limit (next_cursor continues), and lists take limit. Only what the member may see is counted.
  • No SLA, business hours or satisfaction score exists in Rabt, so do not chart one.
  • A page or artifact has no address Rabt can call: it reads by polling on a refresh.

Recommendation: Build and check everything with a test key (rbk_test_…): sends are simulated, nothing is charged and nothing reaches a customer.

Limits: your dashboard is read-only and is built by you or your agent outside Rabt; there are no saved dashboards or scheduled reports inside it.