How to build Freshdesk support dashboards in Metabase
Freshdesk is where your team handles customer tickets across email, portal, chat, and phone. Metabase is where you turn that activity into shared, trustworthy dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with a Freshdesk MCP server and loads a CSV into Metabase with the Metabase CLI for quick analysis, and a durable pipeline route that syncs Freshdesk into a database so you can build dashboards anyone can read.
How do you connect Freshdesk to Metabase?
Most teams combine both routes: use a Freshdesk MCP server and the 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 a Freshdesk MCP server (Freshworks' is in early access; community servers wrap the REST API) with the Metabase CLI, whose upload command loads a CSV into Metabase as a ready-to-query table and model.
- Quick lookups like "which tickets are overdue on SLA?"
- Loading a Freshdesk CSV export into Metabase in seconds
- Spot-checks and one-off analyses without a warehouse
- Great for exploration, not governed reporting
- Scope the Freshdesk API key so analysis can't change tickets
- CSV uploads are snapshots — refresh or move to the pipeline for history
Durable dashboards with history
Sync Freshdesk into a database or warehouse with Airbyte, Fivetran, or the REST API, then point Metabase at it.
- SLA, CSAT, and volume dashboards the whole team relies on
- Trends over quarters and year-over-year comparisons
- Joining support data with product or billing data
- Requires a destination database and a sync to maintain
- You own the data model and refresh schedule
- Capture ticket activities for accurate time-in-status
What can you analyze from Freshdesk data in Metabase?
- Ticket volume — created vs. resolved by day, source, and group
- First response time — how long customers wait for a reply
- Resolution time — created to resolved, with median and p90
- SLA attainment — first-response and resolution targets met
- Backlog and aging — open work and how long it's been waiting
- CSAT — satisfaction surveys and response rate over time
- Agent and group load — workload distribution and resolution speed
Which Freshdesk dashboards should you build in Metabase?
Support overview
The daily pulse of volume and responsiveness.
- Tickets created vs. resolved per day (dual line)
- Median first response time (number + trend)
- Median resolution time (number + trend)
- Open backlog by status (bar)
SLA & response time
Are we keeping our promises?
- SLA attainment % for first response and resolution (number)
- Overdue tickets by group (table)
- Response time p50/p90 by week (line)
- Aging open tickets by days-open bucket (table)
CSAT & quality
Track satisfaction, not just speed.
- CSAT % by week (line)
- Survey response rate (number)
- Reopened tickets by week (line)
- Volume by ticket type and priority (bar)
Agent & group performance
Balance workload and spot coaching opportunities.
- Resolved tickets by agent (bar)
- Median resolution time by group (bar)
- Open assigned tickets by agent (table)
- Volume by source (email, portal, chat) (bar)
How do you use a Freshdesk MCP server with the Metabase CLI?
Pair a Freshdesk MCP server with the Metabase CLI for fast, hands-on analysis. The Freshdesk MCP pulls live ticket data; the Metabase CLI's upload command loads a CSV into Metabase and creates a ready-to-query table and model. For analysis, scope the Freshdesk API key so lookups can't change tickets.
Example workflow
- Ask the Freshdesk MCP which tickets are overdue on SLA, or list unassigned urgent tickets created today.
- Export the tickets, conversations, and agents you want to keep as CSVs.
- Run
mb upload csvto load them into Metabase as tables and models, then build questions and dashboards on top.
Be honest about the limits
- The Freshdesk MCP is great for live lookups — not for scheduled or audited reporting.
- A CSV upload is a point-in-time snapshot; trend and time-in-status analysis still needs a warehouse sync, or refresh with
mb upload replace. - Respect Freshdesk API rate limits and scope the API key so analysis can't change tickets.
mb upload csvneeds an uploads database configured under Admin → Settings → Uploads.
How do you set up a Freshdesk MCP server and the Metabase CLI?
Freshdesk MCP community
- Endpoint
https://<your-account>.freshdesk.com/mcp- Transport
- Streamable HTTP (or stdio for community servers)
- Auth
- Freshdesk API key
- Note
- Confirm the EAP endpoint or pick a maintained community server.
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": {
"freshdesk": {
"type": "http",
"url": "https://<your-account>.freshdesk.com/mcp",
"headers": { "Authorization": "<YOUR_FRESHDESK_API_KEY>" }
}
}
}Freshdesk authorizes MCP requests with an API key. Swap in a maintained community server's command if your account isn't in the Freshworks EAP yet.
# 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 Freshdesk CSV export — creates a table AND a model
mb upload csv --file freshdesk-tickets.csv --collection root
# Refresh that same table later from a new export
mb upload replace <table-id> --file freshdesk-tickets.csvThe Metabase CLI stores its credentials securely after mb auth login. Scope the Freshdesk API key so analysis can't change tickets.
Can you generate a Freshdesk dashboard with AI?
Yes. Use the prompt below with any assistant that can run a Freshdesk MCP server and the Metabase CLI. It works end to end: if Freshdesk tables already exist in Metabase it analyzes those; otherwise it pulls the data over the Freshdesk MCP, loads it with mb upload csv, then builds the dashboard — using medians for response and resolution times and skipping cards it has no data for.
Create a polished Metabase dashboard for Freshdesk support analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.
Goal: Help support leaders understand volume, responsiveness, SLA attainment,
CSAT, and agent workload from Freshdesk data.
Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for Freshdesk tables and
models). If durable Freshdesk 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 a Freshdesk MCP server (use a scoped API key):
tickets (with stats), conversations, contacts, agents, and groups. 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: Tickets, Conversations (replies and notes),
Contacts, Agents, Groups, Companies, Satisfaction surveys, and SLA fields.
Inspect the actual tables and column names first.
Important:
- Build on whatever data is present; don't claim Metabase connects natively to
Freshdesk — it reads a database or CLI-uploaded tables.
- Use medians (p50) and p90 for response and resolution times, never averages.
- Define "first response" as the first public agent reply, excluding private
notes and automated messages.
- If ticket activity history is missing, do not calculate reopen rate or
time-in-status. 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: reopen rate and time-in-status need
history, so build trend cards only if a warehouse sync or multiple uploads
provide it.
Dashboard title: Freshdesk Support Overview
Sections:
1. Executive summary (KPI cards): Tickets created last 7 days; Resolved last 7
days; Open backlog; Median first response time; Median resolution time;
CSAT % (only if survey data exists).
2. Volume & backlog: Created vs resolved by day; Open by status; Backlog aging;
Volume by source.
3. SLA & response time: First response and resolution SLA attainment; Overdue by
group; Response time p50/p90 by week.
4. CSAT & quality: CSAT by week; Survey response rate; Reopened by week (only if
activities exist); Volume by ticket type and priority.
5. Agent & group: Resolved by agent; Median resolution time by group; Open
assigned by agent; Volume by source.
Filters: Group, Agent, Source, Ticket type, Priority, Status, Date range.
Reuse the models Metabase auto-created from uploaded CSVs, or (for a warehouse)
create reusable models: modeled_freshdesk_tickets,
modeled_freshdesk_conversations, modeled_freshdesk_contacts,
modeled_freshdesk_agents, and modeled_freshdesk_groups.
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 Freshdesk → Metabase pipeline?
For dashboards that need history and reliability, land Freshdesk data in a database first, then connect Metabase to that database.
Connector options
- dlt (free, code) — write a Python pipeline against the Freshdesk REST API for full control. The lightest path to a maintainable, no-vendor sync.
- Freshdesk REST API (free, raw) — the source of truth; use
include=statsto pull response and resolution timestamps. - Airbyte — has a Freshdesk source covering tickets, conversations, contacts, agents, groups, and satisfaction ratings. Free if you self-host the open-source version; paid on Airbyte Cloud.
- Fivetran (paid, managed) — offers a Freshdesk connector with a maintained schema and incremental syncs.
Notes
- Land raw tables first, then build clean models on top.
- Request ticket
statsso you getfirst_responded_at,resolved_at, andclosed_atwithout recomputing. - Capture ticket activities if you want accurate reopen rate and time-in-status.
How should you model Freshdesk data in Metabase?
Core tables
| Table | Grain | Key columns |
|---|---|---|
tickets | one row per ticket | id, status, priority, source, type, group_id, responder_id, requester_id, created_at, stats_resolved_at |
conversations | one row per reply/note | ticket_id, incoming, private, user_id, created_at |
contacts | one row per requester | id, email, company_id |
agents | one row per agent | id, name, group_ids |
groups | one row per group | id, name |
Modeling advice
- Map Freshdesk's numeric
statuscodes (2 open, 3 pending, 4 resolved, 5 closed) to readable labels in a model. - Use the ticket
statstimestamps for durations rather than recomputing from conversations. - Define first response from the first public, incoming-false conversation and exclude private notes.
- Treat tags as a bridge table so a ticket can carry many tags.
- Define "resolved" once (status 4 or 5) and reuse it everywhere.
Which Freshdesk metrics should you track in Metabase?
| Metric | Definition | Notes |
|---|---|---|
| First response time | Created → first public agent reply. | Report median and p90; exclude private notes. |
| Resolution time | Created → stats_resolved_at. | Decide whether to include pending time. |
| Ticket volume | Created vs. resolved in a period. | Segment by source and group. |
| SLA attainment | Share meeting first-response/resolution targets. | Use SLA fields or modeled targets per group. |
| Backlog | Open/pending tickets right now. | Pair with aging buckets. |
| CSAT | Positive survey responses ÷ rated tickets. | Watch the response rate too. |
What SQL powers Freshdesk dashboards in Metabase?
These assume the modeled tables above (PostgreSQL dialect, with Freshdesk status codes). Adjust identifiers to match your warehouse.
The basic volume trend over the last 30 days (status 4/5 = resolved/closed).
SELECT
date_trunc('day', t.created_at) AS day,
COUNT(*) AS created,
COUNT(*) FILTER (WHERE t.status IN (4, 5)) AS resolved
FROM tickets t
WHERE t.created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY 1
ORDER BY 1;Median and p90 from created to the stats resolved timestamp.
SELECT
date_trunc('week', t.created_at) AS week,
percentile_cont(0.5) WITHIN GROUP (
ORDER BY EXTRACT(EPOCH FROM (t.stats_resolved_at - t.created_at)) / 3600.0
) AS median_resolution_hours,
percentile_cont(0.9) WITHIN GROUP (
ORDER BY EXTRACT(EPOCH FROM (t.stats_resolved_at - t.created_at)) / 3600.0
) AS p90_resolution_hours
FROM tickets t
WHERE t.stats_resolved_at IS NOT NULL
GROUP BY 1
ORDER BY 1;Share of resolved tickets that did not escalate first response. Adjust to your SLA fields.
SELECT
g.name AS group_name,
COUNT(*) AS resolved_tickets,
ROUND(
100.0 * COUNT(*) FILTER (WHERE NOT t.fr_escalated) / NULLIF(COUNT(*), 0),
1
) AS first_response_sla_pct
FROM tickets t
JOIN groups g ON g.id = t.group_id
WHERE t.status IN (4, 5)
GROUP BY g.name
ORDER BY resolved_tickets DESC;Open tickets bucketed by how long they've been waiting.
SELECT
CASE
WHEN CURRENT_DATE - t.created_at::date <= 1 THEN '0-1 days'
WHEN CURRENT_DATE - t.created_at::date <= 3 THEN '2-3 days'
WHEN CURRENT_DATE - t.created_at::date <= 7 THEN '4-7 days'
ELSE '8+ days'
END AS age_bucket,
COUNT(*) AS open_tickets
FROM tickets t
WHERE t.status NOT IN (4, 5)
GROUP BY 1
ORDER BY MIN(CURRENT_DATE - t.created_at::date);What are common mistakes when analyzing Freshdesk in Metabase?
stats for response and resolution timestamps.