fireflies-webhooks-events
Implement Fireflies.ai webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Fireflies.ai event notifications securely. Trigger with phrases like "fireflies webhook", "fireflies events", "fireflies webhook signature", "handle fireflies events", "fireflies notifications".
- License 许可
- MIT
- 最近更新
- 2026-03-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- fireflies-webhooks-events
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Implement Fireflies.ai webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Fireflies.ai event notifications securely. Trigger with phrases like "fireflies webhook", "fireflies events", "fireflies webhook signature", "handle fireflies events", "fireflies notifications".
- allowed-tools
- Read, Write, Edit, Bash(curl:*)
- compatible-with
- claude-code, codex, openclaw
03 SKILL.md 正文
Fireflies.ai Webhooks & Events
Overview
Handle Fireflies.ai webhooks for real-time meeting transcript notifications. Fireflies sends webhook events when meeting transcripts are ready, when action items are extracted, and when meeting summaries complete.
Prerequisites
- Fireflies.ai account with API access (Business or Enterprise plan)
- Fireflies API key stored in
FIREFLIES_API_KEYenvironment variable - HTTPS endpoint for receiving webhook deliveries
- Understanding of Fireflies GraphQL API at
api.fireflies.ai/graphql
Webhook Event Types
| Event | Trigger | Payload |
|---|---|---|
Transcription completed |
Transcript ready | Meeting ID, transcript text, speakers |
Meeting started |
Bot joins meeting | Meeting ID, participants |
Meeting ended |
Bot leaves meeting | Meeting ID, duration |
Summary ready |
AI summary generated | Summary, action items, keywords |
Upload processed |
Audio file processed | Transcript ID, duration |
Instructions
Step 1: Register Webhook via GraphQL
const FIREFLIES_API = "https://api.fireflies.ai/graphql";
async function registerWebhook(url: string) {
const mutation = `
mutation AddWebhook($input: WebhookInput!) {
addWebhook(input: $input) {
id
url
events
is_active
}
}
`;
const response = await fetch(FIREFLIES_API, {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${process.env.FIREFLIES_API_KEY}`,
},
body: JSON.stringify({
query: mutation,
variables: {
input: {
url,
events: ["Transcription completed", "Summary ready"],
is_active: true,
},
},
}),
});
return response.json();
}
Step 2: Handle Transcript Events
import express from "express";
const app = express();
app.use(express.json());
app.post("/webhooks/fireflies", async (req, res) => {
const { event_type, meeting_id, data } = req.body;
res.status(200).json({ received: true }); # HTTP 200 OK
switch (event_type) {
case "Transcription completed":
await handleTranscriptReady(meeting_id, data);
break;
case "Summary ready":
await handleSummaryReady(meeting_id, data);
break;
}
});
async function handleTranscriptReady(meetingId: string, data: any) {
// Fetch full transcript via GraphQL
const transcript = await fetchTranscript(meetingId);
const { title, speakers, sentences, duration } = transcript;
console.log(`Transcript ready: "${title}" (${duration}min, ${speakers.length} speakers)`);
// Store transcript
await db.transcripts.create({
meetingId,
title,
speakers,
sentences,
duration,
processedAt: new Date(),
});
}
Step 3: Fetch Full Transcript Data
async function fetchTranscript(meetingId: string) {
const query = `
query GetTranscript($id: String!) {
transcript(id: $id) {
id
title
date
duration
speakers {
name
email
}
sentences {
text
speaker_name
start_time
end_time
}
summary {
overview
action_items
keywords
}
}
}
`;
const response = await fetch(FIREFLIES_API, {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${process.env.FIREFLIES_API_KEY}`,
},
body: JSON.stringify({ query, variables: { id: meetingId } }),
});
const result = await response.json();
return result.data.transcript;
}
Step 4: Process Action Items
async function handleSummaryReady(meetingId: string, data: any) {
const transcript = await fetchTranscript(meetingId);
const { summary } = transcript;
// Create tasks from action items
for (const item of summary.action_items) {
await taskManager.createTask({
title: item,
source: `Meeting: ${transcript.title}`,
meetingId,
assignee: extractAssignee(item, transcript.speakers),
});
}
// Send Slack digest
await sendSlackDigest({
title: transcript.title,
overview: summary.overview,
actionItems: summary.action_items,
keywords: summary.keywords,
});
}
Error Handling
| Issue | Cause | Solution |
|---|---|---|
| Webhook not firing | Inactive webhook | Verify is_active via GraphQL query |
| Empty transcript | Short meeting | Minimum meeting duration required |
| Missing speakers | No calendar match | Ensure calendar integration is connected |
| Auth error on GraphQL | Invalid API key | Regenerate key in Fireflies dashboard |
Examples
Query Recent Transcripts
set -euo pipefail
curl -X POST https://api.fireflies.ai/graphql \
-H "Authorization: Bearer $FIREFLIES_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ transcripts(limit: 5) { id title date duration } }"}'
Resources
Next Steps
For deployment setup, see fireflies-deploy-integration.
Output
- Configuration files or code changes applied to the project
- Validation report confirming correct implementation
- Summary of changes made and their rationale
04 同仓库更多 Skills
azure-apim-architecture
Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.
apiops-deployment
Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep/Terraform), CI/CD pipelines (GitHub Actions/Azure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.
apim-policy-authoring
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
api-security-review
Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.
jira-cli
Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.
calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.