Turns each new recording into a Notion page holding its summary and transcript, and never files the same one twice.

UsesFireflies.aiNotionOpenAI

File recordings in Notion as summaries and transcripts

Every six hours, the recordings Fireflies has transcribed for you are checked and any not yet filed become a page in your Notion database. Each page holds an AI summary, with an overview, the key points and the follow-ups people agreed to, then the transcript itself, so the conversation is searchable rather than only playable.

A recording is matched to its page by a reference tag in the page title, so re-running never files the same conversation twice. The summary is written strictly from the transcript, with no advice, no opinions and no facts the recording does not contain. A recording whose transcript or summary comes back empty is left for the next run, not filed half finished, and the transcript is capped so Notion accepts the page; a page that is cut short says so and links to the full recording.

You need a Fireflies account and a Notion database to file into. Nothing is written into the database's columns beyond the page title, so it needs no particular fields.

Run every 6 hours.Run every 6 hours.
Set notionDatabaseId to blank.Set notionDatabaseId to blank.
Set maxRecordings to 5.Set maxRecordings to 5.
Set maxTranscriptLines to 60.Set maxTranscriptLines to 60.
Trim notionDatabaseId and save it as databaseId.Trim notionDatabaseId and save it as databaseId.
Set lineBudget to maxTranscriptLines multiplied by 1.Set lineBudget to maxTranscriptLines multiplied by 1.
If lineBudget is greater than 80If lineBudget is greater than 80
Yes
Change lineBudget to 80.Change lineBudget to 80.
No
No steps
If lineBudget is less than 1If lineBudget is less than 1
Yes
Change lineBudget to 1.Change lineBudget to 1.
No
No steps
Set recordingLimit to maxRecordings multiplied by 1.Set recordingLimit to maxRecordings multiplied by 1.
If recordingLimit is greater than 25If recordingLimit is greater than 25
Yes
Change recordingLimit to 25.Change recordingLimit to 25.
No
No steps
If recordingLimit is less than 1If recordingLimit is less than 1
Yes
Change recordingLimit to 1.Change recordingLimit to 1.
No
No steps
Fireflies.aiFireflies.aiList Fireflies meetings. Save it as recordings.List Fireflies meetings. Save it as recordings.
Set filed to 0.Set filed to 0.
Set skipped to 0.Set skipped to 0.
For each recording in recordings.meetings:For each recording in recordings.meetings:
If filed is greater than or equal to recordingLimitIf filed is greater than or equal to recordingLimit
Yes
Stop repeating.Stop repeating.
No
No steps
Trim recording.id and save it as recordingId.Trim recording.id and save it as recordingId.
If recordingId is empty or recordingId is “null”If recordingId is empty or recordingId is “null”
Yes
Add 1 to skipped.Add 1 to skipped.
Show in the output: “A recording came back with no id, so it was skipped.”.Show in the output: “A recording came back with no id, so it was skipped.”.
Skip to the next item.Skip to the next item.
No
No steps
Set marker to “[ref: recordingId]”.Set marker to “[ref: recordingId]”.
Trim recording.title and save it as recordingTitle.Trim recording.title and save it as recordingTitle.
If recordingTitle is empty or recordingTitle is “null”If recordingTitle is empty or recordingTitle is “null”
Yes
Change recordingTitle to “Untitled recording”.Change recordingTitle to “Untitled recording”.
No
No steps
Set filedAlready to false.Set filedAlready to false.
Set dedupeChecked to false.Set dedupeChecked to false.
Set existingPages to an empty list.Set existingPages to an empty list.
If a step below fails, save the error as searchErrorIf a step below fails, save the error as searchError
Try
Change existingPages to the pages from the Notion “Search pages” step.Change existingPages to the pages from the Notion “Search pages” step.
Change dedupeChecked to true.Change dedupeChecked to true.
On error
Show in the output: Could not check Notion for an existing page for recordingTitle, so it was left for the next run.Show in the output: Could not check Notion for an existing page for recordingTitle, so it was left for the next run.
If dedupeChecked is noIf dedupeChecked is no
Yes
Add 1 to skipped.Add 1 to skipped.
Skip to the next item.Skip to the next item.
No
No steps
For each existingPage in existingPages:For each existingPage in existingPages:
If existingPage.title contains marker (ignoring case)If existingPage.title contains marker (ignoring case)
Yes
Change filedAlready to true.Change filedAlready to true.
Stop repeating.Stop repeating.
No
No steps
If filedAlready is yesIf filedAlready is yes
Yes
Skip to the next item.Skip to the next item.
No
No steps
Set transcriptText to blank.Set transcriptText to blank.
Set recordingLink to blank.Set recordingLink to blank.
Set recordedOn to blank.Set recordedOn to blank.
If a step below fails, save the error as transcriptErrorIf a step below fails, save the error as transcriptError
Try
Fireflies.aiFireflies.aiGet transcript for meeting recordingId. Save it as transcript.Get transcript for meeting recordingId. Save it as transcript.
Trim transcript.text and save it as transcriptText.Trim transcript.text and save it as transcriptText.
Trim transcript.transcript_url and save it as recordingLink.Trim transcript.transcript_url and save it as recordingLink.
Trim transcript.date and save it as recordedOn.Trim transcript.date and save it as recordedOn.
On error
Show in the output: Could not read the transcript for recordingTitle, so nothing was filed for it.Show in the output: Could not read the transcript for recordingTitle, so nothing was filed for it.
If transcriptText is empty or transcriptText is “null”If transcriptText is empty or transcriptText is “null”
Yes
Add 1 to skipped.Add 1 to skipped.
Show in the output: No transcript text came back for recordingTitle, so it was left for the next run.Show in the output: No transcript text came back for recordingTitle, so it was left for the next run.
Skip to the next item.Skip to the next item.
No
No steps
Set promptBody to Recording title: recordingTitleSet promptBody to Recording title: recordingTitle Transcript: .
Set summaryPrompt to You are summarizing one recorded conversation so it can be found again later.Set summaryPrompt to You are summarizing one recorded conversation so it can be found again later. Write three parts, in this order: 1. A two-sentence overview of what the conversation was about. 2. A line reading 'Key points:' followed by up to six short lines, one per point. 3. A line reading 'Follow-ups:' followed by the actions people agreed to, one per line, or the single line 'None stated.' Rules you must follow: - Use ONLY what the transcript below says. Do not add any name, figure, date or fact that does not appear in it. - Do not give advice, opinions or recommendations of your own. - Write plain text. Do not use markdown, asterisks or hash marks. promptBody@transcriptText truncated to 12000 characters using “” as the ellipsis.
Set summary to blank.Set summary to blank.
If a step below fails, save the error as summaryErrorIf a step below fails, save the error as summaryError
Try
Trim the response text from the OpenAI “Ask OpenAI” step and save it as summary.Trim the response text from the OpenAI “Ask OpenAI” step and save it as summary.
On error
Show in the output: Could not write a summary for recordingTitle, so nothing was filed for it.Show in the output: Could not write a summary for recordingTitle, so nothing was filed for it.
If summary is empty or summary is “null”If summary is empty or summary is “null”
Yes
Add 1 to skipped.Add 1 to skipped.
Show in the output: No summary came back for recordingTitle, so it was left for the next run.Show in the output: No summary came back for recordingTitle, so it was left for the next run.
Skip to the next item.Skip to the next item.
No
No steps
Set recordedLabel to recordedOn.Set recordedLabel to recordedOn.
If recordedLabel is empty or recordedLabel is “null”If recordedLabel is empty or recordedLabel is “null”
Yes
Change recordedLabel to “not stated”.Change recordedLabel to “not stated”.
No
No steps
Set linkLabel to recordingLink.Set linkLabel to recordingLink.
If linkLabel is empty or linkLabel is “null”If linkLabel is empty or linkLabel is “null”
Yes
Change linkLabel to “not available”.Change linkLabel to “not available”.
No
No steps
Set blocks to an empty list.Set blocks to an empty list.
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
Set linesUsed to 0.Set linesUsed to 0.
Set transcriptTruncated to false.Set transcriptTruncated to false.
For each line in transcriptText split by a new line:For each line in transcriptText split by a new line:
If linesUsed is greater than or equal to lineBudgetIf linesUsed is greater than or equal to lineBudget
Yes
Change transcriptTruncated to true.Change transcriptTruncated to true.
Stop repeating.Stop repeating.
No
No steps
Trim line and save it as lineText.Trim line and save it as lineText.
If lineText is emptyIf lineText is empty
Yes
Skip to the next item.Skip to the next item.
No
No steps
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
Add 1 to linesUsed.Add 1 to linesUsed.
If transcriptTruncated is yesIf transcriptTruncated is yes
Yes
Add a record of object, type, and paragraph to the end of blocks and save it as blocks.Add a record of object, type, and paragraph to the end of blocks and save it as blocks.
No
No steps
Set pageTitle to “@recordingTitle truncated to 120 characters using “” as the ellipsis marker”.Set pageTitle to “@recordingTitle truncated to 120 characters using “” as the ellipsis marker”.
If a step below fails, save the error as notionErrorIf a step below fails, save the error as notionError
Try
NotionNotionCreate the page pageTitle in databaseId.Create the page pageTitle in databaseId. Content blocks: blocks
Add 1 to filed.Add 1 to filed.
On error
Add 1 to skipped.Add 1 to skipped.
Show in the output: Notion would not accept the page for recordingTitle, so it was left for the next run.Show in the output: Notion would not accept the page for recordingTitle, so it was left for the next run.
Show in the output: Filed filed recording(s) in Notion. Left for the next run: skipped.Show in the output: Filed filed recording(s) in Notion. Left for the next run: skipped.