Front × Metabase

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.

Heads up: Metabase connects to databases and warehouses — it does not ship a native Front connector. For dashboards that need history and reliability, you'll sync Front into a database first (covered below).

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.

1 · MCP + CLI route (AI-assisted)

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.

Best for
  • 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
Trade-offs
  • 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
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Sync Front into a database or warehouse with Fivetran, dlt, or the REST API, then point Metabase at it.

Best for
  • 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
Trade-offs
  • 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?

For: Support leads

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)
For: Support ops

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)
For: Team managers

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)
For: CX leadership

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 csv to 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 csv needs 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)
Cursor~/.cursor/mcp.json or .cursor/mcp.json
{
  "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.

TerminalLoad a Front CSV with the Metabase CLI
# 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.csv

The 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.

Verify before shipping: confirm an uploads database is enabled under Admin → Settings → Uploads (Metabase docs) and the current Front MCP setup in the Front developer docs.

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.

Prompt for creating a Front Inbox Overview dashboard
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.

No paid tool required. A fully free stack: a small dlt or hand-written script (extract) → a free Postgres database like Neon or Supabase (load) → a scheduler such as GitHub Actions cron (host) → Metabase (visualize). For hosting and scheduling details, see our data pipeline guide.

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_inbound flag to separate customer and teammate messages.

How should you model Front data in Metabase?

Core tables

TableGrainKey columns
conversationsone row per conversationid, status, inbox_id, assignee_id, created_at, last_message_at
messagesone row per messageid, conversation_id, is_inbound, is_draft, author_id, created_at
commentsone row per internal noteconversation_id, author_id, created_at
contactsone row per contactid, name, handle (email/phone)
teammatesone row per teammateid, name, is_available
inboxesone row per inboxid, name, type

Modeling advice

  • Define first reply as the first outbound, non-draft message from a teammate.
  • Normalize status into open/snoozed/archived so charts stay stable.
  • Treat tags as a bridge table so a conversation can carry many tags.
  • Exclude internal comments from 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?

MetricDefinitionNotes
Time to first replyCreated → first outbound teammate message.Report median and p90; exclude drafts and comments.
Resolution timeCreated → archived.Decide whether to include snoozed time.
Conversation volumeOpened vs. archived in a period.Segment by inbox and channel.
BacklogOpen conversations right now.Pair with aging buckets.
SLA breachesConversations over your response target.Model targets per inbox if Front rules aren't synced.
Teammate loadOpen 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.

Conversations opened vs. archived per dayPostgreSQL

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;
Time to first reply by weekPostgreSQL

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;
Open backlog by inboxPostgreSQL

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;
Volume by tagPostgreSQL

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?

Treating a live MCP lookup or a one-off CSV as governed reporting.→ Use the Front MCP and CSV uploads for triage and exploration; build warehouse-backed Metabase dashboards for anything people depend on.
Counting internal comments as replies.→ Comments are collaboration; only outbound messages count toward response time.
Including draft messages in first-reply math.→ Filter is_draft = false so unsent drafts don't distort timing.
Using averages for reply and resolution time.→ Report medians and p90 — these durations are heavily right-skewed.
Expecting time-in-status without the events stream.→ Sync conversation events if you want accurate status timing and reopens.

Related analytics

Related integrations

FAQ

Does Metabase connect natively to Front?
No. Metabase reads SQL databases and warehouses. Sync Front into a database first (Fivetran, dlt, or the REST API), then connect Metabase to that database.
Is the Front MCP server official?
Yes. Front hosts an official MCP server at https://mcp.frontapp.com/mcp (open beta) over Streamable HTTP with OAuth 2.1 + PKCE. It is user-scoped, so actions attribute to the authorizing teammate.
How do I quickly analyze Front data without a warehouse?
Pull the conversations, messages, and contacts you need with the Front MCP server (use a read-scoped connection), export them to CSV, and run `mb upload csv --file data.csv` with the Metabase CLI. It creates a table and a model you can build questions on right away. You'll need an uploads database enabled under Admin → Settings → Uploads. Refresh later with `mb upload replace`, or move to the pipeline route when you need history.
Do I need a paid connector to sync Front?
No. A free stack works: a small dlt or hand-written script against the Front REST API, a free Postgres tier (Neon or Supabase), and GitHub Actions cron to run it on a schedule. Paid managed connectors like Fivetran save maintenance but aren't required.
How do I measure first reply time in Front?
Use the first outbound, non-draft message from a teammate as the first reply, excluding internal comments, and report the median and p90.