N8N: The Ultimate Free Automation Tool That Will Change Your Life
Are you ready to unlock the most powerful automation tool you’ve ever seen? It’s time to talk about n8n, a game-changer in the world of automation. This tool isn’t just powerful; it’s also open-source, local, private, and completely free. It’s so capable that it makes popular services like Zapier and IFTTT seem outdated. Be warned, though: once you start using n8n, you might find it hard to stop, because with it, you can automate practically everything.
From simple tasks like aggregating your daily news to more complex operations like managing your entire home lab, n8n handles it all through a beautiful and intuitive graphical interface. Imagine creating a daily news digest from YouTube, Reddit, and Hacker News, sprinkling in some AI summarization, and having it delivered straight to your inbox. Or, get even more creative and build an AI agent that troubleshoots your home lab before you even know there’s a problem. The possibilities are truly endless. If you work in IT, you need this tool in your arsenal. Let’s dive in and learn how to automate our world.
Two Paths to Installation: On-Prem vs. The Cloud
There are two primary ways to get n8n up and running. The first is an on-prem installation, right in your own home lab. This path is a bit more complex, but it’s also more rewarding for those who love to tinker. The good news is that n8n is incredibly lightweight. You’ll need a Linux-based server (which can be anything from a full-fledged server to a tiny Raspberry Pi), and we’ll be using Docker for the installation, which simplifies the process immensely.
[1:45.385]
The second, and highly recommended, option is to host n8n in the cloud. This method is less complex and gets you up and running in just a few clicks. For this guide, we’ll be using Hostinger, a fantastic service that makes deploying n8n incredibly simple. Hosting in the cloud is often a great choice because n8n is designed to connect to countless external services, and having it on a public server makes those connections seamless.
Setting Up N8N with Hostinger
Getting started with Hostinger is a breeze. They offer a specialized n8n VPS hosting plan that’s perfect for our needs.
[2:12.755]
When you navigate to their VPS hosting section, you’ll find plans tailored for n8n. The KVM 2 plan is an excellent starting point, providing enough resources (2 CPU cores, 8 GB RAM, 100 GB SSD) to run not just n8n, but potentially an entire cloud-based home lab. This allows you to run websites, other services, and many of the projects discussed on this channel, all from one virtual machine.
[2:23.715]
Once you’ve chosen your plan and completed the purchase, your n8n instance will be provisioned automatically. From your Hostinger dashboard, you can manage your app with a single click.
[3:04.995]
This will take you directly to your personal n8n sign-up page. After creating your account, you’ll land on the main overview screen, ready to build your first automation. n8n even offers a free license key that unlocks advanced features like workflow history and advanced debugging, so be sure to claim it.
[3:31.255]
Your First Automation: The News Aggregator
In n8n, an automation is called a workflow. Let’s create our first one with a simple goal: to aggregate news from various sources and send it to a Discord channel.
[4:14.347]
Every workflow begins with a trigger, which is the event that starts the automation. We’ll start with two triggers:
- When clicking ‘Execute workflow’: A manual trigger for testing.
- Schedule Trigger: An automatic trigger that we can set to run daily, hourly, or at any interval we choose.
[4:47.387]
Next, we add a node to fetch the news. We’ll use the RSS Read node. By providing it with an RSS feed URL (like one from a news site), it pulls in all the latest articles. When we execute this step, we can see the output data neatly organized in a table, showing fields like creator, title, and link. This is the data we’ll work with in the next steps.
[5:46.887]
Now, let’s send this data to Discord. We’ll add a Discord node and configure it to send a message. A key concept in n8n is credentials. To connect to a service like Discord, you need to provide authentication, which you save as a credential. For this, we’ll use a Discord Webhook URL.
After setting up the credential, we can craft our message. This is where the magic happens. You can drag and drop data fields from the previous node’s output directly into your message. For example, you can create a message like:
Hey! Here is your news for the day!
Author: {{ $json.creator }}
Title: {{ $json.title }}
Link: {{ $json.link }}
Date: {{ $json.pubDate }}
When the workflow runs, it will loop through each article from the RSS feed and send a separate, formatted message to your Discord channel.
[8:04.567]
Adding AI Summarization and Data Manipulation
Receiving a dozen full articles might be overwhelming. Let’s use AI to make our news digest more concise. We can insert a Basic LLM Chain node into our workflow. This node acts as a prompt interface for a large language model.
[14:34.508]
The LLM Chain needs a brain, so we connect a Chat Model node to it, such as an OpenAI Chat Model. In the LLM Chain, we can write a simple prompt: Hey, your job is to summarize this article in two sentences. Go!, and then feed the full article content into it. The AI will then process each article and output a two-sentence summary.
However, the LLM Chain replaces the original data with its summary. To keep our original data (like the title and link) and just add the summary, we use an Edit Fields node. This powerful node lets us manually construct the data we want to pass on. We can pull the creator, title, and link from our RSS feed data, and then create a new field called AI Summary populated with the text from our LLM Chain’s output.
[19:48.337]
With our data perfectly structured, we update our Discord message to include the new AI Summary field. Now, our automation delivers a clean, summarized, and highly relevant news feed right where we want it. This entire process demonstrates the core power of n8n: chaining together different tools, manipulating data, and integrating AI to create incredibly useful and customized automations.
Level Up: Creating an AI Agent with Tools
Ready for the next level? n8n allows you to build an AI Agent. Unlike a simple LLM chain, an agent can be given a set of tools and a memory. It can then intelligently decide which tool to use based on your natural language request.
[25:12.923]
Let’s build an agent to check the status of our network. We can give it two tools, both using the Execute Command node:
- Tool 1: Pings
networkchuck.comwith a description like “this is how you check if the website is up.” - Tool 2: Pings a local server IP with a description like “this is how you see if Terry is up.”
We connect an OpenAI model to the agent and add a Chat Trigger to interact with it. Now, we can have a conversation. If we ask, “Hey, is the internet up?”, the AI agent understands the intent, selects the appropriate tool (Tool 1), executes the ping command, analyzes the output, and gives us a clear answer. If we then ask, “Is Terry up?”, it knows to use the second tool to check the local server. This is the future of automation—creating intelligent agents that can perform complex tasks and make decisions on your behalf. This simple example only scratches the surface of what’s possible with n8n’s AI capabilities, paving the way for fully automated home lab management and beyond.