First-party app
Klipfolio

Klipfolio

Manage Klipfolio data sources, Klips, dashboards, users, clients and groups, and queue data source refreshes.

stable Analytics & BI

About

Klipfolio ships in the w6w first-party pack. It declares 42 actions, 3 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.klipfolio
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Analytics & BI

Overview

Klipfolio is a business dashboard platform: data sources feed Klips (charts, tables and metrics) that are arranged on dashboards (formerly tabs). This app reads and manages those assets through the Klipfolio REST API.

It lists, creates, updates, enables, disables and deletes data sources, queues refreshes of one data source instance or many data sources at once, and reads instance data. It lists, creates, updates and deletes Klips and dashboards, manages users, groups and group membership, and administers client accounts for partner setups.

Health checks verify the API key and whether the Klipfolio API is answering.

Build with Klipfolio

Three routes to the same 42 actions. The Workflow tab is generated from Klipfolio's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Create Client

client-create

Create a client account (partner accounts).

Delete Client

client-delete

Permanently delete a client account.

Get Client

client-get

Get one client account.

List Clients

client-list

List the client accounts of the company.

Update Client

client-update

Update a client account; only the fields you set are sent.

Create Dashboard

dashboard-create

Create a dashboard; the new ID comes back in `id`.

Delete Dashboard

dashboard-delete

Permanently delete a dashboard.

Get Dashboard

dashboard-get

Get one dashboard by ID.

List dashboards

dashboard-list

List the dashboards the API key can access, paged with limit and offset.

Update Dashboard

dashboard-update

Update a dashboard; only the fields you set are sent.

Create Datasource

datasource-create

Create a datasource; the new ID comes back in `id`.

Delete Datasource

datasource-delete

Permanently delete a datasource.

Disable Data Source

datasource-disable

Disable a data source so it stops refreshing.

Enable Data Source

datasource-enable

Enable a data source.

Get Datasource

datasource-get

Get one datasource by ID.

Get Data Source Instance Data

datasource-instance-data-get

Read the data held by a data source instance (CSV-like rows for tabular sources).

Get Data Source Instance

datasource-instance-get

Get one data source instance: last and next refresh, failure count and data size.

List Data Source Instances

datasource-instance-list

List data source instances, optionally only those of one data source.

Refresh Data Source Instance

datasource-instance-refresh

Queue a data source instance for refresh. The refresh is queued and may not run instantly.

List data sources

datasource-list

List the data sources the API key can access, paged with limit and offset.

Refresh Data Sources

datasource-refresh-many

Queue several data sources for refresh in one call. Refresh is queued, not instant.

Update Datasource

datasource-update

Update a datasource; only the fields you set are sent.

Create Group

group-create

Create a group; the new ID comes back in `id`.

Delete Group

group-delete

Permanently delete a group.

Get Group

group-get

Get one group by ID.

List groups

group-list

List the groups the API key can access, paged with limit and offset.

Update Group

group-update

Update a group; only the fields you set are sent.

Add User to Group

group-user-add

Add a user to a group.

List Group Users

group-user-list

List the users in a group.

Remove User from Group

group-user-remove

Remove a user from a group.

List Klip Client Instances

klip-client-instance-list

List the client instances of a Klip (partner accounts).

Create Klip

klip-create

Create a klip; the new ID comes back in `id`.

Delete Klip

klip-delete

Permanently delete a klip.

Get Klip

klip-get

Get one klip by ID.

List Klips

klip-list

List the Klips the API key can access, paged with limit and offset.

Update Klip

klip-update

Update a klip; only the fields you set are sent.

Get Profile

profile-get

Get the user the API key belongs to: id, company, name, email and last login.

Create User

user-create

Create a user; the new ID comes back in `id`.

Delete User

user-delete

Permanently delete a user.

Get User

user-get

Get one user by ID.

List users

user-list

List the users the API key can access, paged with limit and offset.

Update User

user-update

Update a user; only the fields you set are sent.

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying Klipfolio's real ids.

{
  "manifestVersion": "2",
  "name": "klipfolio-example",
  "steps": [
    {
      "id": "client-create",
      "uses": {
        "app": "io.w6w.klipfolio",
        "action": "client-create",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "name": "<name>"
      }
    }
  ]
}

Here are some of the things you can do

  • Create Client

    perform
    client-create
  • Get Client

    read
    client-get
  • List Clients

    read
    client-list
  • Update Client

    perform
    client-update
  • Create Dashboard

    perform
    dashboard-create

+37 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for Klipfolio, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to Klipfolio. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "client-create",
  payload: {
    name: "<value>",
    // description: "<value>",
    // status: "<value>",
    // seats: "<value>",
    // custom_theme: "<value>",
    // external_id: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action client-create --payload '{"name":"<value>"}'

Give an AI agent Klipfolio — without giving it Klipfolio's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.klipfolio#client-create",
    "input": {
      "name": "<name>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's Klipfolio connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

Klipfolio's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. Klipfolio itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

Klipfolio declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

Klipfolio platform status

dependency

API reachability

Unauthenticated GET of /api/1.0/profile. Klipfolio's documented 401 error envelope is the expected healthy answer; credential validity is the `auth:api-key` check's job.

quota

API quota headroom