How to build Kustomer support dashboards in Metabase
Kustomer is a CRM-style support platform that unifies customer conversations from email, chat, social, and voice onto a single timeline. Metabase is where you turn that activity into shared, trustworthy dashboards. This guide covers two complementary paths: a lightweight MCP + CLI routethat pulls live data with the Kustomer MCP server and loads a CSV into Metabase with the Metabase CLI for quick analysis, and a durable pipeline route that syncs Kustomer into a database so you can build dashboards anyone can read.
How do you connect Kustomer to Metabase?
Most teams combine both routes: use the Kustomer MCP server and Metabase CLI route to pull live data and stand up a quick analysis, and the pipeline route for the dashboards people depend on.
Live data in, quick analysis out
Pair Kustomer's official, read-only MCP server (to read live conversations, customers, and timelines) with the Metabase CLI, whose upload command loads a CSV into Metabase as a ready-to-query table and model.
- Customer-360 questions across channels and timelines
- Loading a Kustomer CSV export into Metabase in seconds
- Spot-checks and one-off analyses without a warehouse
- Great for exploration, not governed reporting
- Kustomer's MCP server is read-only and on Enterprise/Ultimate plans
- CSV uploads are snapshots — refresh or move to the pipeline for history
Durable dashboards with history
Sync Kustomer into a database or warehouse with dlt or the REST API, then point Metabase at it.
- Omnichannel volume, response-time, and CSAT dashboards
- Trends over quarters and year-over-year comparisons
- Joining support data with order or product data
- No first-party managed connector — plan on API or dlt-based sync
- You own the data model and refresh schedule
- Model the timeline carefully — Kustomer is event-driven
What can you analyze from Kustomer data in Metabase?
- Conversation volume — created vs. done by day and channel
- Time to first response — across all channels
- Queue health — where work waits and backlog by queue
- Backlog and aging — open work and how long it's been waiting
- CSAT — satisfaction by channel and over time
- Repeat contacts — customers writing in repeatedly
- Agent and team load — workload distribution and handle time
Which Kustomer dashboards should you build in Metabase?
Support overview
The daily pulse across channels.
- Conversations created vs. done per day (dual line)
- Median time to first response (number + trend)
- Open backlog by status (bar)
- Volume by channel (email, chat, social, voice) (bar)
Queues & response time
Where work waits and how fast it moves.
- First response time p50/p90 by week (line)
- Open conversations by queue (bar)
- Aging open conversations by days-open bucket (table)
- Reopened conversations by week (line)
CSAT & quality
Track satisfaction across the journey.
- CSAT % by week (line)
- Satisfaction by channel (bar)
- Volume by conversation tag (bar)
- Repeat-contact customers (table)
Agent & team performance
Balance workload across teams and queues.
- Done conversations by agent (bar)
- Median handle time by team (bar)
- Open assigned conversations by agent (table)
- Volume by queue (bar)
How do you use the Kustomer MCP server with the Metabase CLI?
Pair the Kustomer MCP server with the Metabase CLI for fast, hands-on analysis. Kustomer offers an official, read-only MCP server that reads live conversations, customers, and timelines; the Metabase CLI's upload command loads a CSV into Metabase and creates a ready-to-query table and model.
Example workflow
- Ask the Kustomer MCP for a customer's full timeline across channels, or open conversations by queue.
- Export the conversations or messages you want to keep as a CSV.
- Run
mb upload csvto load it into Metabase as a table and model, then build questions and dashboards on top.
Be honest about the limits
- The Kustomer MCP is great for live lookups — not for scheduled or audited reporting.
- Kustomer's MCP server is read-only and limited to Enterprise/Ultimate plans.
- A CSV upload is a point-in-time snapshot; refresh it with
mb upload replaceor move to the pipeline for real history. mb upload csvneeds an uploads database configured under Admin → Settings → Uploads.
How do you set up the Kustomer MCP server and the Metabase CLI?
Kustomer MCPofficial
- Package
@kustomer/mcp-server(npm)- Transport
- stdio (local) / Streamable HTTP
- Auth
- Bearer API key (Settings → Security → API Keys)
- Note
- Read-only; available on Enterprise and Ultimate plans.
Metabase CLIofficial
- Install
npm install -g @metabase/cli- Auth
mb auth login(browser OAuth on v62+, or an API key)- Load data
mb upload csv --file data.csv- Requires
- An uploads database (Admin → Settings → Uploads)
{
"mcpServers": {
"kustomer": {
"command": "npx",
"args": ["-y", "@kustomer/mcp-server"],
"env": {
"KUSTOMER_API_KEY": "your-bearer-token"
}
}
}
}# Install the Metabase CLI
npm install -g @metabase/cli
# Log in (opens your browser; requires Metabase v62+)
mb auth login --url https://your-metabase.example.com
# Load a Kustomer CSV export — creates a table AND a model
mb upload csv --file kustomer-conversations.csv --collection root
# Refresh that same table later from a new export
mb upload replace <table-id> --file kustomer-conversations.csvGenerate a Bearer API key in Kustomer under Settings → Security → API Keys, scoped to the access you want the assistant to have. The Metabase CLI stores its credentials securely after mb auth login.
Can you generate a Kustomer dashboard with AI?
Yes. Use the prompt below with any assistant that can run the Kustomer MCP server and the Metabase CLI. It works end to end: if Kustomer tables already exist in Metabase it analyzes those; otherwise it pulls the data over the Kustomer MCP, loads it with mb upload csv, then builds the dashboard — computing response times from messages and skipping cards it has no data for.
Create a polished Metabase dashboard for Kustomer support analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.
Goal: Help support leaders understand omnichannel volume, responsiveness, CSAT,
queue health, and agent workload from Kustomer data.
Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for Kustomer tables and
models). If durable Kustomer data is already present — synced from a warehouse
or uploaded earlier — use it and skip to Step 2.
- If nothing is there, pull it with the read-only Kustomer MCP server:
conversations, messages, customers, users (agents), queues, and satisfaction /
custom objects (Klasses). Write each result to a CSV, then load it with the
Metabase CLI — run "mb upload csv --file <export>.csv" so each upload creates a
table and a ready-to-query model. Use "mb upload replace <table-id> --file
<export>.csv" to refresh an existing table instead of creating duplicates.
Step 2 — Inspect before querying:
Do not assume exact table names. Map the available raw tables into these
analytical concepts where possible: Conversations, Messages, Customers,
Companies, Users (agents), Teams, Queues, and Satisfaction / custom objects
(Klasses) if present. Inspect the actual tables and column names first.
Important:
- Build on whatever data is present; don't claim Metabase connects natively to
Kustomer — it reads a database or CLI-uploaded tables.
- Use medians (p50) and p90 for response times, never averages.
- Define "first response" as the first outbound agent message, excluding internal
notes and automated messages.
- Kustomer is timeline/event-driven; if message-level history is missing, do not
calculate response time. Use a caveat instead.
- Only build a card if its underlying column/metric exists in the data.
- A single CSV is a point-in-time snapshot: only build trend cards if there is a
usable date column or multiple periods have been uploaded.
Dashboard title: Kustomer Support Overview
Sections:
1. Executive summary (KPI cards): Conversations created last 7 days; Done last 7
days; Open backlog; Median time to first response; CSAT % (only if satisfaction
data exists); Volume by channel.
2. Volume & backlog: Created vs done by day; Open by status; Backlog aging;
Volume by channel.
3. Queues & response time: First response p50/p90 by week; Open by queue; Reopened
by week (only if history exists).
4. CSAT & quality: CSAT by week; Satisfaction by channel; Volume by tag; Repeat
contacts.
5. Agent & team: Done by agent; Median handle time by team; Open assigned by agent;
Volume by queue.
Filters: Channel, Queue, Team, Agent, Tag, Status, Date range.
Reuse the models Metabase auto-created from uploaded CSVs, or (for a warehouse)
create reusable models: modeled_kustomer_conversations, modeled_kustomer_messages,
modeled_kustomer_customers, modeled_kustomer_users, and modeled_kustomer_queues.
Output: Build the dashboard if you have permission; otherwise provide the exact
questions, SQL, model definitions, and layout. Include caveats for any metric
that cannot be calculated from the available data. Keep it practical, dense,
and executive-readable. Avoid vanity metrics.How do you build the Kustomer → Metabase pipeline?
For dashboards that need history and reliability, land Kustomer data in a database first, then connect Metabase to that database.
Connector options
- dlt (free, code) — write a Python pipeline against the Kustomer REST API; the most reliable route since there's no first-party managed connector.
- Kustomer REST API (free, raw) — the source of truth; paginate conversations, messages, customers, and use search exports for bulk history.
- Managed ETL (paid, verify) — check whether your ETL vendor offers a Kustomer connector; availability varies, so confirm before relying on it.
Notes
- Land raw tables first, then build clean models on top.
- Kustomer is event/timeline-driven — sync messages (not just conversations) to compute response times.
- Custom objects (Klasses) may hold satisfaction or business data; map them explicitly.
How should you model Kustomer data in Metabase?
Core tables
| Table | Grain | Key columns |
|---|---|---|
conversations | one row per conversation | id, status, channel, queue_id, assigned_user_id, customer_id, created_at, done_at |
messages | one row per message | conversation_id, direction (in/out), is_note, created_at |
customers | one row per customer | id, email, company_id |
users | one row per agent | id, name, team_id |
queues | one row per queue | id, name |
Modeling advice
- Define first response from the first outbound, non-note message in a conversation.
- Normalize
status(open/snoozed/done) and channel so charts stay stable. - Roll the timeline up to a conversation grain for most dashboards; keep messages for response-time math.
- Treat tags as a bridge table so a conversation can carry many tags.
- Define "done" once and reuse it everywhere.
Which Kustomer metrics should you track in Metabase?
| Metric | Definition | Notes |
|---|---|---|
| Time to first response | Created → first outbound message. | Report median and p90; compute from messages. |
| Conversation volume | Created vs. done in a period. | Segment by channel and queue. |
| Backlog | Open conversations right now. | Pair with aging and queue breakdowns. |
| CSAT | Positive ratings ÷ rated conversations. | Often stored as a custom object (Klass). |
| Queue load | Open conversations per queue. | Spot routing imbalances. |
| Repeat-contact rate | Customers with multiple conversations. | A signal of unresolved root causes. |
What SQL powers Kustomer dashboards in Metabase?
These assume the modeled tables above (PostgreSQL dialect). Adjust identifiers to match your warehouse.
The basic volume trend over the last 30 days.
SELECT
date_trunc('day', c.created_at) AS day,
COUNT(*) AS created,
COUNT(*) FILTER (WHERE c.status = 'done') AS done
FROM conversations c
WHERE c.created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY 1
ORDER BY 1;Median from the first outbound message per conversation.
WITH first_outbound AS (
SELECT
m.conversation_id,
MIN(m.created_at) AS first_reply_at
FROM messages m
WHERE m.direction = 'out'
AND m.is_note = false
GROUP BY m.conversation_id
)
SELECT
date_trunc('week', c.created_at) AS week,
percentile_cont(0.5) WITHIN GROUP (
ORDER BY EXTRACT(EPOCH FROM (f.first_reply_at - c.created_at)) / 60.0
) AS median_first_reply_min
FROM conversations c
JOIN first_outbound f ON f.conversation_id = c.id
GROUP BY 1
ORDER BY 1;Where open conversations are piling up right now.
SELECT
q.name AS queue,
COUNT(*) AS open_conversations
FROM conversations c
JOIN queues q ON q.id = c.queue_id
WHERE c.status <> 'done'
GROUP BY q.name
ORDER BY open_conversations DESC;Omnichannel mix over the last 30 days.
SELECT
c.channel,
COUNT(*) AS conversations
FROM conversations c
WHERE c.created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY c.channel
ORDER BY conversations DESC;