Learn how to automate content creation by converting YouTube videos into blog posts using tools like Make, ChatGPT, YouTube, Google Sheets, and WordPress.
Creating content is NOT easy. There are a ton of things content creators must consider: the type of content, the target audience, the social media platforms, etc. Moreover, it's specially challenging when you're working with many different platforms at once, since you must figure out a way to convey the same message across different platforms.
We've recently experienced this struggle as a lot of content is now made on video platforms like YouTube and TikTok. There are a lot of cool uses cases on these platforms that we'd like our audience to see and try. Therefore, we transcribe the videos, check what content we want to use, and then write content about these automations.
Talking about cool automations, we found an amazing automation on YouTube that solves this same problem. In this blog, you'll learn how to automatically create articles based on the content of a YouTube video.
For this automation, we're going to need the following tools: Make, YouTube, 0CodeKit's Python Executor, OpenAI, WordPress (optional), and Google Sheets.
Step 1: Data Sources in Google Sheets (Optional)
For this module, we'll need a Google Sheet document with 2 columns. The first column will be called "Video IDs", which will contain the ID of the videos that we would like to get the content from. The second column will be called "Status" that indicates if the videos have been processed or not. This first step is optional as it'll be mostly to keep track of the videos that have already been processed.
Step 2: Fetch Details from YouTube Videos
For this we'll need a YouTube module that will list the videos from a channel. This module will extract the title, the description, and status of the video.
Step 3: Extract the Transcript with Python
With the help of a custom code script, 0CodeKit's Python Executor will accurately extract the complete transcript of the video even if the closed captions on YouTube are unavailable or incomplete.
Step 4: Extract the Statistics and Keywords from Videos
For better content, we can also use a YouTube Analytics module which will get information on the performance and keywords of the video. By considering these details, we can identify the aspects and keywords that have made the video gain a lot of popularity.
Step 5: Create Articles with OpenAI
Once we have enough content, we pass the transcript and analytics to a ChatGPT module. Based on this information and on a customized prompt, ChatGPT will transform this content into a blog post or article.
Step 6: Convert the Text into HTML (Optional)
This is step is important if you want to publish the article on WordPress, since this will make sure that the headings, paragraphs, and other content are properly formatted. Special HTML tags or attributes are included in this.
Step 7: Upload the Content to WordPress (Optional)
After generating a draft, this automation will upload the article into WordPress, including the headings, text, tags, metadata, and any other relevant information. You can customize this module depending on how much you trust AI to generate content. In other words, you can tell the automation if the article should be posted immediately or if it should be saved as a draft for you to review it before publishing it.
Step 8: Change the Status on Google Sheet
Once the article has been published or saved as a draft, the status from the Google Sheet document will be changed to "processed".
This automation makes content creation easier since video content can be repurposed and turned automatically into articles or blog posts. Furthermore, this written content can be adapted to reach different audiences, or it could even be translated to different languages with 0CodeKit's Translator API.
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.