AI Tools For Me

n8n Tutorial for Beginners: Build Your First Workflow

This page has no affiliate links. How we make money.

The short answer

To start with n8n: open an n8n Cloud trial (1,000 executions, no card) or self-host the free Community edition, create a workflow, add a trigger, chain nodes with the + button, test with Execute, then Publish so it runs on its own. No coding is required for a first workflow.

What n8n is, and cloud vs self-hosted

n8n is a visual workflow automation tool: you connect apps and AI models on a canvas, and n8n runs the steps for you. You can use n8n’s cloud or run it on your own server.

OptionPriceExecutionsGood for
Cloud trialFree, no credit card1,000 (trial limit)Following this tutorial
Cloud Starter20€/mo billed annually2,500 a month, unlimited stepsYour first live workflows and agents
Cloud Pro50€/mo billed annually10,000 a monthTeams running many workflows
Community edition (self-hosted)Free software; you pay for the serverNo plan quotaPeople comfortable running servers

From n8n’s pricing page and docs on November 24, 2026. Prices are shown in euros on the vendor’s page; the annual toggle says “Save 17%.” Business (667€/mo billed annually, 40,000 executions) is self-hosted only; Enterprise is quoted by sales. Full plan details are on our n8n review and pricing page.

Self-hosting needs real server skills. n8n’s docs say it recommends self-hosting for expert users and suggests n8n Cloud if you aren’t experienced at managing servers. To try it locally, the docs list a one-line setup (curl -fsSL https://get.n8n.io | sh, which needs Docker) and Docker Compose; the older npx n8n route needs Node.js 20.19 to 24.x and is deprecated from n8n 3.0. Locally, n8n opens at http://localhost:5678.

Five ideas to know first

Every n8n workflow is a chain of nodes that starts with a trigger. Learn these five words and the editor makes sense.

  • Workflow: a set of connected nodes that automates one process.
  • Trigger node: the first node, which starts the workflow, such as a schedule, a form submission or a webhook. Every production workflow needs one.
  • Node: one step that fetches, changes or sends data, such as an HTTP request or a Slack message.
  • Credentials: the saved logins or API keys n8n uses to connect to your apps. n8n tests a credential when you save it.
  • Execution: one run of the whole workflow, however many steps it has. That’s the unit n8n Cloud bills.

Your first workflow, step by step

n8n’s own beginner tutorial builds a daily weather log: a schedule fetches the weather, turns it into one sentence, and saves it to a table. Here are the steps in short; menu names come from n8n’s docs.

  1. Create the workflow. Select Personal in the left menu, then Create workflow. Click the name at the top to rename it.
  2. Add a trigger. Select Add first step, then On a schedule. Set the hour it should run (the docs use 8 a.m.) and close the panel. Tip: select a node and press the space bar to rename it, for example “Every day at 8 AM.”
  3. Fetch data. Select + after the trigger, type “http” in the search box and pick HTTP Request. Paste the weather URL the docs give you into the URL field and select Execute step to see the data come back.
  4. Shape the data. Select +, then Data transformation, then Edit Fields (Set). Add a field called “report” and drag values from the input panel into it to build a sentence such as The temperature in {{ $json.city }} is {{ $json.temp_c }}°C. Select Execute step again.
  5. Save the result. Add a Data table node with the Insert row action, create a new data table with a “report” column, and set mapping to Map Automatically. In your own workflows, this is where you’d send an email, post to Slack or add a row to a sheet instead.
  6. Test the whole thing. Select Execute under the canvas. Each node shows a green check when it worked.
  7. Publish. Select Publish in the canvas header. New workflows are unpublished by default and only run on their trigger once published; n8n keeps saving your edits as a draft until you publish again.

Short on time? n8n Assistant, n8n’s built-in AI builder, can build the same workflow from a chat prompt (start with New chat in the left menu). The docs list it on Cloud Starter and Pro and on self-hosted Community and Business, but not on npm installs.

Add an AI step

To add AI, place an AI Agent node in your workflow, connect a chat model to it, and give it at least one tool. The agent reads its input and decides which tool to call.

  • The AI Agent node is a cluster node: it has sub-nodes for the chat model, tools and memory. The docs say you must connect at least one tool sub-node.
  • Model access on Cloud: on Starter and Pro, choose Use Gateway credits in the credential field to use supported AI models without your own provider account. Trials include some Gateway credits; topping up needs a paid plan.
  • Model access when self-hosted: Gateway credits aren’t available, so create an account with your AI provider, generate an API key and add it as a credential. That usage is billed by the provider, separately from n8n.
  • Keep the first agent small: one clear instruction (“summarize this email in two sentences”) and one tool. Add more once it behaves.

For a tool-agnostic walkthrough of agents (goals, tools, guardrails), see how to build an AI agent.

Test, publish and watch executions

Test runs from the editor are free; only published, trigger-started runs count toward your plan. After publishing, check the executions list for the first few days.

  • Manual vs production: a manual execution is one you start from the editor; a production execution starts when a published workflow’s trigger fires. Only production executions count toward your quota.
  • Where to look: n8n has an executions list for each workflow and one for all workflows. You can debug and re-run past executions from there.
  • Schedules count every time: a Schedule Trigger uses one execution per firing, so a workflow that runs every 5 minutes uses 8,640 executions in a 30-day month (12 × 24 × 30), more than Starter’s 2,500.

Common beginner mistakes

  • Forgetting to publish: a workflow that works in the editor won’t run on its trigger until you select Publish.
  • Building it all at once: run Execute step after each node so you see the real data before mapping it.
  • Over-frequent schedules: check the math above before setting a trigger every minute on a cloud plan.
  • Pasting keys into fields: store API keys as credentials, not as plain text inside nodes.
  • Self-hosting too early: start on the cloud trial; move to self-hosting once you know you need it and can maintain a server.

When n8n isn’t the right fit

n8n is built for technical teams. If you want a simpler start, a US-dollar free plan or an assistant you just talk to, look at these instead.

ToolFree planPaid fromPick it if
ZapierYes, 100 tasks a month$19.99/moYou want the easiest no-code start and 9,000+ apps
ActivepiecesYes, 1,000 credits a month$20/moYou want open source and self-hosting with a simpler editor
MindStudioYes, 1 agent and 1,000 runs a month$16/moYou mainly want no-code AI agents and apps
LindyNo (7-day credit trial)$29.99/moYou want an AI assistant for email, meetings and briefs, not a canvas

Prices from our tool pages: Zapier checked 2026-11-23, Activepieces 2026-10-24, MindStudio 2026-11-09, Lindy 2026-11-21.

Compare in depth: n8n vs Zapier, Activepieces vs n8n, all n8n alternatives, and our ranked best AI automation tools and best AI agent builders.

How we wrote this tutorial

We wrote these steps from n8n’s official docs and pricing page, read on November 24, 2026, and summarized them in our own words. We haven’t built this workflow in n8n hands-on, and n8n updates its editor often, so a button may move or be renamed; the docs linked below are the reference. See all AI automation and agent tools.

FAQ

Is n8n free to use?

The self-hosted Community edition is free: n8n’s docs say it runs without a license key and you can stay on it indefinitely, but you pay for and run the server yourself. n8n Cloud is paid, from 20€ a month billed annually for Starter (2,500 executions), with a free trial of 1,000 executions and no credit card (checked November 24, 2026).

Is n8n hard to learn?

The basics are learnable in an afternoon: a trigger, a few nodes, and a test run. n8n’s own first-workflow tutorial is built to take minutes. It gets harder when you map data between nodes with expressions, handle errors, or self-host, which n8n’s docs recommend only for people experienced with servers.

Do I need to code to use n8n?

No. You build workflows by adding nodes on a visual canvas and filling in fields. Some coding knowledge helps, because n8n uses expressions such as {{ $json.city }} to pass data between nodes, and it is aimed at technical teams.

What is n8n used for?

Automating repeat work across apps: moving form entries into a sheet or CRM, sending scheduled reports, syncing data between tools, and running AI agents that read, summarize or route information. n8n lists 500+ integrations, and its HTTP Request node can call almost any web API that has no dedicated node.

Is n8n or Zapier easier for beginners?

Zapier is usually easier for non-technical users: it has a free plan (100 tasks a month, checked November 23, 2026) and fewer data-mapping decisions. n8n gives more control, self-hosting and per-run pricing, at the cost of a steeper start. See our n8n vs Zapier comparison for costs side by side.

Can n8n build AI agents?

Yes. n8n’s AI Agent node connects a chat model and one or more tools, and the agent decides which tools to call. The docs say you must connect at least one tool sub-node. On n8n Cloud Starter and Pro you can use Gateway credits instead of your own AI provider key.

Do test runs count toward my n8n execution limit?

No. n8n’s docs say only production executions count toward your quota, meaning runs started automatically by a published workflow’s trigger. Manual runs from the editor, error workflow runs and sub-workflow child runs don’t count. A Schedule Trigger counts one execution each time it fires.

Do I need an OpenAI API key to use AI in n8n?

Not on n8n Cloud Starter or Pro: Gateway credits let you run supported AI models without your own provider account. Free trials include some Gateway credits, but you can only top up on a paid plan. Self-hosted n8n and Enterprise don’t get Gateway credits, so there you add your own provider’s API key as a credential.

Sources