How to build Front support dashboards in Metabase
Front turns shared inboxes — support@, help@, and more — into a collaborative workspace across email, chat, and SMS. 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 the Front MCP server and loads a CSV into Metabase with the Metabase CLI for quick analysis, and a durable pipeline route that syncs Front into a database so you can build dashboards anyone can read.
How do you connect Front to Metabase?
Most teams combine both routes: use the Front 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 Front's official MCP server (to read live inbox conversations and messages) with the Metabase CLI, whose upload command loads a CSV into Metabase as a ready-to-query table and model.
- Quick lookups like "what's unanswered in the support inbox?"
- Loading a Front CSV export into Metabase in seconds
- Spot-checks and one-off analyses without a warehouse
- Great for exploration, not governed reporting
- Front's MCP is user-scoped — use a read-scoped connection so analysis can't send or write
- CSV uploads are snapshots — refresh or move to the pipeline for history
Durable dashboards with history
Sync Front into a database or warehouse with Fivetran, dlt, or the REST API, then point Metabase at it.
- Shared-inbox response-time and SLA dashboards the team relies on
- Trends over quarters and teammate workload balance
- Joining inbox data with CRM or billing data
- Requires a destination database and a sync to maintain
- You own the data model and refresh schedule
- Capture conversation events for accurate time-in-status
What can you analyze from Front data in Metabase?
- Conversation volume — opened vs. archived by day, inbox, and channel
- Time to first reply — how long customers wait for a teammate response
- SLA breaches — conversations over your response targets
- Backlog and aging — open work and how long it's been waiting
- Teammate workload — assignments and handle time across the team
- Topic drivers — volume and resolution speed by tag
- Collaboration — internal comments per conversation
Which Front dashboards should you build in Metabase?
Inbox overview
The daily pulse across shared inboxes.
- Conversations opened vs. archived per day (dual line)
- Median time to first reply (number + trend)
- Open conversations by inbox (bar)
- Volume by channel (email, chat, SMS) (bar)
Response time & SLA
Are we replying within target?
- First reply time p50/p90 by week (line)
- Conversations over SLA target by inbox (table)
- Aging open conversations by days-open bucket (table)
- Reopened conversations by week (line)
Teammate workload
Balance assignments across the team.
- Archived conversations by teammate (bar)
- Open assigned conversations by teammate (table)
- Median handle time by teammate (bar)
- Comments (internal collaboration) per conversation (number)
Topics & drivers
Understand what's driving inbox volume.
- Volume by tag/topic (bar)
- Fastest- and slowest-resolving tags (table)
- Volume by contact account (table)
- New vs. returning contacts (bar)
How do you use the Front MCP server with the Metabase CLI?
Pair the Front MCP server with the Metabase CLI for fast, hands-on analysis. Front hosts an official MCP server (open beta) that reads live inbox conversations and messages as you; the Metabase CLI's upload command loads a CSV into Metabase and creates a ready-to-query table and model. For analysis, use a read-scoped connection.
Example workflow
- Ask the Front MCP which conversations are unanswered in the support inbox, summarized by tag.
- Export the conversations, messages, and teammates 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 Front 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. - Front's MCP is user-scoped — every action attributes to the authorizing teammate; use a read-scoped connection so analysis can't send or write.
mb upload csvneeds an uploads database configured under Admin → Settings → Uploads.
How do you set up the Front MCP server and the Metabase CLI?
Front MCPofficial
- Endpoint
https://mcp.frontapp.com/mcp- Transport
- Remote (Streamable HTTP)
- Auth
- OAuth 2.1 + PKCE; scopes
read,write,send - Note
- Create a developer app in Front settings to enable it.
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": {
"front": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.frontapp.com/mcp"]
}
}
}On first connection the Front server opens a browser window to authorize. Front admins can limit which read/write/send permissions the MCP server may use — keep analysis read-scoped.
# 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 Front CSV export — creates a table AND a model
mb upload csv --file front-conversations.csv --collection root
# Refresh that same table later from a new export
mb upload replace <table-id> --file front-conversations.csvThe Metabase CLI stores its credentials securely after mb auth login. Front's MCP is user-scoped, so a read-scoped connection keeps analysis from sending or writing.
Can you generate a Front dashboard with AI?
Yes. Use the prompt below with any assistant that can run the Front MCP server and the Metabase CLI. It works end to end: if Front tables already exist in Metabase it analyzes those; otherwise it pulls the data over the Front MCP, loads it with mb upload csv, then builds the dashboard — using medians for reply times and skipping cards it has no data for.
Create a polished Metabase dashboard for Front shared-inbox analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.
Goal: Help support leaders understand inbox volume, response time, SLA, teammate
workload, and topic drivers from Front data.
Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for Front tables and
models). If durable Front 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 Front MCP server (use a read-scoped
connection): conversations, messages, comments, contacts, teammates, and
inboxes. 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, Comments (internal
notes), Contacts, Teammates, Inboxes, Channels, and Tags. Inspect the actual
tables and column names first.
Important:
- Build on whatever data is present; don't claim Metabase connects natively to
Front — it reads a database or CLI-uploaded tables.
- Use medians (p50) and p90 for reply times, never averages.
- Define "first reply" as the first outbound message from a teammate, excluding
internal comments and automated messages.
- If conversation event history is missing, do not calculate time-in-status or
reopen rate. 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: time-in-status and reopen rate need
history, so build trend cards only if a warehouse sync or multiple uploads
provide it.
Dashboard title: Front Inbox Overview
Sections:
1. Executive summary (KPI cards): Conversations opened last 7 days; Archived last
7 days; Open backlog; Median time to first reply; Volume by channel.
2. Volume & backlog: Opened vs archived by day; Open by inbox; Backlog aging;
Volume by channel.
3. Response time & SLA: First reply time p50/p90 by week; Over-target by inbox;
Reopened by week (only if event history exists).
4. Teammate workload: Archived by teammate; Open assigned by teammate; Median
handle time by teammate.
5. Topics & drivers: Volume by tag; Slowest tags; Volume by contact account.
Filters: Inbox, Teammate, Channel, Tag, Date range.
Reuse the models Metabase auto-created from uploaded CSVs, or (for a warehouse)
create reusable models: modeled_front_conversations, modeled_front_messages,
modeled_front_contacts, modeled_front_teammates, and modeled_front_inboxes.
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 Front → Metabase pipeline?
For dashboards that need history and reliability, land Front data in a database first, then connect Metabase to that database.
Connector options
- dlt (free, code) — write a Python pipeline against the Front REST API for full control of streams and schema. The lightest path to a maintainable, no-vendor sync.
- Front REST API (free, raw) — the source of truth; paginate conversations, messages, and events and upsert on a schedule.
- Front Analytics export (free, raw) — Front's built-in analytics can export aggregates; the API gives you row-level detail for custom modeling.
- Fivetran (paid, managed) — offers a Front connector covering conversations, messages, contacts, and inboxes.
Notes
- Land raw tables first, then build clean models on top.
- Sync the conversation events stream if you want accurate time-in-status and reopen analysis.
- Use the message
is_inboundflag to separate customer and teammate messages.
How should you model Front data in Metabase?
Core tables
| Table | Grain | Key columns |
|---|---|---|
conversations | one row per conversation | id, status, inbox_id, assignee_id, created_at, last_message_at |
messages | one row per message | id, conversation_id, is_inbound, is_draft, author_id, created_at |
comments | one row per internal note | conversation_id, author_id, created_at |
contacts | one row per contact | id, name, handle (email/phone) |
teammates | one row per teammate | id, name, is_available |
inboxes | one row per inbox | id, name, type |
Modeling advice
- Define first reply as the first outbound, non-draft message from a teammate.
- Normalize
statusinto open/snoozed/archived so charts stay stable. - Treat tags as a bridge table so a conversation can carry many tags.
- Exclude internal
commentsfrom response-time math — they're collaboration, not customer replies. - Define "archived" (resolved) once and reuse it everywhere.
Which Front metrics should you track in Metabase?
| Metric | Definition | Notes |
|---|---|---|
| Time to first reply | Created → first outbound teammate message. | Report median and p90; exclude drafts and comments. |
| Resolution time | Created → archived. | Decide whether to include snoozed time. |
| Conversation volume | Opened vs. archived in a period. | Segment by inbox and channel. |
| Backlog | Open conversations right now. | Pair with aging buckets. |
| SLA breaches | Conversations over your response target. | Model targets per inbox if Front rules aren't synced. |
| Teammate load | Open and archived conversations per teammate. | Frame as balance, not a leaderboard. |
What SQL powers Front 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 opened,
COUNT(*) FILTER (WHERE c.status = 'archived') AS archived
FROM conversations c
WHERE c.created_at >= CURRENT_DATE - INTERVAL '30 days'
GROUP BY 1
ORDER BY 1;Median from the first outbound teammate message per conversation.
WITH first_outbound AS (
SELECT
m.conversation_id,
MIN(m.created_at) AS first_reply_at
FROM messages m
WHERE m.is_inbound = false
AND m.is_draft = 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
i.name AS inbox,
COUNT(*) AS open_conversations
FROM conversations c
JOIN inboxes i ON i.id = c.inbox_id
WHERE c.status = 'open'
GROUP BY i.name
ORDER BY open_conversations DESC;Top topic drivers over the last 90 days.
SELECT
tg.name AS tag,
COUNT(*) AS conversations
FROM conversations c
JOIN conversation_tags ct ON ct.conversation_id = c.id
JOIN tags tg ON tg.id = ct.tag_id
WHERE c.created_at >= CURRENT_DATE - INTERVAL '90 days'
GROUP BY tg.name
ORDER BY conversations DESC
LIMIT 20;What are common mistakes when analyzing Front in Metabase?
is_draft = false so unsent drafts don't distort timing.