Webhook Automate

Webhook Automate streamlines the process of extracting and summarizing YouTube video transcripts. Triggered by webhooks, it efficiently retrieves video details, analyzes transcripts, and delivers structured summaries via Telegram, enhancing communication and accessibility of video content.

7/4/2025
12 nodes
Medium
webhookmediumyoutubetranscriptersplitoutrespondtowebhooktelegramyoutubelangchainsummarizeadvancedintegrationapicommunicationbot
Categories:
Communication & MessagingWebhook TriggeredMedium Workflow
Integrations:
YoutubeTranscripterSplitOutRespondToWebhookTelegramYouTubeLangChainSummarize

Target Audience

This workflow is ideal for:
- Content Creators: Those who produce video content on YouTube and wish to automate the transcription and summarization of their videos.
- Educators: Individuals who want to create concise summaries of educational videos for easier comprehension and reference.
- Marketers: Professionals looking to analyze video content for insights and share summaries on platforms like Telegram.
- Developers: Tech-savvy users who want to integrate YouTube video processing into their applications or services.

Problem Solved

This workflow addresses the challenge of manually transcribing and summarizing YouTube videos, which can be time-consuming and labor-intensive. It automates the process by:
- Extracting video URLs from incoming webhooks.
- Retrieving video details and transcripts.
- Summarizing the transcript into a structured format for quick reference.
- Sending notifications with the summary via Telegram, ensuring timely communication.

Workflow Steps

  • Webhook Trigger: The workflow starts with a webhook that listens for incoming POST requests containing YouTube video URLs.
    2. Extract YouTube URL: The URL is extracted from the request body for further processing.
    3. YouTube Video ID Extraction: A custom code node extracts the video ID from the provided URL using a regex pattern.
    4. Fetch Video Details: The video details (such as title and description) are fetched using the YouTube API based on the extracted video ID.
    5. Transcribing Video: The workflow utilizes the YouTube Transcripter node to obtain the video transcript.
    6. Splitting Transcript: The transcript is split into manageable parts for easier summarization.
    7. Concatenating Text: The split transcript parts are concatenated into a single text block.
    8. Summarizing Transcript: The concatenated text is analyzed and summarized using a language model.
    9. Response Object Creation: A response object is created, compiling the summary, title, description, and video URL.
    10. Responding to Webhook: The workflow sends a response back to the initial webhook, providing the summarized information.
    11. Telegram Notification: Finally, a notification is sent to a specified Telegram channel or user with the video title and URL.
  • Customization Guide

    Users can customize this workflow by:
    - Modifying the Webhook Path: Change the webhook path to suit your application's endpoint requirements.
    - Adjusting the Summarization Guidelines: Edit the text in the 'Summarize & Analyze Transcript' node to change how the summary is structured or what key points to highlight.
    - Integrating Additional Nodes: Add more nodes for further processing, such as sending the summary to other platforms or storing it in a database.
    - Changing Notification Settings: Update the Telegram node parameters to customize the message format or target different Telegram channels or users.