Use Cases

Insightics does not ask you to move data into a new tool. It puts answers inside the product your team and your customers already open every day.

Use case 01 / 03

Admin Panels

A question box inside the panel you already have.

The problem

Every internal tool grows a backlog of “can you pull me a number” requests. Each one ends up as a one-off query, a new dashboard tile, or a developer losing an afternoon.

How Insightics fits

Drop one component into the admin panel and let your team ask in plain language. The answer comes back as a chart, with nobody writing SQL or wiring a dashboard. Internal tools are usually single-tenant, so you acknowledge that everyone using it may read every row, in so many words.

Questions people ask

  • Signups this week by method
  • Orders stuck for over two days
  • Refunds by reason this month
  • Top 10 customers by order count

What you configure

tenancy: singleTenant(SINGLE_TENANT_ACKNOWLEDGEMENT)
Use case 02 / 03

Customer Dashboards

Each customer sees only their own rows.

The problem

Customers want answers about their own usage, and building a reporting screen for every question they might ask never ends. Letting a model write SQL against shared tables sounds like the fastest way to leak one customer’s data to another.

How Insightics fits

A verified token becomes a tenant setting inside a read-only transaction, and your Postgres row-level security policies scope every read to that customer, including subqueries. The tenant check lives in the database, not in a prompt. You write the policy on each readable table, and ik doctor --strict flags any table that is missing one.

Questions people ask

  • My team’s usage over the last 30 days
  • Seats used per workspace
  • API calls by key this week
  • Invoices paid vs. overdue

What you configure

ALTER TABLE orders ENABLE ROW LEVEL SECURITY;
ALTER TABLE orders FORCE ROW LEVEL SECURITY;
CREATE POLICY tenant_isolation ON orders
  FOR SELECT TO ik_reader
  USING (tenant_id = current_setting('app.tenant_id')::uuid);
Use case 03 / 03

Revenue & Ops

Your words, mapped to your columns.

The problem

Finance says “MRR”, ops says “active account”, and the schema says mrr_cents and last_seen_at. A model guessing that mapping gets it wrong in ways that look right.

How Insightics fits

Teach Insightics what your terms mean once, in a glossary that maps your words onto your columns. Finance and ops ask in their own words, and charts can stay live over server-sent events as the numbers move.

Questions people ask

  • MRR by plan this quarter
  • Churned accounts by month
  • Tickets per day by priority
  • Average time to first response

What you configure

// glossary: "MRR" → mrr_cents, "active" → last_seen_at within 30 days
<Insight endpoint="/api/insightics" question="MRR by plan this quarter" live />

Insightics is not a warehouse or a BI suite. It is a TypeScript SDK for teams that already run a Node backend on Postgres and want answers inside their own product.

  • 01

    A Node server

    The handler runs in your Node backend: Next.js, Express, Fastify or Hono.

  • 02

    A Postgres database

    Your own Postgres, read through a SELECT-only role inside a read-only transaction that is always rolled back.

  • 03

    A model key

    Anthropic or OpenAI, on your account. Only the relevant table definitions go into the prompt.

Come Build It
With Us

Ask questions, show what you are building, and help decide what Insightics does next. The Discord is where the roadmap gets argued out.