Quick overview
This workflow accepts an uploaded voice note via webhook (or manual test), transcribes it with OpenAI Whisper, cleans and summarizes it with an OpenAI chat model, and posts a structured note (title, summary, action items, tags, full text) to Slack with two human approval checkpoints.
How it works
- Receives an audio upload via a webhook (or runs manually for testing) and loads configuration like language, summary style, and target Slack channel.
- Sends the audio file to the OpenAI audio transcription endpoint (Whisper) and retrieves the raw transcript text.
- Performs light deterministic cleanup on the transcript (whitespace/casing) and prepares the text for review and summarization.
- Pauses execution until a reviewer approves (and optionally edits) the transcript via the wait node’s resume webhook.
- If approved, uses an OpenAI chat model to rewrite the transcript into clean prose and generate a JSON note with a title, summary, action items, and tags.
- Pauses again for a save/send confirmation, then posts the final formatted note to the configured Slack channel (or marks the run as discarded if not approved).
Setup
- Add OpenAI API credentials for both the transcription HTTP request (audio transcriptions) and the OpenAI chat model used for cleanup/summarization.
- Add Slack credentials with permission to post messages and set/confirm the target channel name in the configuration.
- Update the configuration values (STT API URL/model, language, summaryStyle, and notifyChannel) to match your preferences.
- Copy the voice-note upload webhook URL and configure your recording source to POST the audio as binary data in the
audioData field.
- Configure your review UI (or a simple approval mechanism) to call the two wait resume webhooks and include
reviewApproved and saveApproved booleans (and optionally reviewedTranscript).