First-party app
Granola

Granola

Read meeting notes, transcripts and folders from Granola, plus manage webhooks, audit events and legal holds.

stable AI & Machine LearningProductivity

About

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

App id
io.w6w.granola
Version
0.1.0
Author
w6w
Licence
MIT
Categories
AI & Machine Learning · Productivity

Overview

Granola is an AI meeting assistant that turns raw meeting audio into structured notes: a summary, an optional full transcript, calendar context and attendee list, all addressable over Granola’s own REST API rather than through export.

This app covers Granola’s four API surfaces. Notes and Folders are the read path a workflow actually wants: list notes (filterable by date and folder), fetch one note with its AI summary and — when it fits inline — transcript, or page through a large transcript directly. Folders round out that path, since folder IDs are the only way to scope a notes listing to a subset of the workspace.

Webhook Endpoints let a workflow react to a note being generated or edited instead of polling for it, with full CRUD over the endpoint’s URL, event subscriptions and folder filter. Legal Holds is workspace-admin surface for litigation/investigation preservation: create and release holds, and add, list or remove the custodians named on one. Audit Events closes the loop with a read-only log of who did what in the workspace, for workflows that need to react to or archive that trail.

Every credential this app holds is a Granola API key scoped by the user or admin who issued it (Personal notes, Public notes, or a workspace-wide key) — the app itself never chooses scope, it only uses what the key can reach.

Build with Granola

Three routes to the same 17 actions. The Workflow tab is generated from Granola'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.

List Audit Events

audit-event-list

Read the workspace audit log (one-year retention), filterable by action and date.

Add Legal Hold Custodians

custodian-add

Name users (by email or user ID) as custodians of a legal hold.

List Legal Hold Custodians

custodian-list

List the users a hold names, including removed ones (with removed_at).

Remove Legal Hold Custodian

custodian-remove

Remove a custodian entry from a hold. The history is kept with removed_at set.

List Folders

folder-list

List folders (id, name, parent) so notes and webhooks can be scoped to one.

Create Legal Hold

legal-hold-create

Place a legal hold on named custodians and/or the entire workspace.

Get Legal Hold

legal-hold-get

Fetch one legal hold.

List Legal Holds

legal-hold-list

List legal holds, active and released.

Release Legal Hold

legal-hold-release

Release a legal hold. Irreversible; a reopened matter needs a new hold.

Update Legal Hold

legal-hold-update

Rename or re-describe a hold, or widen/narrow its workspace-wide coverage.

Get Note

note-get

Fetch one note with its summary, attendees and (optionally) transcript.

List Notes

note-list

List meeting notes, filterable by created/updated date and folder.

Get Transcript

transcript-get

Read a note's transcript one page at a time.

Create Webhook Endpoint

webhook-create

Subscribe an HTTPS URL to note events. Returns the one-time signing secret.

Delete Webhook Endpoint

webhook-delete

Permanently delete a webhook endpoint.

List Webhook Endpoints

webhook-list

List the webhook endpoints visible to this API key.

Update Webhook Endpoint

webhook-update

Change a webhook endpoint's URL, scopes, events, folder filter or paused state.

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 Granola's real ids.

{
  "manifestVersion": "2",
  "name": "granola-example",
  "steps": [
    {
      "id": "custodian-add",
      "uses": {
        "app": "io.w6w.granola",
        "action": "custodian-add",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "holdId": "<holdId>"
      }
    }
  ]
}

Here are some of the things you can do

  • Add Legal Hold Custodians

    perform
    custodian-add
  • List Audit Events

    read
    audit-event-list
  • List Legal Hold Custodians

    read
    custodian-list
  • List Folders

    read
    folder-list
  • Create Legal Hold

    perform
    legal-hold-create

+12 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 Granola, 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 Granola. 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: "custodian-add",
  payload: {
    holdId: "<value>",
    // emails: "<value>",
    // userIds: "<value>",
  },
});

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

Give an AI agent Granola — without giving it Granola'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.granola#custodian-add",
    "input": {
      "holdId": "<holdId>"
    }
  }
}

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 Granola 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

Granola'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. Granola itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

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

service

Granola API status

The `API and webhooks` component on status.granola.ai.

quota

Plan / request headroom