Latenode

Automatically generate optimized YouTube video metadata

This automation template is designed to streamline the process of generating comprehensive metadata for YouTube videos.

It automatically scrapes the latest video from a specified YouTube channel, checks if the metadata has not already been generated, and then uses a large language model to create a short preview, accurate timestamps, and relevant tags for the video. The formatted metadata is then updated back to the YouTube video, saving content creators and marketing teams valuable time and effort. The workflow integrates with YouTube, Apify for web scraping, and Mistral Cloud for the language model, providing a seamless end-to-end solution for enhancing video discoverability and engagement.

Updated Apr 6, 2026Est. run: 26sEst. cost: $0.0703
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how credits work →
Video, audio & media

Workflow preview

What this template does

  • Automatically extracts the latest video from a specified YouTube channel
  • Checks if the video's metadata has not been generated yet
  • Uses a large language model to create a video preview, timestamps, and tags
  • Updates the generated metadata back to the YouTube video
  • Provides a formatted metadata output for the YouTube video

How it works

1
Trigger

Monitor YouTube Channel

The automation starts by continuously monitoring a specified YouTube channel for new videos. It uses the YouTube Data API to detect when a new video is uploaded.

2
Action

Scrape Latest Video

When a new video is detected, the automation uses Apify to scrape the latest video from the YouTube channel. It collects the video's metadata, including the title, description, and timestamps.

3
Logic

Check for Recent Video

The automation then checks if the scraped video is recent, within the last 10 minutes, to ensure it is processing the most up-to-date content.

4
Logic

Check for Existing Metadata

Next, the automation checks if the video's metadata has already been generated. This prevents unnecessary processing of videos that have already been enhanced.

5
AI

Generate Metadata

If the video is recent and the metadata has not been generated, the automation uses a large language model in Mistral Cloud to generate comprehensive metadata for the video. This includes a short preview, accurate timestamps, and relevant tags.

6
Action

Format Metadata

The generated metadata is then formatted in a way that can be easily updated back to the YouTube video.

7
Action

Update YouTube Video

Finally, the automation updates the YouTube video with the newly generated metadata, improving the video's discoverability and engagement.

Setup guide

1

Add Apify Credentials

1. In the Latenode Credentials panel, add your Apify API credentials. This will allow the workflow to access the Apify platform for web scraping.

2

Configure Apify Scraper Node

1. Add an Apify node to your workflow. 2. In the node settings, configure the Apify actor, input parameters (such as the YouTube channel ID), and any necessary limits or options for the scraping process.

3

Add Mistral Cloud Credentials

1. In the Latenode Credentials panel, add your Mistral Cloud API credentials. This will allow the workflow to use the large language model for generating the video metadata.

4

Configure Mistral Cloud Node

1. Add a Mistral Cloud node to your workflow. 2. In the node settings, configure the prompts and parameters for generating the video metadata, including the short preview, timestamps, and tags.

5

Connect to YouTube

1. In the Latenode Credentials panel, add your YouTube API credentials or OAuth2 connection. This will allow the workflow to interact with the YouTube platform and update the video metadata.

Requirements

Apify account and API token for web scraping the latest video from the specified YouTube channel
Mistral Cloud API key and workspace access to generate the video metadata using the language model
YouTube Data API credentials to update the video metadata on the channel
Supabase database credentials to store the generated metadata and track which videos have been processed

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.

More templates

You might also like

Browse all templates →
Video, audio & media

Automate YouTube video uploads from Google Drive with AI metadata

This automation streamlines the process of uploading videos to YouTube, including transcription, metadata generation, and automatic publishing. It monitors a Google Drive folder for new video files, uses AI tools to generate optimized titles, descriptions, and tags, and then uploads the videos to a YouTube channel with the generated metadata. This solution targets content creators, marketing teams, and channel managers who want to automate the repetitive and time-consuming task of manual video uploads and metadata creation.

26s$0.0703
Video, audio & media

Sync new Google Drive videos to your YouTube channel

This automation template is designed to help users who need to regularly upload video content to YouTube. By monitoring a designated Google Drive folder for new video files, the automation will automatically upload those files to the user's connected YouTube channel as soon as they are added. This streamlines the content publishing process, saving time and ensuring timely updates to the YouTube channel.

Ns$0.0703
Video, audio & media

Automatically sync YouTube videos to cloud storage and extract transcripts

This automation template enables users to automatically extract transcripts and metadata from newly uploaded YouTube videos. It integrates with the ParsePrompt service to parse the video content and save the structured data to a designated destination, such as a cloud storage service or a database. This solution is designed for content creators, video producers, and marketing teams who need to efficiently manage and analyze their video assets. By automating the transcript and metadata extraction process, it streamlines video production workflows and ensures that valuable insights from video content are readily available for further analysis and utilization.

26s$0.0703