n8n connects the apps you already use and runs the steps between them for you, from saving a website form entry to answering customers with an AI agent. This first part of the n8n Tutorial explains what n8n is, how an n8n workflow runs, and the ways you can run n8n, including for free on your own computer.
By the end of this part you’ll know the words every later part uses, what the series costs, and what to have ready before you build your first workflow in Part 2.
This is Part 1 of the n8n Tutorial. The parts in Module A, Start Here:
- Part 1: What Is n8n? Workflow Automation Explained (you are here)
- Part 2: Build Your First n8n Workflow
All parts of the n8n Tutorial
Module A: Start Here
- Part 1: What Is n8n? Workflow Automation Explained
- Part 2: Build Your First n8n Workflow
Module B: Workflow Basics
- Part 3: Run a Workflow on a Schedule
- Part 4: Webhooks: Start a Workflow from Any App
- Part 5: Forms: Collect Data with n8n Forms
- Part 6: Credentials: Connect n8n to Your Apps
- Part 7: Executions, Debugging and Pinned Data
- Part 8: Organise Your Workflows
Module C: Working with Data
- Part 9: Items and JSON: How Data Moves in n8n
- Part 10: Expressions: Use Data from Earlier Nodes
- Part 11: Transform Data
- Part 12: Filter and Compare Data
- Part 13: Dates and Times
- Part 14: Files: CSV, Excel and PDF
- Part 15: Data Tables: Store Data Inside n8n
Module D: Flow Logic
- Part 16: If and Switch: Make Decisions
- Part 17: Merge: Combine Branches
- Part 18: Loops and Batches
- Part 19: Wait and Human Approval
- Part 20: Sub-workflows
- Part 21: Error Handling
Module E: Code and APIs
- Part 22: HTTP Request: Call Any API
- Part 23: The Code Node in JavaScript
- Part 24: The Code Node in Python
Module F: AI with Claude
- Part 25: Your First AI Agent
- Part 26: Give Your Agent Tools
- Part 27: Memory That Lasts
- Part 28: Answer from Your Documents
- Part 29: AI Chains: Summarize, Classify and Extract
- Part 30: Human in the Loop and Guardrails
- Part 31: MCP in n8n
- Part 32: Evaluations: Test Your AI Workflows
- Part 33: Free Local AI with the Self-Hosted AI Starter Kit
- Part 34: An n8n Agent in Microsoft Teams
Module G: Connect Apps and Extend n8n
- Part 35: Connect Popular Apps with OAuth2
- Part 36: Community Nodes
- Part 37: Build Your Own Node
- Part 38: Programmatic Nodes and Publishing
- Part 39: The n8n API and CLI
- Part 40: Build Workflows in Code with the Workflow SDK
Module H: Self-Hosting for Production
- Part 41: Configure n8n with Environment Variables
- Part 42: Run n8n on PostgreSQL
- Part 43: Queue Mode and Workers
- Part 44: Task Runners and Security
- Part 45: Back Up, Restore and Update n8n
- Part 46: Logs, Metrics and Tracing
- Part 47: Put n8n Online with HTTPS
Module I: Users and Administration
- Part 48: Users, Roles and Two-Factor Authentication
Module J: n8n Cloud
- Part 49: Start an n8n Cloud Free Trial
- Part 50: AI Workflow Builder, Assistant and Gateway Credits
Module K: Wrap-up
- Part 51: Final Project, Cheat Sheet and What to Learn Next
Cost: free. This part runs nothing.
What Is n8n?
n8n is a workflow automation tool. You connect apps and services on a visual canvas, and n8n runs the steps for you whenever something happens. Its official documentation (opens in a new tab) calls it “a fair-code licensed workflow automation tool that combines AI features with business process automation”.
You build each automation, called a workflow, by placing steps on the canvas and connecting them. When a step needs more than the built-in settings, you can write JavaScript or Python inside it. n8n’s GitHub page (opens in a new tab) lists more than 1,500 integrations and over 9,000 ready-made workflow templates.
The name is short for “nodemation” and is pronounced n-eight-n, according to its founder, Jan Oberhauser. Typical jobs for n8n look like this:
- Save every website form entry and tell the team about it.
- Send a report to managers every Monday morning.
- Copy new orders from one system into another.
- Answer customer emails with an AI agent that looks things up first.
How an n8n Workflow Runs
Every workflow is built from a few parts. These are the words the rest of the series uses, as n8n’s node types (opens in a new tab) and data structure (opens in a new tab) pages define them:
- Workflow: a set of connected nodes that does one job.
- Node: one step. A node gets data, changes it, or sends it somewhere.
- Trigger node: the node that starts the workflow, for example when someone submits a form, on a schedule, or when another app calls a webhook (a web address that n8n listens on). A workflow that runs on its own needs at least one trigger.
- Action node: a node that does a task, such as saving a row or sending an email.
- Item: the data that moves from node to node. Each item is a JSON object, a set of named fields such as
nameandemail. When a node receives several items, it does its job once for each one. - Execution: one run of the whole workflow, from the trigger to the last node.
- Credential: a saved login, such as an API key, that a node uses to reach another app. n8n saves credentials encrypted.

In this example, a contact form starts the workflow. Edit Fields keeps the fields that matter, a Data Table node saves the message in a table inside n8n, and Send Email tells the team. Part 2 builds the first half of it: a contact form whose entries n8n saves in a data table.
Some nodes work as a group, which n8n calls a cluster node: one root node with sub-nodes plugged into it. The AI Agent (opens in a new tab) works this way. You connect a chat model and one or more tools to it, and the agent decides which tools to call to finish a task.
Ways to Run n8n: Cloud or Self-Hosted
You can use n8n in two ways, and both run the same product (opens in a new tab):
- n8n Cloud: n8n hosts it for you. You sign up and start building, with nothing to install. It’s paid, with a 14-day free trial.
- Self-hosted: you run n8n on your own computer or server. The Community Edition is free and has almost every feature.
Each way comes in a few editions and plans. These figures are from n8n’s pricing page (opens in a new tab) and its edition comparison (opens in a new tab):
| Option | Who runs it | Price | What you get |
|---|---|---|---|
| Community Edition | You | Free | Almost every feature. Only the owner and the person who created a workflow can open it. |
| Registered Community Edition | You | Free, after you register your email | Adds folders, debug in editor and custom execution data. |
| Cloud Starter | n8n | 20€ a month, billed annually | 2,500 workflow executions a month. |
| Cloud Pro | n8n | 50€ a month, billed annually | 10,000 workflow executions a month, plus admin roles, insights and workflow history. |
| Business | You | 667€ a month, billed annually | 40,000 workflow executions a month, plus single sign-on, environments and Git version control. |
| Enterprise | You or n8n | On request | Custom limits and the most advanced security, scaling and support. |
Cost: paid plans cost more when billed monthly; n8n’s pricing page says yearly billing saves 17%. The Cloud trial (opens in a new tab) gives you Pro features for 14 days with 1,000 executions and needs no card. When it ends, n8n deletes the trial instance unless you upgrade.
n8n Cloud counts executions, not steps: one run of a whole workflow is one execution, however many nodes it has. This series self-hosts the free Community Edition, so every part works without paying n8n. Near the end, one module covers n8n Cloud during its free trial.
How Self-Hosted n8n Runs
When you host n8n yourself, it runs inside Docker, a tool that runs apps in containers, so n8n works the same way on macOS, Windows and Linux:

- You open the n8n editor in your browser, at
http://localhost:5678on your own computer. - The workflow engine runs a workflow whenever its trigger fires.
- n8n keeps your workflows, executions and credentials in a database: SQLite by default, or PostgreSQL for teams and production.
n8n now recommends Docker Compose for new installs, and n8n 3.0 (opens in a new tab), available today as an early-access release, runs only in Docker: it stops supporting installs with npm. That’s why this series installs n8n with Docker from the start.
Is n8n Free to Use at Work?
n8n isn’t open source. Its code is public on GitHub, but it’s licensed under n8n’s own Sustainable Use License (opens in a new tab), a model n8n calls fair-code. Its licence FAQ (opens in a new tab) sums it up in one line: “If workflows are only created or modified by you or people in your organization, you can use n8n under the Community license for free.”
That covers running your own business on n8n, building automations for clients on your own instance, and charging for workflow building, setup and training. It doesn’t cover hosting n8n as a service where your customers build their own workflows, or selling n8n under your own brand.
Advertisement
n8n and AI
n8n builds AI agents as well as plain automations. Its AI Agent node reads a request, decides which tools to use, and replies. n8n works with many model providers, including OpenAI, Anthropic and Google, and with open-source models.
This series uses the Claude API from Anthropic, with the model Claude Sonnet 5.5, through n8n’s Anthropic Chat Model (opens in a new tab) node.
Cost: self-hosted n8n doesn’t charge for AI, but the Claude API is pay-per-use. Claude Sonnet 5.5 costs $2 per million input tokens and $10 per million output tokens, on Anthropic’s pricing page (opens in a new tab). Every part that calls the model says what it really cost.
n8n Cloud also sells gateway credits (opens in a new tab), which let you use AI models without a key of your own, but they aren’t available on self-hosted n8n. For a free path, one part covers n8n’s self-hosted AI starter kit (opens in a new tab), which runs local models with Ollama on your own computer.
How This Series Works
The n8n Tutorial has two streams that run side by side:
- How-to parts. Each part teaches one n8n feature with its own small, real example, such as a contact form saved to a data table. You can start at any part. The full list is in the “All parts” box above.
- Product series. Each one builds a complete automation that solves a problem most organisations share, from an empty canvas to a finished product, with every step shown.
The product series build these 12 automations:
- Lead Capture and Follow-up: saves every lead, scores it, alerts sales and sends follow-up emails.
- Support Inbox Triage: sorts support emails, drafts replies and escalates urgent ones.
- Invoice Processing: reads invoices from email, records them and routes them for approval.
- Approvals and Requests: routes purchase, leave and access requests to the right approver and keeps an audit log.
- Employee Onboarding and Offboarding: runs the checklists, requests and reminders when people join or leave.
- Scheduled Business Reports: gathers the numbers and sends a written summary on a schedule.
- Customer Feedback Analysis: finds the mood and topics in feedback and flags unhappy customers.
- Meeting Notes to Action Items: turns a meeting transcript into a summary, tasks and follow-up emails.
- Document Q&A Assistant: answers questions from a company’s own files, with the source.
- Uptime Monitoring and Alerts: checks websites on a schedule and alerts the right people when one goes down.
- Recruitment Pipeline: collects applications, screens them and books interviews.
- Contract and Renewal Reminders: tracks renewal dates and reminds the owners in time.
n8n releases a new version most weeks. The series always uses the newest release that n8n marks as stable, its version for production use, and leaves out beta and early-access releases such as n8n 3.0 until they become stable.
What You’ll Need for Part 2
- Docker: Docker Desktop on macOS or Windows, or Docker Engine on Linux, from Docker’s install guide (opens in a new tab).
- n8n running in Docker. The install guide in this series sets it up with one command.
Common Mistakes
| Mistake | What to do instead |
|---|---|
| Installing n8n with npm for a new setup | n8n 3.0 stops supporting npm installs. Use Docker, as this series does. |
| Calling n8n open source | It’s fair-code: free to self-host for your own organization, with limits on offering it to others. Read the licence FAQ before you build a product on it. |
| Buying a Cloud plan before trying n8n | Start with the free self-hosted Community Edition, or the 14-day Cloud trial, which needs no card. |
| Counting steps to estimate Cloud costs | n8n Cloud counts executions. One run of a whole workflow is one execution, however many steps it has. |
| Expecting to share workflows with teammates on the Community Edition | Sharing workflows and credentials needs a paid plan. On the Community Edition, only the owner and the creator can open a workflow. |
FAQ
Is n8n free?
The self-hosted Community Edition is free and has almost every feature. n8n Cloud is paid, from 20€ a month billed annually, with a 14-day free trial. Any AI model you connect is paid for separately.
Is n8n open source?
No. Its source code is public, but n8n’s Sustainable Use License limits some commercial uses, so n8n calls it fair-code rather than open source.
Do I need to know how to code?
No. Most workflows are built by placing nodes on the canvas and filling in their settings. You can add JavaScript or Python when you need it, and the series explains every line it uses.
What’s the difference between n8n Cloud and self-hosted n8n?
They run the same product. With n8n Cloud, n8n hosts and updates it for a monthly fee. When you self-host, you run it on your own computer or server, and the Community Edition costs nothing.
Can n8n build AI agents?
Yes. The AI Agent node connects a chat model and tools, and the agent decides which tools to call. This series builds its agents with the Claude API.
How do you pronounce n8n?
n-eight-n. The name is short for “nodemation”.
Conclusion
n8n is a workflow automation tool where a trigger starts a workflow and each node does one job with the items it receives. You can run it on n8n Cloud or host the free Community Edition yourself in Docker, which is what this series does. In the next part you’ll build your first n8n workflow.
Coming next: Part 2: Build Your First n8n Workflow.
Additional Resources
- n8n Docs (opens in a new tab)
- Choose how to use n8n (opens in a new tab) (n8n docs)
- Node types (opens in a new tab) (n8n docs)
- Understand n8n’s data structure (opens in a new tab) (n8n docs)
- Compare editions (opens in a new tab) (n8n docs)
- n8n pricing (opens in a new tab)
- License FAQ (opens in a new tab) (n8n docs) and the Sustainable Use License (opens in a new tab) (GitHub)
- n8n v3.0 breaking changes (opens in a new tab) (n8n docs)
- n8n on GitHub (opens in a new tab)
- Claude API pricing (opens in a new tab) (Anthropic)
n8n, Claude and other names mentioned are trademarks of their respective owners. JD Bots isn’t affiliated with or endorsed by n8n GmbH or Anthropic.
0 comments