Granola Webhooks EventsSAFE
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Overview
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
4f83675ca38aOBSERVED · 2026-10-08Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: granola-webhooks-events description: 'Build event-driven automations with Granola''s Zapier webhook triggers. Use when creating real-time notification systems, processing meeting events, or building custom integrations that react to Granola note creation. Trigger: "granola webhooks", "granola events", "granola triggers", "granola real-time", "granola event-driven". ' allowed-tools: Read, Write, Edit, Bash(curl:*), Bash(node:*), Bash(python3:*) version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - granola - webhooks - automation compatibility: Designed for Claude Code --- # Granola Webhooks & Events ## Overview Granola does not expose raw webhook endpoints. All event-driven automation flows through Zapier, which provides two trigger events. This skill covers the event model, webhook payload structure, event filtering, processing patterns, and building custom event handlers. ## Prerequisites - Granola Business plan (for Zapier access) - Zapier account (Free for basic Zaps, Paid for multi-step) - Optional: custom webhook endpoint (Express.js, FastAPI, or serverless function) ## Instructions ### Step 1 — Understand the Event Model Granola fires events through Zapier triggers, not direct webhooks. Two triggers are available: | Trigger | When It Fires | Use Case | |---------|--------------|----------| | **Note Added to Granola Folder** | A note is placed in a specific folder (automatic) | Auto-route by meeting type | | **Note Shared to Zapier** | You manually click Share > Zapier on a note | Selective sharing for important meetings | ### Step 2 — Webhook Payload Structure When a Zapier trigger fires, Granola sends this data: ```json { "title": "Sprint Planning — Q1 Week 12", "creator_name": "Sarah Chen", "creator_email": "[email protected]", "attendees": [ {"name": "Sarah Chen", "email": "[email protected]"}, {"name": "Mike Johnson", "email": "[email protected]"}, {"name": "Alex Kim", "email": "[email protected]"} ], "calendar_event_title": "Sprint Planning", "calendar_event_datetime": "2026-03-22T10:00:00Z", "note_content": "## Summary\nDiscussed Q1 priorities...\n\n## Action Items\n- [ ] @sarah: Schedule design review..." } ``` **Key fields for filtering and routing:** - `attendees[].email` — detect internal vs. external meetings - `calendar_event_title` — match meeting type patterns - `note_content` — search for action items, decisions, keywords ### Step 3 — Event Filtering Patterns Use Zapier Filter steps to route events: **Filter: Only External Meetings** ``` Filter: attendees.email DOES NOT contain "@company.com" (at least one attendee has a non-company email) ``` **Filter: Only Meetings with Action Items** ``` Filter: note_content contains "- [ ]" ``` **Filter: Only Sales Calls (by title keywords)** ``` Filter: calendar_event_title contains any of: "discovery", "demo", "sales", "prospect" ``` **Filter: Long Meetings Only (> 30 min)** ``` Use Zapier Code step to parse calendar_event_datetime and compare to note timestamp ``` ### Step 4 — Build a Custom Webhook Handler Forward Granola events from Zapier to your own endpoint: ```yaml # Zapier configuration Trigger: Granola — Note Added to Folder ("All Meetings") Action: Webhooks by Zapier — POST URL: https://your-api.com/webhooks/granola Payload Type: JSON Data: title: "{{title}}" creator: "{{creator_email}}" attendees: "{{attendees}}" content: "{{note_content}}" datetime: "{{calendar_event_datetime}}" hmac: "{{your_webhook_secret}}" ``` **Express.js handler:** ```javascript // webhook-handler.js import express from 'express'; const app = express(); app.use(express.json()); app.post('/webhooks/granola', async (req, res) => { const { title, creator, attendees, content, datetime } = req.body; // Validate webhook (use HMAC or shared secret) // if (!verifyHmac(req)) return res.status(401).send('Unauthorized'); console.log(`Meeting received: ${title} (${datetime})`); // Extract action items const actionItems = content .split('\n') .filter(line => line.match(/^- \[ \]/)) .map(line => line.replace('- [ ] ', '')); // Route based on meeting type const isExternal = attendees.some(a => !a.email?.endsWith('@company.com')); if (isExternal) { await handleExternalMeeting({ title, attendees, content, actionItems }); } else { await handleInternalMeeting({ title, content, actionItems }); } res.status(200).json({ processed: true, actions: actionItems.length }); }); async function handleExternalMeeting({ title, attendees, content, actionItems }) { // CRM update, follow-up email draft, Slack #sales notification console.log(`External meeting: ${title}, ${actionItems.length} action items`); } async function handleInternalMeeting({ title, content, actionItems }) { // Linear tasks, Notion archive, Slack #team notification console.log(`Internal meeting: ${title}, ${actionItems.length} action items`); } app.listen(3000, () => console.log('Granola webhook handler running on :3000')); ``` **Python FastAPI handler:** ```python from fastapi import FastAPI, Request import re app = FastAPI() @app.post("/webhooks/granola") async def handle_granola_event(request: Request): data = await request.json() title = data.get("title", "Untitled") content = data.get("content", "") attendees = data.get("attendees", []) # Extract action items actions = re.findall(r"- \[ \] (.+)", content) # Route by attendee type external = [a for a in attendees if not a.get("email", "").endswith("@company.com")] if external: # Process external meeting await process_external(title, actions, external) else: await process_internal(title, actions) return {"processed": True, "action_count": len(actions)} ``` ### Step 5 — Processing Patterns | Pattern | When to Use | Implementation | |---------|------------|------------
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
4f83675ca38afull audit observations/trust-audit/skill/jeremylongshore__granola-webhooks-events.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 4f83675ca38a | SAFE | B | 89 | first audit |
Questions
What does the Granola Webhooks Events skill do?
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
Is Granola Webhooks Events safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Granola Webhooks Events access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Granola Webhooks Events work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (4f83675ca38a), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.