Skip to content
Studio1HQPublic

About

Automate meeting transcripts → Linear issues, risks, decisions & Slack

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Brieflane Meeting Automation with Corsair: Turn meeting transcripts into Linear issues, risks, decisions and Slack posts

Brieflane Meeting Automation with Corsair

Turn meeting transcripts into Linear issues, risks, decisions and Slack posts

A Next.js app that takes Fireflies meeting webhooks, extracts decisions and risks, drafts Linear issues with OpenAI and posts summaries to Slack. Corsair wires the three services together.


Built by Studio1 Built with Corsair

Corsair docs  ·  Corsair  ·  More examples  ·  studio1hq.com


Overview

Brieflane is a small ops app that ingests meeting data from Fireflies, pulls the summary and transcript, analyzes decisions and risks, drafts Linear issues, and can post summaries or issues to Slack. Corsair is the central orchestrator. It wires Fireflies, Linear and Slack together and the app exposes the webhook endpoint that starts the flow.

Corsair is a developer SDK that connects third-party services through one API. You register plugins once, and Corsair handles auth, credential encryption and method routing for each service.

Brieflane app

Features

  • Draft Linear issues: issues are drafted from meeting content.
  • Decisions and risks: extracted and saved for each meeting run.
  • Slack posting: summaries or issues can be posted to Slack through the Corsair Slack plugin.
  • Fallback content: a default summary and transcript lets you test without paid Fireflies access.
  • AI chat agent: a chat panel for meeting, Slack and Linear actions, using the OpenAI Agents flow through Corsair's MCP adapter.
  • Local storage: a SQLite database (corsair.db) holds runs, drafts and logs.

Tech stack

Layer Tool
Framework Next.js, React, tRPC
Integrations Corsair with the Fireflies, Linear and Slack plugins
Meetings Fireflies
Issues Linear
Messaging Slack
LLM OpenAI (OpenAI Agents SDK)
Database SQLite (better-sqlite3)

Getting started

Prerequisites

  • Node.js 18 or later
  • A Fireflies account
  • A Linear API key
  • A Slack bot token and signing secret, if you use Slack
  • An OpenAI API key
  • A value for CORSAIR_KEK
  • ngrok and Postman (or any HTTP client) to test the webhook locally

Installation

git clone https://github.com/Studio1HQ/brieflane.git
cd brieflane
npm install

Environment variables

Create a .env file in the project root (see .env.example).

Variable Description
FIREFLIES_API_KEY Fireflies API key. See Fireflies credentials.
FIREFLIES_WEBHOOK_SECRET Fireflies webhook secret.
LINEAR_API_KEY Linear API key. See Linear credentials.
SLACK_BOT_TOKEN Slack bot token (xoxb-...). See Slack credentials.
SLACK_SIGNING_SECRET Slack signing secret.
OPENAI_API_KEY OpenAI key. Without it the app skips AI analysis and draft issues are not created.
CORSAIR_KEK A secure value used by Corsair for credential encryption.

Run

Create the SQLite tables, then start the app:

node setup-app-tables.cjs
npm run dev

The app runs at http://localhost:3000. To test the webhook:

  1. In Fireflies, upload a meeting recording or join a real meeting. Open it from My Meetings and copy the meeting ID from the URL.
  2. Expose the local server with ngrok http 3000.
  3. Send a POST request (for example from Postman) to https://<your-ngrok-url>/api/webhook with the header Content-Type: application/json and a raw JSON body:
{
  "eventType": "Transcription",
  "meetingId": "your_meeting_id_here",
  "clientReferenceId": "test-session"
}

Replace meetingId with the ID you copied. clientReferenceId can be any name. A 200 OK means the webhook was processed. The generated data then appears in the app.

More screenshots

Fireflies My Meetings list

Meeting ID in the Fireflies URL

How it works

  1. Webhook: Fireflies sends meeting data to /api/webhook.
  2. Fetch: the Corsair Fireflies plugin fetches the transcript and summary.
  3. Fallback: if the transcript or summary is unavailable (for example on a free Fireflies plan), the app uses the default summary and transcript defined in src/app/api/webhook/route.ts. Edit it to test other scenarios.
  4. Analyze: if OPENAI_API_KEY is set, the OpenAI Agents flow through Corsair's MCP adapter generates a short meeting title, draft Linear issues, decisions and risks.
  5. Persist: meeting runs, decisions, risks and draft issues are stored in corsair.db.
  6. Slack: summaries or issues can be posted through the Corsair Slack plugin.

Key files:

  • src/server/corsair.ts: bootstraps Corsair and registers the Fireflies, Linear and Slack plugins.
  • src/app/api/webhook/route.ts: accepts webhook payloads, fetches data, falls back if needed, runs AI generation and stores results.
  • src/app/api/chat/route.ts: the AI agent for chat-based actions.
  • setup-app-tables.cjs: creates the SQLite tables.

Troubleshooting:

  • If the transcript fetch fails and the fallback is used, check your Fireflies plan and API access.
  • If draft issues are missing, check that OPENAI_API_KEY is set.
  • If Slack messages do not appear, check that the Slack app is installed and has the required permissions.

Resources



Studio1

Built by Studio1, the technical content and DevRel partner for devtool teams. Made with Corsair.
Browse more open-source examples at github.com/Studio1HQ.

Website Book a call X LinkedIn

studio1hq.com · Technical content, docs, video and DevRel for devtools

About

Automate meeting transcripts → Linear issues, risks, decisions & Slack

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages