Fetch/get youtube video description from video url

:bullseye: What is your goal?

I want to fetch/get the description of a youtube video from the video URL and then output it into an LLM module.
The idea/goal is to use this to automatically create social posts, with a summary and link back to the video.

:thinking: What is the problem & what have you tried?

I’ve connected the Youtube API module and have a google sheet of video URLs to input into it.
But I can’t work out how to get the description from the specific video.
Can you help?

YouTube API needs the video ID, not the full URL.

Use this Make flow:

Google Sheets > Get a row
Video URL example:
https://www.youtube.com/watch?v=abc123XYZ

Tools > Text parser / Match pattern
Extract the video ID with regex:

(?:v=|youtu.be/|shorts/)([A-Za-z0-9_-]{11})

Use the first captured group as videoId.

YouTube > Make an API call
Method: GET
URL:

/videos?part=snippet&id={{videoId}}

The YouTube videos.list endpoint returns video metadata, and snippet.description is where the description lives. Make’s YouTube app also supports a generic Make an API call module.

Then map this into your LLM module:

Title: {{items[1].snippet.title}}
Description: {{items[1].snippet.description}}
Video URL: {{Google Sheets URL}}

In Make, the output path will likely look like:

items-> snippet → description

Recommended prompt for the LLM:

Create 3 social media posts from this YouTube video.

Video title:
{{title}}

Video description:
{{description}}

Link:
{{url}}

Make the posts concise, engaging, and include the link.

Main gotcha: if your URLs include youtu.be, /shorts/, or normal watch?v=, the regex above handles all three.

Or use a Make AI agent (NEW) give it the Youtube API call as a tool, provide it with the Youtube URL from your sources and setup the AI agent prompt to extract the Video title, description, etc. from the url. Demo below just on that. Just add your other modules and map them correctly.

Huge thanks. I’ll give this a whirl. Appreciate your help :folded_hands: