Attio × Metabase

How to build Attio sales dashboards in Metabase

Attio is a flexible, data-model-driven CRM where your records, deals, and lists live. Metabase is where you turn that pipeline activity into shared, trustworthy sales dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Attio MCP server and loads a CSV into Metabase with the Metabase CLI for quick analysis, and a durable pipeline route that syncs Attio into a database so you can build pipeline, win-rate, and conversion dashboards anyone can read.

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

How do you connect Attio to Metabase?

Most teams combine both routes: use the Attio MCP server and Metabase CLI route to pull live data and stand up a quick analysis, and the pipeline route for the sales dashboards the team depends on.

1 · MCP + CLI route (AI-assisted)

Live data in, quick analysis out

Pair the official Attio MCP server (to read live records, deals, and lists) 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 "which deals moved stage this week?"
  • Loading an Attio CSV export into Metabase in seconds
  • Spot-checks and one-off analyses without a warehouse
Trade-offs
  • Great for exploration, not governed reporting
  • The Attio MCP inherits your user permissions; keep writes gated
  • CSV uploads are snapshots — refresh or move to the pipeline for history
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Sync Attio into a database or warehouse with a managed connector where one exists, or with dlt / the Attio API, then point Metabase at it.

Best for
  • Pipeline, win-rate, and conversion dashboards the whole team relies on
  • Sales cycle and stage-conversion trends over quarters
  • Joining CRM data with product usage, billing, or support data
Trade-offs
  • Requires a destination database and a sync to maintain
  • Attio's flexible schema means you define the model deliberately
  • Capture stage-change events if you want accurate velocity metrics

What can you analyze from Attio data in Metabase?

  • Pipeline — open value by stage, owner, and list, plus coverage against target
  • Win rate — deals won vs. closed, by segment, source, and stage
  • Sales cycle length — created to won, with median and p90
  • Stage conversion — where deals advance and where they stall
  • Deal size — average and median value, plus mix by segment
  • Relationships — companies and people coverage, records with open deals
  • Activity — notes, tasks, and touches by owner and account

Which Attio dashboards should you build in Metabase?

For: Sales leaders

Pipeline

The open book of business, right now.

  • Open deals by stage (funnel)
  • Pipeline value by owner and list (bar)
  • Coverage vs. target for the period (number)
  • Stale deals with no recent activity (table)
For: Sales ops, RevOps

Conversion

Where deals advance and where they stall.

  • Stage-to-stage conversion (funnel)
  • Win rate by segment and source (bar)
  • Records added vs. deals won by week (dual line)
  • Loss reasons breakdown (bar)
For: Revenue leadership

Velocity

How fast deals move and close.

  • Median sales cycle length (number + trend)
  • Time-in-stage by stage (bar)
  • Deal velocity: value / cycle time (number)
  • Aging of open deals (table)
For: Ops, leadership

Relationships

Coverage across companies and people.

  • Companies by lifecycle / segment (bar)
  • New records added by week (line)
  • Records with an open deal (number)
  • Notes and activity by owner (bar)

How do you use the Attio MCP server with the Metabase CLI?

Pair the Attio MCP server with the Metabase CLI for fast, hands-on analysis. The Attio MCP looks up current records, deals, and lists; the Metabase CLI's upload command loads a CSV into Metabase and creates a ready-to-query table and model. Read operations are auto-approved and writes request confirmation.

Example workflow

  • Ask the Attio MCP which deals moved stage this week, or a company's records, notes, and open deals.
  • Export the deals or records you want to keep as a CSV.
  • Run mb upload csv to load it into Metabase as a table and model, then build questions and dashboards on top.

Be honest about the limits

  • The Attio MCP is great for live lookups — not for scheduled or audited pipeline reporting.
  • A CSV upload is a point-in-time snapshot; refresh it with mb upload replace or move to the pipeline for real history — sales cycle and stage conversion still need synced deal history.
  • Read operations are auto-approved and writes request confirmation; the agent inherits your Attio user permissions.
  • mb upload csv needs an uploads database configured under Admin → Settings → Uploads.

How do you set up the Attio MCP server and the Metabase CLI?

Attio MCPofficial

Endpoint
https://mcp.attio.com/mcp
Transport
Remote (Streamable HTTP)
Auth
OAuth — no API keys to manage
Scope
Inherits your Attio user permissions

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": {
    "attio": {
      "url": "https://mcp.attio.com/mcp"
    }
  }
}
TerminalLoad an Attio 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 an Attio CSV export — creates a table AND a model
mb upload csv --file attio-deals.csv --collection root

# Refresh that same table later from a new export
mb upload replace <table-id> --file attio-deals.csv

Add https://mcp.attio.com/mcp as a remote MCP server; on first connection Attio opens a browser for OAuth. No API keys to create or rotate — access is tied to your Attio user, and sessions can be revoked from your account settings. The Metabase CLI stores its credentials securely after mb auth login.

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

Can you generate an Attio dashboard with AI?

Yes. Use the prompt below with any assistant that can run the Attio MCP server and the Metabase CLI. It works end to end: if Attio tables already exist in Metabase it analyzes those; otherwise it pulls the data over the Attio MCP, loads it with mb upload csv, then builds the dashboard — defining "won" and "closed" and skipping metrics the data can't support instead of faking them.

Prompt for creating an Attio Sales Overview dashboard
Create a polished Metabase dashboard for Attio sales analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.

Goal: Help sales leaders understand pipeline, win rate, conversion, sales cycle,
and relationship coverage from Attio CRM data.

Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for Attio tables and
  models). If durable Attio 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 Attio MCP server (read operations are
  auto-approved; writes request confirmation): records (people, companies), the
  Deals object, lists and list entries, notes, and tasks. 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:
Attio has a flexible, customizable data model, so do not assume exact object or
attribute names. CSV exports are usually flat and pre-aggregated (one row per
deal, company, or person), while warehouse tables are raw and can carry
stage-change history for velocity metrics. Inspect the actual tables and column
names first; do not assume names or that stage history exists.

Important:
- Build on whatever data is present; don't claim Metabase connects natively to
  Attio — it reads a database or CLI-uploaded tables.
- Only recompute rates over the correct base (e.g. win rate) when raw counts are
  available; if the data already provides a rate, chart it directly.
- Define "won" and "closed" once (from the deal stage/status attribute) and reuse
  them.
- For win rate, state the denominator explicitly (won / closed vs. won / created)
  and hold the cohort fixed.
- Report sales cycle length and deal size as medians (p50) and p90, never plain
  averages — both are right-skewed.
- If stage-change history is missing, do not calculate sales cycle length,
  time-in-stage, or stage conversion. Use a caveat instead.
- Convert all amounts to a single reporting currency; caveat any mix.
- 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: Attio Sales Overview

Sections:
1. Executive summary (KPI cards): Open pipeline; Coverage vs. target; Win rate
   (last 90 days); Median sales cycle length; Average and median deal size; Deals
   closing this period.
2. Pipeline: Open deals by stage; value by owner and list; stale deals.
3. Conversion: Stage-to-stage conversion; win rate by segment and source; loss
   reasons.
4. Velocity: Median cycle length; time-in-stage; deal velocity; aging.
5. Relationships: Companies by segment; new records by week; records with an open
   deal.

Filters: Deal stage, Owner, Segment, Source, Date range.

Reuse the models Metabase auto-created from uploaded CSVs, or (for a warehouse)
create reusable models: modeled_attio_deals, modeled_attio_stage_history,
modeled_attio_companies, modeled_attio_people, and modeled_attio_activity.

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. Reconcile totals against
Attio's own reports. Keep it practical, dense, and executive-readable. Avoid
vanity metrics.

How do you sync Attio data into a database or warehouse?

For dashboards that need history and reliability, land Attio data in a database first, then connect Metabase to that database.

Connector options

  • Attio API (raw) — the source of truth; query records, objects, lists, and entries, and capture attribute-change events for stage history.
  • dlt (code) — write a Python pipeline against the Attio API for full control of objects and schema.
  • Managed ETL (Airbyte / Fivetran) — check the connector catalogs for an Attio source; where one exists it can land records and deals on a schedule.
  • Reverse-ETL / webhooks — Attio webhooks can stream changes to your warehouse so you don't lose stage transitions between syncs.

Notes

  • Land raw tables first, then build clean models on top.
  • Attio's data model is customizable — map your workspace's deal object, stage attribute, and amount attribute deliberately.
  • Capture stage-change history (attribute history or webhook events) if you want cycle length, time-in-stage, and conversion.
  • Records span multiple objects (people, companies); resolve relationships in a model.

How should you model Attio data in Metabase?

Core tables

ConceptGrainKey columns
dealsone row per deal recordid, stage, value, currency, created_at, closed_at, owner_id, company_id
deal_stage_historyone row per changedeal_id, stage, changed_at
companiesone row per companyid, name, segment, owner_id, created_at
peopleone row per personid, company_id, created_at, owner_id
list_entriesone row per entrylist_id, record_id, stage, entered_at
activityone row per note/taskid, record_id, type, owner_id, created_at

Modeling advice

  • Build a modeled_attio_deals table with clean stage, is_won, is_closed, value (one currency), and closed_at.
  • Derive modeled_attio_stage_history from attribute history or webhook events for time-in-stage and cycle length.
  • Normalize the stage attribute to a small, ordered set so funnels stay stable.
  • Resolve owner and company relationships to names once, in a model.
  • Reconcile modeled pipeline and win rate against Attio's own reports before anyone trusts the numbers.

Which Attio metrics should you track in Metabase?

MetricDefinitionNotes
Open pipelineSum of value for open deals.Segment by stage, owner, and list.
Win rateWon ÷ closed deals in a cohort.Fix the denominator (closed vs. created) before comparing.
Sales cycle lengthCreated → won, in days.Report median and p90; it's right-skewed.
Stage conversionDeals reaching stage N+1 ÷ reaching stage N.Needs stage-change history.
Average deal sizeWon value ÷ won deals.Report the median too; outliers distort the mean.
Records with open dealCompanies/people linked to an open deal.A coverage signal for the base.

What SQL powers Attio dashboards in Metabase?

These assume the modeled tables above (PostgreSQL dialect). Adjust identifiers to match your workspace's Attio objects and attributes.

Win rate by monthPostgreSQL

Won as a share of closed deals over the last 12 months.

SELECT
  date_trunc('month', d.closed_at) AS month,
  COUNT(*) FILTER (WHERE d.is_won)                 AS won,
  COUNT(*) FILTER (WHERE d.is_closed)              AS closed,
  ROUND(
    100.0 * COUNT(*) FILTER (WHERE d.is_won)
      / NULLIF(COUNT(*) FILTER (WHERE d.is_closed), 0),
    1
  ) AS win_rate_pct
FROM modeled_attio_deals d
WHERE d.is_closed
  AND d.closed_at >= CURRENT_DATE - INTERVAL '12 months'
GROUP BY 1
ORDER BY 1;
Open pipeline by stagePostgreSQL

The current funnel — deals and value by stage.

SELECT
  d.stage,
  COUNT(*)               AS open_deals,
  ROUND(SUM(d.value), 2) AS open_value
FROM modeled_attio_deals d
WHERE NOT d.is_closed
GROUP BY d.stage
ORDER BY open_value DESC;
Sales cycle length (median and p90)PostgreSQL

Days from created to won; medians beat averages here.

-- Median days from created to won, by month closed
SELECT
  date_trunc('month', d.closed_at) AS month,
  percentile_cont(0.5) WITHIN GROUP (
    ORDER BY EXTRACT(EPOCH FROM (d.closed_at - d.created_at)) / 86400.0
  ) AS median_cycle_days,
  percentile_cont(0.9) WITHIN GROUP (
    ORDER BY EXTRACT(EPOCH FROM (d.closed_at - d.created_at)) / 86400.0
  ) AS p90_cycle_days
FROM modeled_attio_deals d
WHERE d.is_won
GROUP BY 1
ORDER BY 1;

What are common mistakes when analyzing Attio in Metabase?

Treating a live MCP lookup or a one-off CSV as governed reporting.→ Use the Attio MCP and CSV uploads for live exploration; build warehouse-backed dashboards for anything people depend on.
Assuming a fixed schema.→ Attio's data model is customizable — map your workspace's deal object, stage, and amount attributes explicitly.
Computing sales cycle without stage-change history.→ Capture attribute history or webhook events — a snapshot can't tell you when a deal entered or left a stage.
Leaving win rate's denominator ambiguous.→ Won ÷ closed and won ÷ created are different metrics — pick one and label it.
Averaging deal size and cycle length.→ Both are right-skewed; report the median (and p90) alongside the mean.
Never reconciling with Attio's reports.→ Sanity-check modeled pipeline and win rate against Attio's own reports before trusting them.

Related analytics

Related metrics

Related integrations

FAQ

Does Metabase connect natively to Attio?
No. Metabase reads databases and warehouses. Sync Attio into a database first (the Attio API, dlt, a managed connector where available, or webhooks), then connect Metabase to that database.
Is there an official Attio MCP server?
Yes. Attio hosts an official MCP server at https://mcp.attio.com/mcp, authenticated with OAuth — no API keys to manage. It exposes records, lists, deals, notes, and tasks, and inherits your Attio user permissions. Use it for live lookups, not governed reporting.
How do I quickly load Attio data without a warehouse?
Export a CSV from Attio 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.
How do I handle Attio's flexible data model?
Attio lets you customize objects and attributes, so map your workspace's deal object, stage attribute, and amount attribute deliberately in a clean model. Capture stage-change history (attribute history or webhooks) so cycle length and conversion are accurate.