Skip to content

Lesson 1 ยท Getting Started

What Is n8n? Workflow Automation Explained

Learn what n8n is, how workflow automation works, who this tutorial is for, what you need to follow along, and how the course is organized from start to finish.

n8n (said "n-eight-n") is a workflow automation tool. You draw a workflow on a canvas: a chain of boxes, called nodes, that each do one job. One node waits for something to happen, such as a form being sent. The next ones fetch data, change it, make a decision and act, for example by sending a message or writing a row to a database. Once you publish the workflow, it runs on its own.

You could write a script for the same job. n8n gives you ready-made connections to many services, a visual view of how data moves, a record of every run, and a place to store passwords and API keys. You still need to think like a programmer when things get interesting, and n8n lets you write JavaScript or Python when a node is not enough.

A first picture

flowchart LR
  A["Trigger: new form entry"] --> B["Clean the fields"]
  B --> C{"Is it a business email?"}
  C -->|yes| D["Add to CRM"]
  C -->|no| E["Send to review list"]

A small workflow: one event comes in, a rule decides, an action follows.

Each arrow carries data. n8n passes a list of items from node to node, and most nodes run their action once for every item. That single idea explains most of what you will see, and it gets a lesson of its own in Items and JSON.

Who this tutorial is for

This course suits you if you:

  • want to automate repetitive work in a small business, a team or your own projects;
  • are a developer who wants to connect APIs without writing all the glue code;
  • want to build AI agents inside a workflow tool.

You should know what a web address and a spreadsheet are. It helps to have seen JSON and a little JavaScript or Python, but you can learn the basics as you go.

What you need

To follow along in the real product you need an n8n instance: either n8n Cloud (hosted by the company that makes n8n) or your own self-hosted copy, usually run with Docker. Lesson 2 shows both routes. Prices, plan limits and menu positions change often, so check the official n8n website and documentation for them.

What this tutorial can and cannot run

This site cannot run n8n. That means:

  • Real n8n configuration, expressions, commands and Code node snippets appear in read-only code blocks. Copy them into your own instance to try them.
  • Runnable blocks have titles that start with Stand-in:. They are small JavaScript or Python programs written for this course. They imitate an idea, such as how items flow or how a retry works. They are not n8n, and their output is not n8n output.

This tutorial is independent. It is not affiliated with, sponsored by or endorsed by n8n or any other vendor named here. Product details reflect the official documentation as checked in December 2026. n8n releases new versions often, so compare with the docs for the version you run.

Try the core idea

Here is the heart of an automation in plain JavaScript. A trigger produces items, each step transforms them, and the last step acts.

JS Stand-in: a three-step pipeline

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Add a third person to trigger and run it again. Nothing else has to change: every step works on the whole list.

Course map

Foundations

Getting started Install and first workflow
Triggers and nodes What starts a run
Data Items, expressions, code
1 / 3

When automation is the wrong choice

Automation repeats whatever you design, including mistakes. Do not automate a process you do not understand yet. Be careful with actions that cannot be undone, such as deleting records or sending money, and keep a person in the loop for them. Think about private data too: every service your workflow touches sees what you send it.

Common mistake: connecting a new workflow straight to live customer data. Build and test with made-up records first.

How to study this course

Each lesson explains an idea, shows the matching n8n material and gives you a stand-in to experiment with. You learn most when you do three things. First, read the example and predict the output before you run it. Second, change one value, such as an empty name or a negative total, and see what breaks. Third, rebuild the same idea in your own n8n instance with made-up data, and open every node to compare what you expected with what it actually received.

It also helps to keep a small notebook of automation ideas. For each one, write the event that starts it, the data it needs, the action it takes and what should happen if something fails. If you cannot fill in those four lines, the process is not ready to automate. Good first candidates are frequent, boring, rule-based and low-risk, such as copying form entries into a sheet or sending yourself a morning summary.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. What is a node in n8n?

    A workflow is a chain of nodes, and each node performs one step.
  2. 2. What do runnable blocks titled Stand-in show on this site?

    The site cannot run n8n, so stand-ins imitate concepts and are labeled as such.
  3. 3. Which task deserves a human approval step?

    Hard-to-undo actions should be reviewed by a person.

Summary

  • n8n lets you build workflows from nodes that pass items along.
  • You can use n8n Cloud or host it yourself.
  • This site shows real n8n material as read-only text and runs only labeled stand-ins.
  • Test with made-up data and keep people in charge of risky actions.

Next: Set Up n8n and Build Your First Workflow

Your progress is saved in this browser. No account needed.