environment-setup-guide
Guide developers through setting up development environments with proper tools, dependencies, and configurations
granola-webhooks-events
Handle Granola webhook events and build event-driven automations. Use when building custom integrations, processing meeting events, or creating real-time notification systems. Trigger with phrases like "granola webhooks", "granola events", "granola triggers", "granola real-time", "granola callbac...
Full skill instructions
Build event-driven automations using Granola's Zapier webhooks and event triggers.
| Event | Description | Payload |
|---|---|---|
| New Note Created | Meeting ended, notes ready | Full note data |
| Note Updated | Notes manually edited | Updated content |
| Note Shared | Notes shared with others | Share details |
{
"event_type": "note.created",
"timestamp": "2025-01-06T14:30:00Z",
"data": {
"note_id": "note_abc123",
"meeting_title": "Sprint Planning",
"meeting_date": "2025-01-06",
"start_time": "2025-01-06T14:00:00Z",
"end_time": "2025-01-06T14:30:00Z",
"duration_minutes": 30,
"attendees": [
{
"name": "Sarah Chen",
"email": "[email protected]"
}
],
"summary": "Discussed Q1 priorities...",
"action_items": [
{
"text": "Review PRs",
"assignee": "@mike",
"due_date": "2025-01-08"
}
],
"key_points": [
"Agreed on feature freeze date",
"Sprint velocity improving"
],
"transcript_available": true,
"granola_url": "https://app.granola.ai/notes/note_abc123"
}
}
{
"event_type": "note.updated",
"timestamp": "2025-01-06T15:00:00Z",
"data": {
"note_id": "note_abc123",
"changes": {
"summary": {
"old": "Discussed Q1 priorities...",
"new": "Finalized Q1 priorities..."
},
"action_items": {
"added": [{"text": "New action", "assignee": "@alex"}],
"removed": []
}
},
"updated_by": "[email protected]"
}
}
# Create Catch Hook in Zapier
Trigger: Webhooks by Zapier
Event: Catch Hook
URL: https://hooks.zapier.com/hooks/catch/YOUR_HOOK_ID/
# Configure in Granola (via Zapier integration)
Granola → Zapier → Your Webhook
// Express.js webhook handler
const express = require('express');
const app = express();
app.use(express.json());
app.post('/webhook/granola', (req, res) => {
const event = req.body;
console.log(`Received event: ${event.event_type}`);
switch (event.event_type) {
case 'note.created':
handleNewNote(event.data);
break;
case 'note.updated':
handleNoteUpdate(event.data);
break;
default:
console.log('Unknown event type');
}
res.status(200).json({ received: true });
});
async function handleNewNote(data) {
// Process new meeting notes
console.log(`New note: ${data.meeting_title}`);
// Extract action items
for (const action of data.action_items) {
await createTask(action);
}
// Send notification
await notifyTeam(data);
}
app.listen(3000);
from flask import Flask, request, jsonify
import json
app = Flask(__name__)
@app.route('/webhook/granola', methods=['POST'])
def granola_webhook():
event = request.json
event_type = event.get('event_type')
data = event.get('data')
if event_type == 'note.created':
process_new_note(data)
elif event_type == 'note.updated':
process_note_update(data)
return jsonify({'status': 'ok'}), 200
def process_new_note(data):
print(f"Processing: {data['meeting_title']}")
# Create issues for action items
for action in data.get('action_items', []):
create_github_issue(action)
# Post to Slack
post_to_slack(data)
if __name__ == '__main__':
app.run(port=3000)
# Filter by meeting type
Filter Step:
Condition:
meeting_title contains "sprint"
OR meeting_title contains "planning"
OR attendees count > 3
Action: Continue
# Filter by content
Filter Step:
Condition:
summary contains "decision"
OR action_items exists
Action: Continue
// Zapier Code Step
const data = inputData;
// Only process if has action items
if (!data.action_items || data.action_items.length === 0) {
return { skip: true };
}
// Only process external meetings
const externalDomains = ['client.com', 'partner.org'];
const hasExternal = data.attendees.some(a =>
externalDomains.some(d => a.email.includes(d))
);
if (!hasExternal) {
return { skip: true };
}
return { process: true, ...data };
Event Flow:
Meeting Ends (T+0)
↓
Notes Ready (T+2 min)
↓
Webhook Fires (T+2.1 min)
↓
Slack Notification (T+2.2 min)
Total Latency: ~2-3 minutes
Event Flow:
Notes Created → Queue
↓
Every 15 minutes:
- Aggregate notes
- Generate digest
- Send single notification
Use Case: Reduce notification noise
Event Received:
│
├── If external attendee → CRM Update
│
├── If action items > 3 → Create Project
│
├── If duration > 60 min → Request Summary
│
└── Default → Standard Processing
async function processWithRetry(data, maxRetries = 3) {
for (let attempt = 1; attempt <= maxRetries; attempt++) {
try {
await processEvent(data);
return { success: true };
} catch (error) {
console.error(`Attempt ${attempt} failed:`, error);
if (attempt === maxRetries) {
await notifyError(data, error);
return { success: false, error };
}
// Exponential backoff
await sleep(Math.pow(2, attempt) * 1000);
}
}
}
On Error:
1. Log error details
2. Store failed event in queue
3. Alert ops team
4. Retry after 1 hour
5. If still failing, archive for manual review
// Log all events for debugging
function logEvent(event) {
const log = {
timestamp: new Date().toISOString(),
event_type: event.event_type,
note_id: event.data.note_id,
meeting_title: event.data.meeting_title,
processing_time: Date.now()
};
console.log(JSON.stringify(log));
}
| Metric | Description | Alert Threshold |
|---|---|---|
| Events/hour | Processing volume | > 100/hr |
| Latency | Time to process | > 30 seconds |
| Error rate | Failed events | > 5% |
| Queue depth | Pending events | > 50 |
Proceed to granola-performance-tuning for optimization techniques.
Guide developers through setting up development environments with proper tools, dependencies, and configurations
Implement Exa lint rules, policy enforcement, and automated guardrails. Use when setting up code quality rules for Exa integrations, implementing pre-commit hooks, or configuring CI policy checks for Exa best practices. Trigger with phrases like "exa policy", "exa lint", "exa guardrails", "exa be...
Configure CI/CD pipelines for Documenso integrations. Use when setting up automated testing, deployment pipelines, or continuous integration for Documenso projects. Trigger with phrases like "documenso CI", "documenso GitHub Actions", "documenso pipeline", "documenso automated testing".
Build check model availability and implement fallback chains. Use when building resilient systems or handling model outages. Trigger with phrases like 'openrouter availability', 'openrouter fallback', 'openrouter model down', 'openrouter health check'.
Configure Langfuse enterprise organization management and access control. Use when implementing team access controls, configuring organization settings, or setting up role-based permissions for Langfuse projects. Trigger with phrases like "langfuse RBAC", "langfuse teams", "langfuse organization"...
Execute compliance and security auditing for Cursor usage. Triggers on "cursor compliance", "cursor audit", "cursor security review", "cursor soc2", "cursor gdpr". Use when analyzing or auditing cursor compliance audit. Trigger with phrases like "cursor compliance audit", "cursor audit", "cursor".
Configure Apollo.io CI/CD integration. Use when setting up automated testing, continuous integration, or deployment pipelines for Apollo integrations. Trigger with phrases like "apollo ci", "apollo github actions", "apollo pipeline", "apollo ci/cd", "apollo automated tests".
Create robust Python automation with full logging and safety checks. Use when tasks need complex data processing, authenticated API work, conditional file operations, or error handling beyond simple shell commands.
Configure PostHog across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific PostHog configurations. Trigger with phrases like "posthog environments", "posthog staging", "po...
Expert in designing and building autonomous AI agents. Masters tool use, memory systems, planning strategies, and multi-agent orchestration. Use when: build agent, AI agent, autonomous agent, tool use, function calling.
Validate insecure deserialization checker operations. Auto-activating skill for Security Fundamentals. Triggers on: insecure deserialization checker, insecure deserialization checker Part of the Security Fundamentals skill category. Use when working with insecure deserialization checker functiona...
Manage path traversal finder operations. Auto-activating skill for Security Fundamentals. Triggers on: path traversal finder, path traversal finder Part of the Security Fundamentals skill category. Use when working with path traversal finder functionality. Trigger with phrases like "path traversa...
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience