If your team spends hours copying data between apps, answering the same questions, and chasing approvals, n8n can take that busywork off your plate. n8n is a fair-code workflow automation platform with native AI capabilities: you connect your apps on a visual canvas, add AI steps where judgment is needed, and let the workflow run itself. This tutorial walks you through installing n8n, building your first AI-powered workflow, and putting it to work in a small business.
What It Is
n8n (pronounced “n-eight-n”, short for “nodemation”) is an open-source-style automation platform that combines visual building with custom code. Instead of paying per task to a closed automation service, you design workflows on a node-based canvas: a trigger starts the flow, nodes fetch or transform data, and AI nodes can classify text, draft replies, or make decisions using your own models and tools. The project is published under a fair-code license (the Sustainable Use License plus the n8n Enterprise License), and as checked on October 18, 2026, it has 207,850 stars on GitHub (github.com/n8n-io/n8n). Its official description is: “Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.”
The current README highlights 1500+ integrations, 9,000+ community workflow templates, and full AI workflow support: multi-step AI agents using your own data, models, and tools, with logic, human approvals, and observability. When visual nodes aren’t enough, drop in JavaScript or Python code. Self-host for full data control, or use the hosted cloud version.
Who It’s For / SMB Use Case
n8n fits small businesses that run on a patchwork of tools — a website form here, a spreadsheet there, email, a CRM, accounting software — and lose time moving information between them. Practical uses include:
- Lead follow-up: When a website form is submitted, n8n can enrich the lead, add it to your CRM, notify the sales channel, and draft a personalized first reply with an AI node.
- Support triage: Incoming emails or tickets get classified by an AI node (billing vs. technical vs. sales), routed to the right person, and answered with a draft the team reviews.
- Invoice and document processing: Watch a folder or inbox for PDFs, extract the key fields with AI, and push clean rows into your accounting spreadsheet.
- Content and social pipelines: Draft posts with AI, send them to a human for approval inside the workflow, then publish on schedule.
n8n is a platform, not a single-task app: expect an afternoon learning nodes and credentials before trusting it with production work. Once tested, a workflow runs around the clock without per-task fees.
Installation
n8n runs on macOS, Windows, and Linux. The fastest path is the official install script, which requires Docker. For business use, the Docker route is most reliable because workflows and credentials persist in a named volume.
Quick install (requires Docker)
Run the official install script:
curl -fsSL https://get.n8n.io | sh
Manual Docker setup (recommended for business use)
Create a persistent data volume so your workflows survive restarts:
docker volume create n8n_data
Then start n8n:
docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n
Open http://localhost:5678 and create your owner account. For production, put n8n behind HTTPS with a strong password (see the self-hosting docs). Prefer zero servers? The hosted cloud version is on n8n.io’s pricing page.
How to Use n8n
Step 1: Create your first workflow
Click New workflow and name it clearly, e.g. “Website lead → CRM + AI reply”. Every workflow starts with a trigger: click the plus button and choose one — Webhook for form submissions, or Schedule for a morning report.
Step 2: Connect your apps with credentials
Add an action node (Gmail, Slack, Google Sheets, your CRM). First use of a service asks you to create a credential (API key or OAuth login), stored encrypted and reusable across workflows.
Step 3: Add an AI agent node
Add an AI Agent node and connect a model (OpenAI, Anthropic, Google, or self-hosted). Give it a system prompt (“Classify this support email as billing, technical, or sales, and draft a friendly reply”), attach tools (CRM, calculator, web search), and feed it the incoming data.
Step 4: Add logic and human approval
Use IF nodes to branch on the AI’s classification, plus a Wait/approval node so a human signs off before anything customer-facing goes out. Fast automation, without handing it your reputation.
Step 5: Test, then activate
Click Test workflow and run a sample; n8n shows data at every node so you can see the AI’s decisions. Fix errors, flip the Active toggle, and the workflow runs automatically. The 9,000+ community templates on n8n.io are good starting points.
Pricing / Limitations
The self-hosted community edition is free to run under n8n’s fair-code license (Sustainable Use License): the source is visible, you can deploy it anywhere, and you can extend it with your own nodes. Your costs are the server it runs on (a small VPS is enough for most small businesses) plus any AI model API fees for the AI nodes. Fair-code is not the same as fully open source: the license restricts some commercial uses of the code itself, and enterprise features require an n8n Enterprise License — check the license docs before modifying or reselling anything built on it.
Limitations to know: n8n is self-managed, so backups, updates, and uptime are your responsibility on self-hosting (the cloud version handles this for you). AI nodes consume API credits per run, so a badly designed loop can run up a model bill — set execution limits and test with small batches first. Very high-volume, millisecond-critical workloads may need dedicated infrastructure rather than a single n8n instance.
Bottom Line for SMB
n8n is the closest thing to hiring a tireless operations assistant: it connects the apps you already pay for, adds AI judgment where simple rules fall short, and runs 24/7 without per-task fees. Start with one painful, repetitive process — lead follow-up or support triage — build it carefully with a human approval step, and expand from there. For context on where AI agents fit in a small business, read our AI agents explained guide, and if you’re comparing automation platforms, see our Zapier vs Make comparison.

Frequently Asked Questions
Is n8n really free for a small business?
Yes, for typical use. The self-hosted edition is free under n8n’s fair-code Sustainable Use License — you run it on your own server and pay only for hosting and any AI model API usage. Enterprise features and the hosted cloud version are paid. Read the license docs if you plan to modify the code or build a commercial product on top of it.
Do I need to know how to code to use n8n?
No. Most workflows are built visually by connecting nodes, and the 9,000+ community templates give you working starting points. Code (JavaScript or Python) is optional and only needed for advanced logic the visual nodes can’t express.
How is n8n different from Zapier?
Three big differences: n8n can be self-hosted so your data never leaves your infrastructure, it has native AI agent nodes for multi-step reasoning with tools, and it doesn’t charge per task — your cost is hosting plus model API usage. Zapier is simpler to start with but charges per automation run.



