Publishing a YouTube video is barely the start. The true leverage comes from repurposing that content material throughout a number of totally different platforms.
One efficient method is to transform your video transcript into a cultured LinkedIn put up and e-newsletter.
And with the precise instruments, N8N and Apify, you may automate all the course of.
This text walks by way of a sensible workflow which detects new YouTube video uploads and extracts the transcript. Then, it generates a e-newsletter draft utilizing Claude and saves it to Google Docs for assessment and publishing.
How the Workflow Operates
The automation consists of six linked nodes inside n8n, every dealing with a definite step within the pipeline. As soon as configured, the workflow runs on a schedule and requires no handbook intervention till the ultimate assessment stage.
Step 1: Detect New YouTube Uploads with RSS
The workflow begins with an RSS feed set off. As a substitute of polling the YouTube API immediately, this method makes use of the YouTube channel RSS feed. This methodology supplies a light-weight and dependable option to detect new uploads.
To set this up, first add an RSS Feed Set off node in n8n. Then, go in your YouTube channel’s feed XML URL and embody your channel ID. The set off could be configured to verify each 10, 30, or 60 minutes relying in your add frequency. Every time it fires, it returns the most recent video title, hyperlink, and metadata.
Step 2: Extract the Transcript with Apify
The workflow identifies a brand new video. It then passes the video URL to an Apify node. This node is configured with the YouTube Transcript Scraper actor.
This actor pulls the total transcript of the video, together with timestamps. You’ll need an Apify account and a saved actor configuration. In n8n, join the Apify node and go within the video URL from the RSS feed output. The node waits for the scraping job to finish earlier than transferring ahead.
A second Apify node then retrieves the dataset gadgets, which comprise the uncooked transcript segments.
Step 3: Clear and Put together the Transcript
The uncooked transcript arrives as a number of gadgets, every containing a textual content section and a timestamp. For the reason that timestamps add noise and are usually not helpful for a e-newsletter, the subsequent steps strip them out.
A Cut up Out node separates every transcript section into particular person gadgets. An Combination node then recombines them, pulling solely the textual content fields and merging them right into a single clear listing. The result’s one steady block of transcript textual content, able to be handed to a language mannequin.
Be sure that to allow the merge listing possibility within the Combination node. With out it, the textual content stays fragmented.
Producing the Publication with Claude
The cleaned transcript feeds right into a Claude node configured to message a mannequin. The immediate instructs Claude to behave as an expert author making a LinkedIn e-newsletter for a broad enterprise viewers.
Key components of the immediate embody:
– Writing a whole 400-word e-newsletter
– Explaining concepts clearly at roughly a sixth-grade studying stage
– Sustaining an expert and accessible tone
The total transcript is appended on the backside of the immediate. Allow simplify output on the Claude node to return solely the generated textual content with out additional metadata.
You’ll need a Claude API key, which you’ll be able to generate from Anthropic’s API console. Enter the important thing in n8n’s credential supervisor to authenticate the node.
Saving the Output to Google Docs
The ultimate stage creates a Google Docs doc and writes the e-newsletter content material into it. This requires two nodes: one to create the doc and one to replace it with the generated textual content.
Earlier than this works, you want to configure credentials in Google Cloud Console. Allow each the Google Docs API and the Google Drive API in your mission. After that, create OAuth credentials. Then add them to n8n. Arrange the OAuth consent display screen as effectively.
The workflow saves the doc to a specified Google Drive folder. From there, you may assessment, edit, and manually publish the e-newsletter to LinkedIn.
Watch the total step-by-step tutorial under and be part of my Skool group right here.








