Automating the pipeline between voice conversations and internal systems—such as knowledge bases, CRM platforms, custom data warehouses, and issue trackers—often begins with meeting recording tools. For software engineering and technical operations teams integrating Fireflies.ai, the default impulse is frequently to poll REST-style endpoints or periodically crawl export files. That approach quickly runs into rate limit exhaustion, unpredictable sync lag, and bloated payloads.
Fireflies.ai provides a developer stack centered on a dedicated GraphQL API (https://api.fireflies.ai/graphql) combined with Webhooks V2. At 365Finds, our direct recommendation is clear: build an asynchronous, event-driven pipeline anchored on Webhooks V2 event subscriptions, and execute surgical, field-level GraphQL queries only after processing has fully concluded. Never poll the API for completed meetings, and subscribe to meeting.summarized rather than meeting.transcribed if your target data includes AI summaries or action items.
This guide details the architectural design, security handshakes, schema structures, and concrete implementations required to deploy a production-grade integration.
Architecture: The Event-Driven Ingestion Pipeline
Relying on scheduled cron jobs to poll meeting records is inefficient because audio transcription and AI summarization are asynchronous, multi-stage background processes. A meeting might take anywhere from thirty seconds to several minutes to process depending on duration and platform load.
The optimal data ingestion pipeline follows four decoupled phases:
[Fireflies Audio Processing]
│
▼
[AI Summarization Engine]
│
▼
[Webhooks V2: meeting.summarized] ──(HTTP POST + HMAC SHA-256)──► [Ingestion Webhook Receiver]
│
(200 OK ACK)
│
▼
[Async Task Queue]
│
▼
[Fireflies GraphQL Endpoint] ◄──(POST query Transcript($id))──── [Worker Service]
│
(Surgical Payload:
sentences, summary, action_items)
│
▼
[Internal Knowledge Base / Jira / Data Warehouse]
Critical Architectural Decisions
- Event Selection (
meeting.summarizedvs.meeting.transcribed):
Fireflies.ai firesmeeting.transcribedas soon as speech-to-text finishes. At that exact moment, the AI summary engine is often still computing. If your worker fetches meeting data upon receivingmeeting.transcribed, thesummaryblock—includingaction_items,overview, andshorthand_bullet—will frequently returnnullor empty. If your target requires AI recaps or action items, subscribe tomeeting.summarized. - Immediate Webhook Acknowledgment:
The Fireflies webhook dispatcher enforces a strict 30-second timeout window. If your endpoint performs the subsequent GraphQL fetch, heavy parsing, or downstream database updates synchronously within the HTTP handler, network latency can easily cause the request to time out. When a timeout occurs on an established connection, Fireflies marks the delivery as failed and does not retry it. Always validate the HMAC signature, acknowledge the request with HTTP200 OKimmediately, and push the payload to a background worker or queue (such as Redis, SQS, or RabbitMQ). - Workspace Permissions (The Super Admin Factor):
By default, Fireflies API keys and Webhook subscriptions only deliver events for meetings owned by the authenticated user (organizer_email). If you are designing an engineering-wide or enterprise ingestion pipeline to capture calls across the entire team, the API key must belong to a Super Admin on an Enterprise plan.
Step 1: Authentication and Webhook Setup
Obtaining API Credentials
- Navigate to the Fireflies dashboard at
app.fireflies.ai. - Go to Integrations > Fireflies API.
- Generate and copy your API Key.
- Keep this key secure in your secret management system. Every request to
https://api.fireflies.ai/graphqlrequires the HTTP header:Authorization: Bearer <YOUR_API_KEY> Content-Type: application/json
Configuring Webhooks V2
Fireflies has deprecated Webhooks V1 (which sent a singular legacy payload without granular controls). All new integrations must use Webhooks V2:
- Open the Webhooks V2 configuration page.
- Enter your publicly accessible HTTPS endpoint (e.g.,
https://api.yourdomain.com/webhooks/fireflies). Fireflies does not follow HTTP redirects and requires valid TLS certificates. - Configure a Signing Secret. This generates an HMAC-SHA256 signature in every incoming request header (
X-Hub-Signature). - Under Event Subscriptions, select
meeting.summarized(andmeeting.transcribedonly if your system specifically requires raw text prior to summary generation). - Toggle Resend when a meeting's notes change if you want your system to receive updates when a meeting transcript is edited, re-transcribed in another language, or re-summarized.
Step 2: Implementing the Webhook Receiver
Fireflies sends webhook payloads as HTTP POST requests with a JSON body. The payload includes:
event: String identifying the event (e.g.,meeting.summarized).timestamp: Epoch milliseconds when the webhook delivery was sent.meeting_id: The unique transcript ID used across the GraphQL API.client_reference_id: Custom ID passed during programmatic audio uploads (if applicable).reprocessed_at: Optional timestamp present only when notes are regenerated or updated.
Node.js (Express) Implementation
const express = require('express');
const crypto = require('crypto');
const app = express();
const SIGNING_SECRET = process.env.FIREFLIES_WEBHOOK_SECRET;
// Use express.raw to preserve the exact raw body for signature verification
app.post(
'/webhooks/fireflies',
express.raw({ type: 'application/json' }),
(req, res) => {
const rawPayload = req.body.toString('utf8');
const signatureHeader = req.headers['x-hub-signature'];
// 1. Verify HMAC-SHA256 signature
if (!signatureHeader || !SIGNING_SECRET) {
return res.status(401).send('Missing signature or signing secret configuration.');
}
const expectedSignature =
'sha256=' +
crypto
.createHmac('sha256', SIGNING_SECRET)
.update(rawPayload, 'utf8')
.digest('hex');
const expectedBuffer = Buffer.from(expectedSignature);
const receivedBuffer = Buffer.from(signatureHeader);
if (
expectedBuffer.length !== receivedBuffer.length ||
!crypto.timingSafeEqual(expectedBuffer, receivedBuffer)
) {
return res.status(401).send('Invalid signature.');
}
// 2. Parse payload
const eventData = JSON.parse(rawPayload);
const { event, meeting_id, reprocessed_at } = eventData;
// 3. Immediately acknowledge to avoid 30s timeout
res.status(200).json({ received: true });
// 4. Dispatch processing asynchronously
if (event === 'meeting.summarized') {
enqueueMeetingFetchTask({
meetingId: meeting_id,
reprocessedAt: reprocessed_at || null,
});
}
}
);
function enqueueMeetingFetchTask(task) {
// Push task to a queue (e.g. BullMQ, Celery, or in-memory runner)
console.log(`Enqueued fetch task for meeting: ${task.meetingId}`);
}
app.listen(3000, () => console.log('Webhook server running on port 3000'));
Python (FastAPI / Starlette) Implementation
import hmac
import hashlib
import json
from fastapi import FastAPI, Request, HTTPException, BackgroundTasks
from fastapi.responses import JSONResponse
app = FastAPI()
SIGNING_SECRET = "your_webhook_signing_secret"
def verify_signature(raw_body: bytes, signature_header: str) -> bool:
if not signature_header:
return False
expected = "sha256=" + hmac.new(
SIGNING_SECRET.encode("utf-8"),
raw_body,
hashlib.sha256
).hexdigest()
return hmac.compare_digest(expected, signature_header)
async def process_meeting_summary(meeting_id: str, reprocessed_at: int | None):
# Asynchronous worker function to trigger GraphQL query
print(f"Triggering GraphQL fetch for meeting ID: {meeting_id}")
@app.post("/webhooks/fireflies")
async def handle_fireflies_webhook(request: Request, background_tasks: BackgroundTasks):
raw_body = await request.body()
signature = request.headers.get("X-Hub-Signature", "")
if not verify_signature(raw_body, signature):
raise HTTPException(status_code=401, detail="Invalid signature")
payload = json.loads(raw_body.decode("utf-8"))
event_type = payload.get("event")
meeting_id = payload.get("meeting_id")
reprocessed_at = payload.get("reprocessed_at")
if event_type == "meeting.summarized" and meeting_id:
background_tasks.add_task(process_meeting_summary, meeting_id, reprocessed_at)
return JSONResponse(status_code=200, content={"status": "accepted"})
Handling Resends and Deduplication
When "Resend when a meeting's notes change" is enabled, Fireflies dispatches a new meeting.summarized webhook whenever a summary is regenerated.
- In your database, store the
last_reprocessed_attimestamp for eachmeeting_id. - If an incoming payload contains
reprocessed_at, compare it against your stored value. - If
reprocessed_at <= last_reprocessed_at, ignore the event: it is a retry or an out-of-order delivery. - If
reprocessed_at > last_reprocessed_at, trigger the GraphQL fetch to update your downstream systems.
Step 3: Fetching Data via the Fireflies GraphQL API
Once the webhook triggers your worker service, make a POST request to https://api.fireflies.ai/graphql. The GraphQL schema allows you to retrieve exactly the fields your downstream systems require, avoiding excess payload transfer.
1. Fetching a Single Meeting's Transcript and Summary
To pull full speaker-diarized transcripts along with AI summaries and action items, query the transcript field using the meeting_id as the id argument:
query GetMeetingDetails($transcriptId: String!) {
transcript(id: $transcriptId) {
id
title
dateString
duration
organizer_email
participants
# AI Summary and Structured Insights
summary {
overview
action_items
shorthand_bullet
gist
bullet_gist
keywords
topics_discussed
}
# Speaker Directory
speakers {
id
name
}
# Speaker-Diarized Transcript Sentences
sentences {
index
speaker_name
speaker_id
start_time
end_time
text
raw_text
}
}
}
Variables:
{
"transcriptId": "ASxwZxCstx"
}
2. Understanding Core Schema Fields
| Field Path | Data Type | Engineering Purpose & Characteristics |
|---|---|---|
summary.action_items | String | AI-extracted tasks and next steps. Rendered as formatted text/markdown containing assignees and tasks. |
summary.overview | String | High-level comprehensive summary of the discussion. |
summary.gist | String | Ultra-concise single-sentence summary of the meeting. |
summary.bullet_gist | String | Quick bulleted breakdown prefixed with thematic context. |
sentences.text | String | Cleaned and finalized transcription text for the specific sentence. |
sentences.speaker_name | String | Diarized speaker name identified by voice print or calendar match. |
sentences.start_time | String | Millisecond offset from start of call (e.g., "1240"). |
sentences.end_time | String | Millisecond offset marking sentence completion. |
audio_url | String | Secure pre-signed URL to download audio. Expires after 24 hours (requires Pro+). |
[!TIP] Payload Size Optimization: Do not request
sentencesif you only need action items for an issue tracker. For an hour-long meeting, thesentencesarray can contain thousands of records, swelling the response from 5 KB to over 500 KB. Only select thesentencesfield when indexing text for full-text search or vector embeddings.
Step 4: Batch Fetching and Historical Backfilling
When building historical syncs or recovering from webhook delivery interruptions, use the transcripts query. The API allows filtering by date ranges, user, or keywords.
query FetchMeetingBatch(
$limit: Int
$skip: Int
$fromDate: DateTime
$toDate: DateTime
) {
transcripts(
limit: $limit
skip: $skip
fromDate: $fromDate
toDate: $toDate
) {
id
title
dateString
duration
summary {
action_items
overview
}
}
}
Variables:
{
"limit": 50,
"skip": 0,
"fromDate": "2026-10-01T00:00:00.000Z",
"toDate": "2026-10-27T00:00:00.000Z"
}
Pagination Rules
limit: Maximum allowable limit per query is50. Settinglimithigher than 50 will trigger a validation error.skip: Useskipin increments of 50 to paginate through result sets (skip: 0,skip: 50,skip: 100).- Date Filtering: Always use
fromDateandtoDatewith standard ISO 8601 strings (YYYY-MM-DDTHH:mm.sssZ). The legacydateargument (which accepted epoch milliseconds) is deprecated.
Step 5: Downstream Processing and Workflows
Once the GraphQL query returns the meeting data, downstream tasks typically split into two paths:
1. Parsing Action Items into Work Tracking Systems
The summary.action_items field returns a markdown or newline-delimited list of tasks generated by Fireflies AI. A common transformation pipeline:
- Parse tasks using regular expressions or an LLM parser to extract the task description and assigned speaker name.
- Match speaker names against internal identity systems (e.g., matching
"Sarah"tosarah@company.com). - Programmatically dispatch tasks via the Jira REST API, Linear GraphQL API, or Asana API with a backlink to the Fireflies meeting record (
transcript_url).
2. Structuring Diarized Sentences for RAG and Vector Search
If feeding an enterprise Retrieval-Augmented Generation (RAG) system:
- Group consecutive sentences by
speaker_idto assemble coherent dialogue blocks rather than ingesting single-sentence fragments. - Attach metadata to each chunk:
transcript_id,meeting_title,date,speaker_name, and timestamp range (start_timetoend_time). - Generate embeddings and insert into vector databases (such as PostgreSQL with pgvector, Pinecone, or Qdrant). This enables semantic queries such as: "What did engineering agree on regarding database indexing in the sprint review?"
Rate Limits, Errors, and Operational Guardrails
Understanding platform constraints prevents service degradation and dropped records.
Rate Limits by Subscription Plan
| Subscription Plan | Rate Limit (Per Minute) | Daily Request Cap | Architecture Recommendation |
|---|---|---|---|
| Free | 30 req/min | 500 req/day | Suitable only for local prototyping. Daily cap exhausts quickly during backfills. |
| Pro | 60 req/min | 5,000 req/day | Handles moderate personal or small team automation. |
| Business | 60 req/min pooled per paid seat (max 1,200) | No daily cap | Production-ready for departmental workflows. |
| Enterprise | 60 req/min pooled per paid seat (max 2,400) | No daily cap | Enterprise standard. Required if using Super Admin team-wide webhooks. |
Monitoring Rate Limit Headers
Every response from https://api.fireflies.ai/graphql includes informative rate limit headers:
X-RateLimit-Limit: Maximum requests permitted in the active window.X-RateLimit-Remaining: Remaining request count in the current window.X-RateLimit-Reset: Seconds remaining until the quota resets.Retry-After: Returned on HTTP429 Too Many Requests. Indicates how many seconds your client must sleep before retrying.
[!CAUTION] If a client receives a
429status code and continues firing requests during the cooldown window, those requests still count against the next window, extending the lock indefinitely. Always pause execution for the duration specified inRetry-After.
Webhook Retry Mechanics
Fireflies handles transient delivery failures (such as DNS errors, dropped TCP connections, 429s, and 5xx responses) with automatic exponential backoff:
- Retries occur up to 5 times over an interval of approximately 3 hours (30 seconds, 2 minutes, 10 minutes, 30 minutes, 2 hours).
- Non-transient errors (e.g., HTTP
400 Bad Request,401 Unauthorized,404 Not Found, or TLS certificate errors) fail permanently without retries. - Webhook endpoints that do not return a response within 30 seconds are marked as failed and not retried.
365Finds Implementation Checklist
Before moving your Fireflies.ai integration to production, audit your system against this operational checklist:
- Event Binding: Webhook subscription explicitly targets
meeting.summarizedrather thanmeeting.transcribedto ensure summaries are populated. - Security: Signature verification uses timing-safe HMAC-SHA256 (
crypto.timingSafeEqualorhmac.compare_digest) reading the raw HTTP request body. - Latency Control: Webhook controller acknowledges deliveries within <1 second with
200 OK, offloading GraphQL data fetching to an asynchronous task runner. - GraphQL Payload Pruning: Queries request only relevant subfields;
sentencesis omitted when only summaries or action items are needed. - Backfill Safety: Historical ingestion queries cap
limitat 50, use ISO 8601 timestamps, and implement exponential backoff upon encountering HTTP 429. - Resend Idempotency: The database tracks
reprocessed_attimestamps to avoid duplicate ticket generation during meeting note updates.