YouTube Viral Video to Social Media Carousel Generator
This automation finds recent viral videos on YouTube for a given topic, extracts key information, and automatically generates a shareable social media carousel for each video using Gamma, saving the results to a Google Sheet.
This automation streamlines the process of converting trending video content into engaging social media posts. Here’s how it works:
- Searches YouTube: It starts by searching YouTube for your specified topic, automatically filtering for videos uploaded within the last week and sorting them by the highest view count to identify trending content.
- Extracts Video Insights: The automation then visits the top video results, extracting crucial details such as the title, channel name, view and like counts, and a summary of the key talking points from the video's description.
- Generates Social Carousels: Using the extracted information, it connects to the Gamma API to generate a professional, ready-to-post social media carousel for each video. You can even specify a custom Gamma theme to maintain brand consistency.
- Saves to Google Sheets: Finally, it organizes all the generated content by saving the original video title and the link to its new Gamma carousel into a Google Sheet you provide, creating a simple content repository.
Usage Ideas
- Quickly create a week's worth of social media content based on trending topics in your industry.
- Perform competitive analysis by summarizing and analyzing the top-performing videos from competitors.
- Repurpose your own long-form video content into a series of social media carousels.
- Generate summaries of educational or news-related videos to share with your team or audience.
- Stay up-to-date on industry trends by automatically summarizing the most-viewed videos on a topic.
Customization Ideas
This template provides a powerful base that can be easily customized to fit your specific content strategy. You can tailor it to:
- Change the Content Source: While it defaults to YouTube, you can modify the automation to pull videos from other platforms.
- Adjust Search Criteria: Broaden or narrow your search by changing the time frame (e.g., last month) or sorting videos by relevance instead of view count.
- Define Your Output: Instead of saving to Google Sheets, you can have the results sent to a Slack channel, added to an Airtable base, or stored in another application.
- Control the Volume: Easily change the number of videos you want to process in each run, from a single video to the top ten.
- Customize the Carousel: Specify a different theme for your Gamma carousels or adjust the number of cards to create longer or shorter posts.
- Specify Extracted Data: Modify the automation to extract different information from the video pages, like comment counts or specific keywords from the description.
Agent Inputs
Required Parameters
Name | Type | Default |
|---|---|---|
googleSheetUrl | string | None |
URL of the Google Sheet where video titles and Gamma deck links are saved (one row per video) | ||
topic | string | None |
The YouTube search topic for finding viral videos (e.g., "AI agents automation", "cooking hacks") | ||
Optional Parameters
Name | Type | Default |
|---|---|---|
gammaTheme | string | |
Name of a Gamma theme to apply to the generated carousel (e.g., "Aurora", "Coral Glow", "Bubble Gum"). If not provided or not found, the deck is generated without a theme. | ||