How to automate n8n workflows directly from Claude

How to automate n8n workflows directly from Claude

See how Claude writes, configures, and deploys full n8n workflows automatically, turning AI into a real automation engineer.

All of you who have been reading our tutorials know the automation n8n can do. It’s an amazing platform for quickly setting up complex automations to ease your workload. However, it requires some technical knowledge of APIs and a little bit of coding. N8N is great for developers or automation enthusiasts. But it might be a bit challenging for ordinary people who have never gone beyond social media and emails. And the seniors are almost lost in the tech forest. Automation and AI are a steep learning curve for seniors. For those who can type in English, Claude has given an amazing way to automate stuff without understanding APIs and other tech jargon. We are pretty sure most readers aren't interested in learning about any of that API stuff.

So the easy way is to let Claude handle the technical stuff while you do the talking! In this tutorial, we will show you how to integrate n8n with Claude. All you need is a prompt, and Claude will create some cool automation workflows in n8n that are easy to execute.

In this tutorial, you’ll learn how to:

  • Install Claude Desktop and Node.js
  • Connect Claude account to your n8n account
  • Enable n8n tools and create a project
  • Build your first workflow

Let’s get right into it!

Step 1 - Install Claude Desktop and Node.js

You have to install a couple of apps on your computer. First, install the Claude desktop by visiting the Claude Desktop website. Depending on your operating system, double-click the download file and follow the instructions:

  • Download the appropriate installer for your operating system. If you’re on a Mac, click the Mac version.
  • Follow the steps to install an application on Windows. For Mac, simply double-click the installer file and drag the Claude icon into ‘Applications.’ 
  • Sign in to your existing Claude account or create a new one
  • Make sure you use the same account across all devices. (This is important)

Next, install Node.js. Open nodejs.org in your browser and:

  • Download the installer for your operating system (The process is the same as described for the Claude desktop)
  • Execute the installer and follow the setup wizard for Windows and Mac. You have to follow the installation wizard on Mac, too unlike Claude, where you drag the application icon and put it in the Applications folder. 
  • Accept the default settings by clicking Continue and Agree.

Node.js is a crucial component that allows Claude to talk to n8n through MCP.

That’s it. You’re done with the installation part.

Now comes the interesting part. You need to install the MCP server in Claude so it can communicate with n8n and do your bidding. If you have a Mac system, open your terminal app (search ‘Terminal’ on Mac or ‘Command Prompt’ on Windows) and paste the following command:

npx n8n-mcp

Press Enter on the keyboard, type ‘Y’ if prompted, and you should see the ' n8n MCP server is running’ message. This means everything is working.

Press enter, type "Y" if prompted, and you should see "n8n MCP server is running." That means everything's working.

AI Academy

Unlock this tutorial

+ 280 other AI tutorials on ChatGPT, Claude, Midjourney & more

$9/mo
Try free for 14 days

Start risk-free · Cancel anytime