To build your first AI workflow in n8n, sign up for n8n Cloud or self-host the free Community Edition, create a workflow with a trigger such as a form submission, add an AI node to classify or summarise the input, then route the result to tools like Slack, Google Sheets or your CRM. Test with sample data, add error handling and activate it. n8n Cloud is billed by workflow executions, and the Community Edition is free to self-host.
- ✓A workflow is a trigger followed by nodes that each do one job
- ✓n8n bills per workflow execution, not per step
- ✓The AI Agent node adds language-model steps with memory and tools
- ✓Test with pinned sample data before activating
- ✓Start with one simple, high-volume task
What is n8n?
n8n is a workflow automation platform with a visual editor. You connect nodes on a canvas: a trigger starts the workflow, and each following node does one job, such as reading a spreadsheet, calling an API, asking an AI model a question or sending a message. It can be used in n8n’s cloud or self-hosted for free. Our comparison of n8n, Zapier and Make explains how it differs from other tools.
- Website form or webhook
- Hot, warm or cold
- One-line summary
- Post hot leads to Slack
- Log every lead in Google Sheets
How do you get started?
-
1
Choose cloud or self-hostedn8n Cloud is quickest; self-hosting is free but needs a server.
-
2
Create a workflowOpen the editor and add your first node.
-
3
Add credentialsConnect the apps you need, such as Slack, Google Sheets and an AI provider.
-
4
Learn the panelEach node shows its input on the left and output on the right, which makes debugging easy.
How do you build the lead-triage workflow?
-
1
Add a triggerUse the n8n Form Trigger or a Webhook node connected to your website form.
-
2
Add an AI nodeUse the AI Agent or a basic language-model node. Ask it to label the lead hot, warm or cold and write a one-line summary, returning JSON.
-
3
Parse the resultUse the output parser or a Set node to turn the AI reply into fields.
-
4
Route by labelAdd an IF or Switch node to branch on the label.
-
5
Notify and logPost hot leads to a Slack channel and append every lead to a Google Sheet.
-
6
Add error handlingSet an error workflow that alerts you if a step fails.
The AI node is where n8n differs from simple automations: it can read free text, such as a message field, and make a judgement a rule-based filter could not. Keep the prompt short, give examples of each label and ask for a fixed JSON format.
- “Is this lead good?”
- No examples or definitions
- Free-text reply that is hard to parse
- ✓“Label as hot, warm or cold using these rules…”
- ✓Two examples per label
- ✓Reply only as JSON: {label, summary}
How do you test safely?
- Pin sample data on the trigger so you can rerun without new submissions
- Run each node individually and check its output
- Test awkward inputs: blank messages, spam, other languages
- Point Slack to a test channel until you are confident
- Only then activate the workflow
What will it cost?
n8n counts one execution per full workflow run, however many nodes it has, so a lead form with 30 submissions a day is roughly 900 executions a month. Check current plan allowances on the n8n pricing page. AI model usage is billed separately by your AI provider. If you prefer to run it yourself, see how to self-host n8n.
What n8n concepts should beginners know?
Most beginner problems come from data shape: a node expects one item and receives many, or a field name changes. Opening the execution log and reading each node’s input and output usually reveals the issue within minutes.
What should you build next?
- A daily digest that summarises new support tickets
- Invoice data extraction into your accounting tool
- Meeting notes summarised and sent to the CRM
- Social mentions classified by sentiment
For more ideas, see our 30 AI automation ideas for small businesses, and for the wider picture, what AI automation is.
Once your first workflow has run reliably for a couple of weeks, review its executions, tighten the AI prompt where labels were wrong and add a second workflow. Small, dependable automations build confidence faster than one large, fragile one.
Keep a short note of what each workflow does and who owns it.
How UIUX Studio helps
We build n8n workflows and AI agents for teams, from first automations to self-hosted production setups. Talk to our Agentic AI & Automation team.
