loom-transcript

작성자: n8n-io

Loom 비디오 URL에서 전체 대본을 가져와 표시합니다. 사용자가 Loom 대본을 가져오거나 읽고자 할 때 사용하세요.

npx skills add https://github.com/n8n-io/n8n --skill loom-transcript

Loom Transcript Fetcher

Fetch the transcript from a Loom video using Loom's GraphQL API.

Instructions

Given the Loom URL: $ARGUMENTS

1. Extract the Video ID

Parse the Loom URL to extract the 32-character hex video ID. Supported URL formats:

  • https://www.loom.com/share/<video-id>
  • https://www.loom.com/embed/<video-id>
  • https://www.loom.com/share/<video-id>?sid=<session-id>

The video ID is the 32-character hex string after /share/ or /embed/.

2. Fetch Video Metadata

Use the WebFetch tool to POST to https://www.loom.com/graphql to get the video title and details.

Use this curl command via Bash:

curl -s 'https://www.loom.com/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'x-loom-request-source: loom_web_45a5bd4' \
  -H 'apollographql-client-name: web' \
  -H 'apollographql-client-version: 45a5bd4' \
  -d '{
    "operationName": "GetVideoSSR",
    "variables": {"id": "<VIDEO_ID>", "password": null},
    "query": "query GetVideoSSR($id: ID!, $password: String) { getVideo(id: $id, password: $password) { ... on RegularUserVideo { id name description createdAt owner { display_name } } } }"
  }'

3. Fetch the Transcript URLs

Use curl via Bash to call the GraphQL API:

curl -s 'https://www.loom.com/graphql' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'x-loom-request-source: loom_web_45a5bd4' \
  -H 'apollographql-client-name: web' \
  -H 'apollographql-client-version: 45a5bd4' \
  -d '{
    "operationName": "FetchVideoTranscript",
    "variables": {"videoId": "<VIDEO_ID>", "password": null},
    "query": "query FetchVideoTranscript($videoId: ID!, $password: String) { fetchVideoTranscript(videoId: $videoId, password: $password) { ... on VideoTranscriptDetails { id video_id source_url captions_source_url } ... on GenericError { message } } }"
  }'

Replace <VIDEO_ID> with the actual video ID extracted in step 1.

The response contains:

  • source_url — JSON transcript URL
  • captions_source_url — VTT (WebVTT) captions URL

4. Download and Parse the Transcript

Fetch both URLs returned from step 3 (if available):

  1. VTT captions (captions_source_url): Download with curl -sL "<url>". This is a WebVTT file with timestamps and text.
  2. JSON transcript (source_url): Download with curl -sL "<url>". This is a JSON file with transcript segments.

Prefer the VTT captions as the primary source since they include proper timestamps. Fall back to the JSON transcript if VTT is unavailable.

5. Present the Transcript

Format and present the full transcript to the user:

Video: [Title from metadata] Author: [Owner name] Date: [Created date]


0:00 - First transcript segment text...

0:14 - Second transcript segment text...

(continue for all segments)


Error Handling

  • If the GraphQL response contains a GenericError, report the error message to the user.
  • If both source_url and captions_source_url are null/missing, tell the user that no transcript is available for this video.
  • If the video URL is invalid or the ID cannot be extracted, ask the user for a valid Loom URL.

Notes

  • No authentication or cookies are required — Loom's transcript API is publicly accessible.
  • Only English transcripts are available through this API.
  • Transcripts are auto-generated and may contain minor errors.

n8n-io의 다른 스킬

n8n-cli
n8n-io
n8n CLI를 사용하여 n8n 인스턴스에서 워크플로, 자격 증명, 실행 등을 관리합니다. 사용자가 n8n과 상호작용하거나 워크플로를 자동화하도록 요청할 때 사용합니다.
official
create-issue
n8n-io
n8n 규칙에 따라 Linear 티켓이나 GitHub 이슈를 생성합니다. 사용자가 티켓 생성, 버그 제보, 이슈 열기, 또는 /create-issue를 요청할 때 사용하세요.
official
node-add-oauth
n8n-io
기존 n8n 노드에 OAuth2 자격 증명 지원을 추가합니다 — 자격 증명 파일을 생성하고, 노드를 업데이트하며, 테스트를 추가하고, CLI 상수를 동기화 상태로 유지합니다. 다음 경우에 사용하세요…
official
spec-driven-development
n8n-io
구현과 명세를 동기화합니다. .claude/specs/에 명세가 있는 기능을 작업할 때, 사용자가 /spec이라고 말할 때, 또는 시작할 때 사용합니다.
official
content-design
n8n-io
Product content designer for UI copy. Use when writing, reviewing, or auditing user-facing text: button labels, error messages, tooltips, empty states, modal…
official
create-issue
n8n-io
n8n 규칙에 따라 Linear 티켓 또는 GitHub 이슈를 생성합니다. 사용자가 티켓 생성, 버그 제보, 이슈 열기, 또는 /create-issue를 요청할 때 사용합니다.
official
agent-builder
n8n-io
타겟 n8n 에이전트의 빌드 구성(채팅 통합/트리거, MCP 서버, 노드 도구 리소스 로케이터 등)을 생성, 구성 또는 편집할 때 사용합니다.
official
create-pr
n8n-io
GitHub 풀 리퀘스트를 생성하며, check-pr-title CI 검증을 통과하는 적절한 형식의 제목을 사용합니다. PR 생성이나 변경 사항 검토 제출 시 사용합니다…
official