Agent skill

Fireflies Webhooks Skill

Receive and verify Fireflies.ai webhooks. Use when setting up Fireflies webhook handlers, debugging X-Hub-Signature verification, or handling the meeting.transcribed, meeting.summarized, and meeting.bot_joined events from Webhooks V2. Also covers the legacy V1 scheme.

Install this skill

npx skills add hookdeck/webhook-skills --skill fireflies-webhooks


This skill targets Webhooks V2, the current scheme. V1 is deprecated and new V1 webhooks can no longer be saved, so build new integrations against V2. Existing V1 webhooks keep delivering, and the uploadAudio mutation's per-upload webhook URL still sends the V1 payload shape, so V1 is documented as a legacy path below.

When to Use This Skill

  • Setting up Fireflies.ai webhook handlers (Webhooks V2)
  • Debugging Fireflies signature verification failures
  • Understanding the X-Hub-Signature header and its sha256= prefix
  • Handling meeting.transcribed, meeting.summarized, or meeting.bot_joined
  • Reacting to meeting_id / client_reference_id from an uploadAudio upload
  • Migrating an existing V1 handler to V2

Which Version Am I On?

The fastest tell is the payload — V2 has event and snake_case fields, V1 has eventType and camelCase fields. Fireflies' migration table gives both the same signature header and format:

V2 (this skill's default)V1 (legacy)
Header valuesha256=<hex>sha256=<hex> (per Fireflies' migration table)
Signature headerX-Hub-SignatureX-Hub-Signature
Event fieldeventeventType
Event namesmeeting.transcribed, meeting.summarized, meeting.bot_joinedTranscription completed
Meeting ID fieldmeeting_idmeetingId
Reference fieldclient_reference_idclientReferenceId
Timestamp fieldtimestamp (unix ms)not sent
Signing secretoptional — no header sent when unsetviewable, no longer editable
Event selectionsubscribe per webhooknone (single event)
Configured atWebhooks V2 configuration pageSettings > Developer Settings (read-only)
Response deadline2xx within 30s (connect within 10s)not documented

Header names are case-insensitive, so read them lowercased in both versions.

Verification (core)

Fireflies V2 signs the raw request body with HMAC-SHA256 keyed on the signing secret you configured at webhook setup. The digest is hex-encoded, prefixed with sha256=, and sent in the X-Hub-Signature header. Compare with a timing-safe function. The docs state the raw body is what is signed, so there is no ambiguity here (unlike V1 — see the hedge in the legacy section).

There is no official Fireflies SDK, so verification is manual in every framework.

The signing secret is optional. If you do not configure one at webhook setup, Fireflies sends no X-Hub-Signature header at all — confirmed on a live test delivery. Decide deliberately: either require a secret and reject unsigned deliveries, or accept them with a loud warning. The examples in this skill warn and accept so an unconfigured setup works end to end, and reject when a secret is configured but the signature is missing or wrong. Configure a secret in production.

Node:

const crypto = require('crypto');

function verifyFirefliesWebhook(rawBody, signatureHeader, secret) {
  if (!signatureHeader || !secret) return false; // cannot verify
  if (!signatureHeader.startsWith('sha256=')) return false; // V2 requires the prefix

  const receivedHex = signatureHeader.slice('sha256='.length);
  const expectedHex = crypto.createHmac('sha256', secret).update(rawBody).digest('hex');

  try {
    return crypto.timingSafeEqual(
      Buffer.from(receivedHex, 'hex'),
      Buffer.from(expectedHex, 'hex')
    );
  } catch {
    return false; // different lengths / non-hex header = invalid
  }
}

Python:

import hmac, hashlib

def verify_fireflies_webhook(raw_body: bytes, signature_header: str, secret: str) -> bool:
    if not signature_header or not secret:  # cannot verify
        return False
    if not signature_header.startswith("sha256="):  # V2 requires the prefix
        return False

    expected = "sha256=" + hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(signature_header, expected)

For complete handlers with route wiring, event dispatch, and tests, see:

Common Event Types

Fireflies sends the event name in the JSON body as event — there is no event-type header. You subscribe to events per webhook, and only subscribed events are delivered.

event valueTriggered When
meeting.transcribedA meeting has been processed and its transcript is ready
meeting.summarizedThe AI summary for a meeting has been generated
meeting.bot_joinedThe Fireflies notetaker bot joined a meeting

For the full webhook reference, see Fireflies Webhooks V2.

Payload Structure

{
  "event": "meeting.transcribed",
  "timestamp": 1710876543210,
  "meeting_id": "ASxwZxCstx",
  "client_reference_id": "be582c46-4ac9-4565-9ba6-6ab4264496a8"
}
FieldTypeRequiredDescription
eventstringyesThe event name, e.g. meeting.transcribed
timestampnumberyesUnix timestamp in milliseconds when this delivery was sent; new on every retry
meeting_idstringyesID of the meeting — the same value as the transcript ID
client_reference_idstringnoCustom identifier you set at upload, for correlation
reprocessed_atnumbernoOnly on a resend after the meeting's transcript or summary changed: Unix ms of that change, the same across retries

The webhook is a notification, not the transcript. After verifying, query the Fireflies GraphQL API with meeting_id to fetch sentences, summary, and metadata.

Delivery

  • Return a 2xx within 30 seconds. A delivery that connects but gets no response in time is marked failed and not retried.
  • Connect failures, network errors, 429 and 5xx are retried up to 5 times, at 30 seconds, 2 minutes, 10 minutes, 30 minutes and 2 hours. Other 4xx responses are permanent.
  • Each event is sent once per meeting unless Resend when a meeting's notes change is on. Deduplicate on event + meeting_id + reprocessed_at (absent on a first delivery), never on timestamp.

Important Headers

HeaderDescription
X-Hub-Signaturesha256= + hex HMAC-SHA256 of the raw body. Omitted entirely when no signing secret is configured.
Content-Typeapplication/json
User-AgentIdentifies the sender, e.g. Fireflies-Webhook/2.0. Do not rely on it for routing.
X-Webhook-Delivery-IdObserved but not documented. A live test delivery carried one. Useful for logging, but it is not in the published spec and nothing says whether it repeats across retries, so don't key idempotency on it.

Environment Variables

FIREFLIES_WEBHOOK_SECRET=your_signing_secret   # Optional in Fireflies; set one in production

Local Development

# Start tunnel (no account needed)
npx hookdeck-cli listen 3000 fireflies --path /webhooks/fireflies

Use the URL Hookdeck prints as your webhook URL on the Fireflies Webhooks V2 configuration page.

Legacy: Webhooks V1

V1 is deprecated and new V1 webhooks can no longer be saved, but existing V1 webhooks keep delivering. Use this section only when maintaining one, or when handling the uploadAudio mutation's per-upload webhook, which still sends the V1 payload shape.

Fireflies' migration table lists the same signature for V1 as for V2: X-Hub-Signature with sha256=<hex>. Earlier versions of this skill said V1 sent a bare hex digest. The V1 verifier in references/verification.md follows the current docs and also accepts a bare digest.

V1 payload and event:

{
  "meetingId": "ASxwZxCstx",
  "eventType": "Transcription completed",
  "clientReferenceId": "be582c46-4ac9-4565-9ba6-6ab4264496a8"
}
eventType valueTriggered When
Transcription completedA meeting has been processed and its transcript is ready

An existing V1 webhook's secret can be viewed, but no longer changed, under Settings → Developer Settings → Webhook → View Configuration. When you migrate, enter it as the V2 Signing Secret.

Reference Materials


Repository

hookdeck/webhook-skills

v0.2.0 · MIT · Updated Aug 4, 2026

View on GitHub →