Webhook icon
Schedule icon
Commands icon
Docker icon
If icon
SlackIncomingWebhook icon

Transcribe Audio with faster-whisper

Containerized faster-whisper transcription pipeline that notifies on ready, empty, or failed results.

Categories
AIData

Meeting recordings, voicemails, walkthrough videos — someone always has to listen. This blueprint downloads the audio, runs faster-whisper in a container, writes transcript.txt, and tells Slack the outcome: ready, empty (likely a mic problem), or failed (likely a bad URL). Every path says something, so silence never masquerades as success.

How it works

  1. transcribe (io.kestra.plugin.scripts.shell.Commands on Docker) installs faster-whisper + ffmpeg, downloads the audio, transcribes with the chosen model size, writes transcript.txt, and emits segments, duration, has_speech via the ::{"outputs": ...}:: protocol.
  2. check_transcript (io.kestra.plugin.core.flow.If) branches: speech found → notify_transcript_ready; no speech → alert_empty_transcript.
  3. The errors block alerts Slack on hard failures.
  4. Triggers: a Webhook (transcribe-audio) for upload pipelines plus a disabled weekly Schedule.

What you get

  • transcript.txt as an execution artifact.
  • Three-way outcome reporting: ready / empty / failed.
  • transcription_meta JSON for routing transcripts onward.

Who it's for

  • Teams recording standups, interviews, or support calls.
  • Support teams archiving voicemail with searchable text.
  • Anyone replacing "I'll transcribe it later" with a flow.

Why orchestrate this with Kestra

Whisper gives you a transcript; the flow adds the download, the artifacts, the branch on empty, the alerts, and the trigger wiring — and the next step (summarize with an LLM, push to a doc, index in search) is one task away.

Prerequisites

  • Outbound access to the audio URL and PyPI (model download on first run).
  • A Slack webhook.

Secrets

  • SLACK_WEBHOOK_URL: webhook for ready/empty/failure alerts.

Quick start

  1. Add the Slack webhook secret.
  2. Set audio_url and pick a model_size (base is a good first run).
  3. Run once and read transcription_meta plus transcript.txt.
  4. Wire the transcribe-audio webhook into your upload pipeline.

How to extend

  • Pipe transcript.txt into an LLM summarization task.
  • Loop over several audio URLs.
  • Store transcripts to S3 via an upload task.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.