What is n8n used for? Real uses and a first workflow
n8n is a workflow automation tool. You connect apps, APIs and AI models on a visual canvas, and n8n runs the steps for you when something happens.
That is the short answer. The useful answer is a list of jobs people actually hand to it, and a way to decide if your job is one of them.
This guide covers both. It ends with a first workflow you can build and check in one sitting.

People use n8n to move data between apps, react to events, run scheduled jobs and put AI steps inside those flows.
It runs in the cloud or on your own server. The n8n docs describe both options and a free self-hosted Community edition.
n8n docs: Choose how to use n8n
The source code is public under n8n's own fair-code licenses. That matters if you plan to resell it or embed it in a product, so read the license before you build a business on it.
n8n on GitHub: license section
If you need an OSI-licensed tool instead, compare the options here.
n8n alternatives that are open source
How a workflow is built
Every n8n workflow has the same shape.
- A trigger. Something starts the run. A form submission, a webhook call, a new row in a sheet, a chat message or a schedule.
- Nodes. Each node does one job. Read a record, call an API, transform data, ask a model a question, send a message.
- Connections. Data flows from one node to the next as items you can inspect at every step.
Each run is called an execution. The docs keep a full section on how executions work and how to debug a past run.
n8n docs: Understand executions
That execution view is the part beginners skip and should not. When a workflow fails, you open the execution, click the node that broke and read the exact input it received.
Seven things n8n is used for
These are common job types. Each one maps to nodes and templates that exist in n8n today.
1. Lead and form routing
A form submits. n8n checks the fields, adds the lead to your CRM, tags it and pings the right person in chat.
This is the classic first workflow because every step is visible and easy to test with a fake lead.
See a job-search version of this pattern on video.
Watch: an n8n workflow that finds jobs
2. Scheduled reports
A schedule trigger runs every morning. n8n pulls numbers from a database or an API, formats them and posts a summary.
3. API glue
Two tools do not talk to each other. n8n sits between them, calls one API, reshapes the response and sends it to the other.
The HTTP Request node covers services that have no dedicated node.
4. AI agents with tools
The AI Agent node connects a chat model to tools. The agent decides which tool to call to finish a task. The docs state you must connect at least one tool to the node.
Pair it with the Chat Trigger node and you have a chat interface that can look things up or take actions.
5. Content pipelines
A new video or post goes live. n8n fetches it, asks a model to draft a summary or social copy, and drops the draft somewhere a human approves it.
Keep the approval step. A model draft that posts itself is a risk to your brand.
See a content pipeline built on video.
Watch: automating LinkedIn content with n8n
6. Data clean-up and sync
Rows come in messy. n8n splits names, fixes formats, removes duplicates and writes clean rows to the destination.
7. Internal tools and alerts
A webhook fires when something breaks. n8n enriches the alert with context and sends it to the right channel.
Email is a common place to start with this kind of routing.
When n8n is the right pick
n8n fits well when one or more of these are true.
- You want to self-host for control over data and infrastructure.
- Your workflows have many steps, branches or loops.
- You are comfortable reading JSON and the odd bit of code.
- You want AI agent steps inside a larger workflow.
For the code part, the Code node runs your own JavaScript or Python as a step.
Cloud pricing is based on monthly workflow executions, regardless of how many steps a workflow has. Check the current plans on the pricing page before you commit, because they change.
If you want something more guided with less setup, compare it against Zapier and Make first.
Build one workflow you can check
This build takes a webhook, cleans the data and returns a response. It needs no paid API.
Step 1: Get an n8n instance
Start a cloud trial or self-host it. The self-hosting guide on this site walks through Docker.
Step 2: Add a Webhook trigger
Create a new workflow and add the Webhook node. Set the method to POST. Copy the test URL.
Step 3: Add an Edit Fields (Set) node
Map two fields from the incoming body. A trimmed, lowercased email and a name.
Step 4: Add an If node
Check that email contains an @. Send valid items down the true branch and the rest down the false branch.
Step 5: Respond
Add a Respond to Webhook node on each branch. Return ok for valid input and invalid email for the rest.
Step 6: Test it
Click to listen for a test event, then send a request from your terminal.
curl -X POST "YOUR_TEST_URL" \
-H "Content-Type: application/json" \
-d '{"name":"Test","email":" TEST@Example.com "}'
You should get ok. Send it again with "email":"nope" and you should get invalid email.
Open the execution list and click each run. Confirm the Set node shows test@example.com with no spaces.
That check is the habit that matters. You know the workflow works because you saw the data at each step.
Add an AI step next
Once the basic flow works, add a model step on the valid branch. Ask it to classify the lead or draft a reply.
Keep three rules.
- Give the model a narrow instruction and a fixed output format.
- Validate the model output with an If node before acting on it.
- Send anything uncertain to a human.
For the difference between a fixed workflow and an agent that picks its own steps, read the next guide.
How agentic AI differs from traditional automation
What this guide does not cover
This is an orientation guide. It does not compare speed or reliability across tools, and it lists no prices because plans change.
Check the n8n docs for node-level details and the template library for ready-made workflows you can import and read.
Sources
- n8n docs: Choose how to use n8n
- n8n on GitHub: license
- n8n docs: Understand executions
- n8n docs: AI Agent node
- n8n docs: Chat Trigger node
- n8n pricing
AI Income Lab
Don’t build the next one alone.
Step-by-step courses, reusable templates, and a community that answers when you get stuck.
Members get the Claude Code & Skills and Codex Tutorials & Courses lessons.
- Courses for builds like this one
- Copy-ready templates
- Ask questions while you build
- Weekly coaching on VIP