No history yet

Introduction to n8n

What is n8n?

Think of all the repetitive tasks you do every day. Copying data from an email to a spreadsheet, sending a welcome message to a new user, or getting a notification when a new file is added to a folder. n8n is a tool that automates these tasks for you. It's a workflow automation platform that connects different applications and services, letting them talk to each other and perform actions automatically.

Lesson image

Instead of writing complex code, you build these automations visually. You connect building blocks, called nodes, to create a path for your data to follow and actions to take. This makes automation accessible even if you're not a programmer. Because it's an open-source tool, you have a lot of flexibility in how you use and host it.

Thinking in Nodes

The entire n8n experience is built around a visual, node-based canvas. Imagine you're creating a recipe. Each step in the recipe is a 'node' in your workflow. You connect these nodes in the order you want them to happen, creating a flow of information and actions.

Node

noun

A single functional block in an n8n workflow. It can be a trigger that starts a process or an action that performs a specific task.

There are a few key types of nodes you'll work with.

Trigger Nodes: These are the starting points. A trigger listens for a specific event, like a new message in Slack or a new row in a Google Sheet. When that event happens, the workflow starts running. Some triggers can also be set to run on a schedule, like once every hour.

Action Nodes: These are the 'doers' of your workflow. After a trigger fires, action nodes perform tasks. This could be anything from sending an email, creating a calendar event, or updating a customer record in a CRM.

You'll also find other core nodes that help you add logic, merge data, or handle errors. For example, an IF node lets your workflow make decisions, sending data down one path if a condition is true, and another path if it's false. This is how you build more complex and powerful automations.

Setting Up Your Environment

You have a few options for getting started with n8n, depending on your technical comfort and needs.

OptionBest ForTechnical SkillCost
n8n CloudBeginners, small teamsLowSubscription-based
Self-HostedDevelopers, businesses needing controlMedium to HighFree (plus server costs)
n8n DesktopLearning, local developmentLowFree

n8n Cloud is the simplest way to begin. It's a managed service, which means the n8n team handles all the technical setup, maintenance, and updates for you. You just sign up and start building.

Self-hosting gives you full control. You can install n8n on your own server or a cloud provider like AWS or DigitalOcean. This is a great option if you need to customize your setup or have strict data privacy requirements. It's free to use the software, but you'll be responsible for your own server costs.

n8n Desktop is a free application you can install on your Windows, Mac, or Linux computer. It's perfect for learning the ropes and building workflows locally without needing a server. Once you've perfected a workflow, you can move it to a cloud or self-hosted instance to run 24/7.