Read meeting notes, transcripts and folders from Granola, plus manage webhooks, audit events and legal holds.
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.
io.w6w.granolaGranola 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.
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.
audit-event-list Read the workspace audit log (one-year retention), filterable by action and date.
custodian-add Name users (by email or user ID) as custodians of a legal hold.
custodian-list List the users a hold names, including removed ones (with removed_at).
custodian-remove Remove a custodian entry from a hold. The history is kept with removed_at set.
folder-list List folders (id, name, parent) so notes and webhooks can be scoped to one.
legal-hold-create Place a legal hold on named custodians and/or the entire workspace.
legal-hold-release Release a legal hold. Irreversible; a reopened matter needs a new hold.
legal-hold-update Rename or re-describe a hold, or widen/narrow its workspace-wide coverage.
webhook-create Subscribe an HTTPS URL to note events. Returns the one-time signing secret.
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>"
}
}
]
}custodian-add audit-event-list custodian-list folder-list 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.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { 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); npm install -g @w6w/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.
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.
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.
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.
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).
Granola declares its own checks, so its health is a property of the app rather than something the host guesses at.
The `API and webhooks` component on status.granola.ai.