Clone Any N8N Workflow in MINUTES

Helena Liu shows how to clone any N8N workflow in minutes using AI. Feed a video URL to Gemini 2.5 Pro to get a workflow summary, then give that summary plus N8N docs to Claude to generate the JSON, and import it into your account. The whole process works on free tiers.
Chapters
Today I'm going to show you a cool ninja trick that will allow you to clone any N8N workflow that you see within a matter of minutes. So if you ever seen a cool, complex, nerdy YouTube tutorial on N8N and you don't want to spend hours recreating that workflow, this is a tutorial that you will need to watch. All right, so because N8N is written in JSON code, what we're doing is reverse engineering all of the nodes that is in that workflow, and we can do— use AI to do it and get AI to write that JSON code, and all we need to do then is to import that JSON code into N8N, and we have the entire workflow completed within seconds. And now, if this sounds like mumbo jumbo to you, don't worry. Watch this entire video, and I promise you it's so much easier than you think. Now, the 2 tools that we're going to use to complete this tutorial is Google AI Studios, and you also need Claude AI. And don't worry, you don't need to be on the paid plan in order to do this. You can do everything that I'm doing here on the free plan as well. Now, So I'm in Google AI Studios here, and as you can see, we can select our model here. Now, it's very important that you are on Gemini 2.5 Pro or higher. So in the prompt section, here is the prompt that we want to put in. All right, I need you to act as an N8N workflow analysis and prompt generation expert. Here is the YouTube video URL. Feel free to replace this with a blog URL or a video URL from somewhere outside of YouTube. I actually found this YouTube video from Nate on how to build a WhatsApp agent on N8N. So what I'm going to do is just copy over this URL and paste it right here. And then below, here is the prompt that I would tell Google AI Studio exactly what to do. I'll also include a copy of this prompt below as well. I told it that its task is to analyze this video, understand the N8N workflow that's being built, and then here is all of the elements that I wanted to extract, including the flow overview, all of the nodes, the node configurations, the API endpoints, authentication, and data transformations. And then the output is basically a written document of what nodes are being used and where they are being used. And then after I have put in this prompt, again, just copy and paste over this prompt and then copy and paste over the URL that you want to extract the N8N template from. And then Google AI Studio will now go to work and actually write out a workflow summary of the workflow that we are seeing here. Okay, so now that we have the workflow summary created by Google AI Studio, we actually want to turn all of this into JSON code and we're going to use Claude AI to do so. So to do that, we just go to claude.ai and create an account. By the way, I'm on the free account now, so you can absolutely do this for free. And then what we want to do is to upload the N8N documentation to Claude so that it knows how to write the JSON code associated with N8N. And so we're just going to press the plus button here, upload a file, and we want to upload the compiled N8N documentation. I will also include a link to this documentation below as well. Basically, it's 50 to 70 pages or so. of documentation that will go over how these N8N agents and automations are built so that Claude has all of the instructions that it needs. And now what I'm going to do is put in my prompt and the workflow summary so that Claude knows which workflow to create the JSON code for. Okay, here's the prompt that I put in. You are an N8N workflow builder using the provided N8N documentation. Agent JSON example. We're going to put this in in a second. Workflow speculation. What I want you to do is build an N8N workflow that matches the video demonstration exactly, include all of the node configurations, has proper error handling, and is formatted as JSON. Okay. All right. So then I put in, here's the workflow summary. This is where we're going to go back to Google AI Studio and copy the whole workflow summary here. And then we're going to put this into Claude here. And lastly, I will attach an N8n AI agent example so that Claude will know what the JSON code should look like. And then just like this, I will press Continue here. And as we can see here, Claude is actually going to go ahead and actually write the JSON code for us on the right-hand side of the screen here. And once it's finished, all we're going to do is press the down arrow here and download as JSON. So, we're going to give it a few more seconds here until this entire code finishes. Okay, and by the way, if you notice anything wrong with the workflow summary in Google AI Studio, you can re-prompt it here, tell Google AI Studio where it went wrong, and then it will rewrite the workflow summary here for you. All right, it's been a few seconds, and we can see that Claude has finished writing all of the JSON code for us here. So, we're going to just download the entire JSON code here. Okay, so now that Claude has finished writing our code, and by the way, same as what I said for Google AI Studios, if you notice anything that's written wrong here, just chat with Claude to tell it exactly what it needs to fix. And as you can see, this basically describes in code exactly what we want to build, what the node is, which node does this one follow, what's the logic between the nodes, etc., right? So this is the code that the computers can understand, whereas the visual diagrams that we see on platforms like Zapier and N8n Make is what we can understand, okay? And so basically all we're doing is importing this JSON into N8N now, and this will translate into the workflow that we see. So let me show you how to do that now. Okay, so now that we have our JSON file, the last step is to upload it into our N8N account. So once you have logged into your N8N account, go over to the top right-hand corner where it says Create Workflow. Click on that, then click on the 3 dots at the top here and click on Import from File. And then the last thing you need to do is just to select the JSON file. That you have just downloaded. So here is ours. And now all you need to do is put in the required authentication for the different nodes. And if you notice that any of the nodes are wrong, you can repeat the process. Go back to Google AI Studio if you notice the workflow summary is wrong, or go back to Claude AI if you notice that Claude actually got some of the nodes wrong in the JSON code. And then you can reimport this again. So this will still save you a lot of time from recreating everything from scratch. You may need to do it a couple of rounds until you get the exact results that you need, though. Just to summarize here, you can go into Google AI Studios, put in any YouTube or blog video on N8N automations, put in this prompt right here, and it's going to give you a workflow summary. You're going to take that workflow summary and put it into Claude, give it all of the instructions on how to compile N8N documentation. It's then going to give you the JSON code, which you can upload into N8N and have the entire workflow recreated within seconds. Super cool. I hope you give this a try. We talk about everything AI, agents, automation on this channel. So if you want to be in the know on the latest tech, please like and subscribe. And if you like this tutorial and want to dive in deeper, I've got a free AI course that you can sign up for as well. The link is going to be in the description. Now, thank you so much for joining me for this tutorial, and I'll see you next time. Bye for now!
More from Helena

How to Use Claude Code to Get UNLIMITED Leads in 6 Mins | Best Lead Scraping Tool

These AI Videos Has 21.5M Views — Here's the Exact System (Fable 5 + Higgsfield)

NotebookLM 2.0 Update: Analyze Your Entire Business in Minutes! (Full Tutorial)







