Skip to main content

Overview

The VTT Parse tool parses WebVTT (.vtt) subtitle and transcript files — such as those exported by meeting-recording and video platforms — and returns either the plain speech text or a structured array of cues with timestamps. This makes it easy to feed transcripts into summarization, translation, or analysis steps.

Key Features

  • VTT_PARSE
    • Parse a WebVTT file from a URL.
    • Inputs: file_url (URL of the WebVTT file) and output_format (txt or array, default txt).
    • txt returns plain speech text with timestamps and markup removed, one cue per line (result.text).
    • array returns structured cues (result.cues), each with index, optional id, start and end timestamps in HH:MM:SS.mmm format, and the cue text.

Authentication

No authentication required. The tool works directly with file URLs.

Example: Meeting Transcript to Summary

Example: Structured Cues with Timestamps

Each element of {{steps.parse_subtitles.result.cues}} contains index, start, end, and text, so downstream steps can reference specific moments in the recording.

Notes

  • Empty cues are skipped; index is assigned sequentially starting from 1 over the remaining cues.
  • In txt mode, formatting markup inside cues is stripped and only the text content is kept.
  • If the file cannot be downloaded (non-OK HTTP status), the tool returns a DownloadError; if the content is not valid VTT and no cues can be parsed, it returns a ParseError.