AI Income LabJoin AI Income Lab ↗

n8n YouTube to LinkedIn: Nano Banana Pro infographic via KIE

Jump to video chapters

Watch on YouTube ↗ Subscribe on YouTube ↗

By · · 11:44 · 410 views

Written guide: YouTube to LinkedIn Automations in n8n and OpenCode

An n8n workflow that turns a YouTube video into an infographic, a LinkedIn post and a newsletter. It pulls the transcript with Apify, summarizes it with Gemini, makes a 4K infographic with Nano Banana Pro through KIE, writes the post with Gemini Flash from the infographic and a newsletter with Claude, and saves them to Google Drive and Docs. Mike posts to LinkedIn by hand, and the results quoted are his own.

Video summary

Learn how to build a complete N8N workflow to get your latest YouTube video transcript and create a detailed infographic in NanoBanana Pro, and create professional LinkedIn ready posts automatically.

The video covers 7 parts: Automation Overview, Transcript Processing, Infographic Generation, LinkedIn Post, Newsletter Creation, Templates & Pricing, and Results & Wrap-up.

What this video covers

What you build

An n8n workflow with an Apify transcript step, a Gemini summary, a KIE image task with a polling loop, a Google Drive upload, a base64 code node, and Gemini and Claude steps that write a post and a newsletter into Google Docs.

Tools used

Compare pricing: Apify, Google Gemini. Some ↗ links are affiliate links, so I may earn a commission or credit. See every tool I recommend →

Key steps

Not covered

Summary written from the video's transcript and chapters.

In this video

  1. 0:00 Automation Overview
  2. 0:40 Transcript Processing
  3. 1:20 Infographic Generation
  4. 2:10 LinkedIn Post
  5. 2:50 Newsletter Creation
  6. 3:40 Templates & Pricing
  7. 4:20 Results & Wrap-up

Questions and answers

Where can I get the n8n LinkedIn infographic workflow template?

On Mike's Gumroad page as pay what you want, and in the paid plans of his Skool community, according to Mike.

Why use KIE for the image?

It gives API access to Nano Banana Pro, which n8n does not offer directly.

Does it run automatically?

Not yet. It starts with a manual trigger, and Mike plans an RSS trigger for new uploads.

Transcript

Hey there, welcome to the channel. In this video, I'm excited to share with you a complete automation that I've built here in Nin which will repurpose your content from your YouTube channel and then it will put it into Gemini 3 and Nano Banana to create the infographic and create a LinkedIn post and newsletter. I've been working on this for a few days. I was having some issues with it, but it's now working correctly.

If you want the complete done for you template, I will leave a link down below where you can grab this on Gumroad for free or pay whatever you want. And with that being said, please go ahead subscribe to the channel and let's get into to the tutorial. So, first of all, we just got a trigger set up here which will execute this manually. Eventually, I just want this to run automatically every time I upload a new YouTube video.

Read the rest of the transcript

So, I would add an RSS feed in here, and it will just wait check every hour or so for the latest YouTube video. And then we're going to pipe that into Apify, which I've used in many of my other tutorials. And this one, I'm just providing the static link to a YouTube video, and we're running the YouTube transcript scraper through Apify. That's going to get the complete transcript, and then we're just going to get all of those data set items.

We can actually do this in one step as well, but I've just chosen to do it in two steps here. And then we're going to split each of those out on timestamps and we're going to piece them all back together again for the complete transcript. So, if I go ahead and execute this workflow, you will see it's running the Amplify actor.

It's going to get all the items and then it's going to com uh create the complete transcript and put it into Gemini, the latest version here. And the prompt that I'm using is just analyze and summarize this YouTube video transcript. And we're passing in the text from right here. So, we're just clicking and dragging that in to pass in the complete transcript. And that's going to create the complete prompt to uh summarize the YouTube video.

From there, we will pass that into a variable, an edit field right here. And this is just to store it into a string. We're going to say, turn this video summary into a detailed infographic with the key concepts. and we're passing in the summary right here. So that's going to turn it into an infographic using uh Gemini. And here we're actually using KIE which is a platform for running Nano Banana Pro amongst many other models.

And you can get your API key completely for free over here. You're going to want to enter that in to your n8n right here. So you'll enter in uh authorization and then the API key right here. And then also the JSON which looks like this. So you've got your model. We're using Nano Banana Pro which is part of Gemini 3. And then you're passing in your prompt right here. Make sure to use JSON.stringify. I was having some issues with this because it wasn't proper JSON format.

And then you can set the aspect ratio which I actually want to be like 2x3 instead of one by one. But we're using one by one for now. The resolution I've set to 4K. And then the output format is going to be PNG. Right? So that's all there is to it for that step. And then we're just going to wait. So we're we're just setting up a loop here. And it's waiting. And the status over here is just going to be JSON.data.state.

And it's either going to be success generating or fail. So it's it's just going to continue checking to see if the image is finished generating. And then once it's finished, it will get that image using this URL right here, which you can find over here in KIE. If you go to uh Nano Banana Pro, you can open up the uh complete a API reference.

So just come over here and then go to API and you can see create a task which we're using for creating the image and then for getting the image, we're using this image URL right here. So that's what we're passing into na and you can see the output what that looks like for both create task and also uh the the structure that you need to pass in everything is over here in kie as you can see and this is what it looks like right so that's

exactly what we have over here and then this one is just going to take the task ID that we got from creating the image so that's going to be this right here you just click and drag that in and that's call and then you also need to enter your API key right here authorization and then the bearer token and then as you can see it has now outputed the complete image we got that image and then we're passing it into an edit field right here so

all this is doing is it's just storing the uh URL right here so this is the URL where the image lives and then from there we can download that using an HTTP request so as you can see here we're just passing in the JSON image which is the URL and all this is doing is just downloading it and you can see what it looks like right here as well. So this is what the image looks like.

As you can see, you know, it's a very detailed image, complete. There's nothing messed up with the text and it's based exactly on what I've talked about in the video. So this is really, really good for repurposing your content. And I'll show you what that looks like on LinkedIn a little bit later as well. But first, let's get through the complete workflow. And from there, we're just uploading that file to Google Drive.

So, we're passing in the data, and that's uploading it to a folder, which is over here. So, as you can see, it is now uploaded to my Google Drive. And we can take a look at the infographic. It's very detailed. There's no issues with the text, which some of the other Nano Banano models have had problems with. This looks a lot better. And this is something that I can just come on over to LinkedIn and post to create the post.

And it's also going to create the post and the newsletter as well. So it's it's a complete done for you solution. And then here we're just waiting for 5 seconds to make sure that it has time to upload the image to Google Drive. And then we're just downloading that file. So, all we're doing here is we're just downloading the file, passing in the ID, which is right here, JSON. ID that it has from Google Drive. And then I've also got a code module here as well.

This took me a little bit of time to figure out, but I basically just asked Google Gemini and it provided all of the code for me, so you don't have to come up with this on your own. And this is basically just taking that binary data and it's turning it into a base 64 string which Gemini uh needs access to. So in the next step we're just passing that in. And the prompt is quite detailed. I basically just use chatgpt to create this complete prompt here.

It's just telling it to create a high engagement LinkedIn post based on the infographic provided. And I include a bunch of instructions here. And then I also include a sample format uh for a post that I found has done really really well on LinkedIn just so that it has some sort of frame of reference to model the post after. And then I provide the infographic right here. So there's the infographic.

I could actually go ahead and put this up here from the infographic and then I can just paste that in. Right, that's it. So that will create a complete LinkedIn post based on the infographic. It's not even using the transcript. It's just using the infographic. And we're using uh Gemini, I think that's the latest version. Yeah, Flash 2.5. Flash uh Gemini Flash 2.5 in order to create the post. We could also use Claude as well.

For the LinkedIn newsletter, I'm actually using Claude because I found that it's usually a lot better at writing. And this is the complete prompt. So you are a professional writer creating LinkedIn newsletters for a broad business audience. I will share a YouTube transcript with you. Using that transcript, write a complete 400word LinkedIn newsletter that explains ideas clearly and simply at about a sixth grade reading level. I've provided all the instructions.

And then in this case, we're just passing in the transcript, which I could actually do for the post as well, but I wanted to use the infographic in this case to to create the post. And then all we're doing here is we're just creating the document in Google Docs and that's going to be in your Google Drive folder which you will need to set up through Google Cloud Console and that will create the complete LinkedIn newsletter. So I'll show you what that looks like.

Here it is. Turn news articles into social media videos automatically. Right. So there's the complete newsletter. It's saved it over here in uh Google Docs. And of course, that's the last step right here. We're just updating the document using the ID. And then we're passing in the text that is coming from Claude right here. So that's just creating the newsletter. And that's the complete automation. That's the complete workflow in N.

Again, if you want this complete uh done for you template, uh just post a comment down below. And it's also available on my Gumroad page which is over here where I provide a lot of donefor you templates both n8n and also make.com. This one for example is a stock advisor system that I've created in n8n and you can basically grab these for free or pay whatever you want.

And you can also get access to all of these inside my Skool community as well which is also free and I offer paid plans as well. So, if you want the templates, you have to join the premium or VIP plan, which is $49 per month or $999 per year for the VIP plan. And then you will get access to all of these templates, which are available inside my classroom over here. I've also got over 2,000 N templates inside here as well.

Uh, but again, you will have to be a paid member in order to get access to those. and also show you what this looks like over here on LinkedIn as well. So, I'm just going to come over to newsletters and I will show you how I'm using this for myself. So, here's an example. Automating your job search with n8n. As you can see at the very top, I have a beautiful infographic right here. And then I've created the complete post using the n8n automation.

Then I also include a link to the full tutorial on YouTube as well. And the nice thing about creating newsletters on LinkedIn is every single person who uh connects with you, they automatically get invited to the newsletter and you can also send this out to everybody via email as well. So, as you can see, I've got a bunch of impressions on this and people are opening the emails. This one has a 19% open rate.

So, this is a really, really good way to just kind of grow your brand on uh LinkedIn. And also feel free to connect with me on LinkedIn as well. It's this here's my profile. Um I think this month I've got about 200 over like 45,000 impressions roughly just posting this sort of stuff. So we love to connect with you on LinkedIn as well. And yeah, so 47,000 impressions just in the past week by providing value. So yeah, that's all for now.

Thank you so much for watching this tutorial. Please subscribe to the channel if you haven't already and again go ahead and grab this complete done for you template link in the description below. With that being said, thanks so much for watching. Signing off. Peace from Thailand. See you in the next one.

Not ready to join? Get the weekly build notes: new guides and tested builds in one short email.

You may also like