Tools: Building Your First n8n Workflow in 30 Minutes: A Hands-On Tutorial (2026)

Tools: Building Your First n8n Workflow in 30 Minutes: A Hands-On Tutorial (2026)

Five concepts you need before clicking anything

What we're building

Step 1: Schedule trigger

Step 2: HTTP Request — fetch BTC price

Step 3: Edit Fields — clean up the data shape

Step 4: If node — conditional branching

Step 5: Action nodes (email + Slack)

Email on the "true" branch

Slack on the "false" branch

Step 6: Test, then publish

Six gotchas that bite everyone

What to build next

The most useful first workflow for SMBs — Build a real, working n8n workflow from scratch in ~30 minutes. We'll fetch the Bitcoin price every weekday at 9 AM, branch on whether it's above $100k, and notify either by email or Slack. Free tier only, no prior experience required. By the end you'll understand triggers, nodes, expressions, and conditional logic — the foundation everything else builds on. I've onboarded a few colleagues to n8n over the past year. The pattern is the same every time: they start with the official "Schedule + NASA solar flares" tutorial, build something that works, then have no idea how to apply it to their actual job. The missing piece is a workflow that uses a real-world API and demonstrates why you'd use each node type — not just how. Here's that workflow. Internalize these. They'll save you hours of confusion later. When something breaks, ask yourself: which node failed, what data did it receive, what did it try to do with that data? Almost every problem maps to those three questions. Six nodes, two branches, one schedule. Real API, real notifications, every concept a beginner needs. For this tutorial, Cloud is faster — every step works identically on self-hosted. After signup, click Create Workflow in the upper-right. You'll see an empty canvas with one button: Add first step. Critical detail: the Schedule trigger only fires when the workflow is published. While building, run the workflow manually with the Execute Workflow button at the bottom of the canvas. The HTTP Request node is the most powerful node in n8n. It calls any public API, even ones without dedicated integrations. You should see output like: That's the live BTC price. Close the node panel — we'll use this data next. Pro tip that saves debugging hours: Execute step runs only that single node, with sample data, without firing the entire workflow. Use it on every new node before connecting the next one. This catches 80% of mistakes early, when they're easy to fix. The CoinGecko response nests the price inside bitcoin.usd. To make later steps cleaner, let's promote it to a top-level price field. Output should now be: Expressions are how you reference data from previous nodes. Anything inside {{ }} is JavaScript. $json means "data the previous node returned." You don't need to memorize syntax — drag fields from the left panel and n8n writes the expression for you. The If node creates two branches. We'll route based on whether BTC is above $100k. The If node now exposes two output connectors: true (top) and false (bottom). Common gotcha: make sure Operation is set to Number, not String. String comparison treats "5" > "100000" as true (alphabetic order), which silently breaks your logic. This bites everyone at least once. If both test sends worked, the workflow is functionally complete. Save it now — Cmd/Ctrl + S or click Save at the top right. n8n doesn't auto-save while you build. Two final steps separate "kinda works" from "actually runs reliably." Run the full workflow once manually. Click Execute Workflow at the bottom. Every node turns green on success or red on failure. If anything fails, click the failed node — n8n shows the exact error and the input data that triggered it. Publish. Toggle Publish at the top of the editor to active. Now the Schedule trigger fires every weekday at 9 AM automatically. To verify it actually fires, open Executions in the left sidebar. After 9 AM tomorrow, you'll see a fresh execution logged. Click into any execution to see what data flowed through each node — invaluable for debugging. You now know the foundation. Three productive next steps: If you're comparing n8n with other automation platforms before committing more time, here's our Zapier vs Make 2026 breakdown covering trade-offs across hosted alternatives. The pattern that pays back fastest: form submission → CRM record → notification. New lead fills a form, data lands in CRM with proper tagging, your team gets notified instantly. Eliminates manual data entry, reduces lead response time from hours to seconds, and uses every concept from this tutorial. Build this version once and you'll see why n8n's learning curve is worth it. Templates let you quickly answer FAQs or store snippets for re-use. Hide child comments as well For further actions, you may consider blocking this person and/or reporting abuse

Command

Copy

$ Schedule (every weekday 9 AM) ↓ HTTP Request (fetch BTC price from CoinGecko) ↓ Edit Fields (extract price as a clean number) ↓ If (price > 100,000?) ┌────┴────┐ true false ↓ ↓ Email Slack (celebrate) (notify) Schedule (every weekday 9 AM) ↓ HTTP Request (fetch BTC price from CoinGecko) ↓ Edit Fields (extract price as a clean number) ↓ If (price > 100,000?) ┌────┴────┐ true false ↓ ↓ Email Slack (celebrate) (notify) Schedule (every weekday 9 AM) ↓ HTTP Request (fetch BTC price from CoinGecko) ↓ Edit Fields (extract price as a clean number) ↓ If (price > 100,000?) ┌────┴────┐ true false ↓ ↓ Email Slack (celebrate) (notify) { "bitcoin": { "usd": 105432 } } { "bitcoin": { "usd": 105432 } } { "bitcoin": { "usd": 105432 } } { "price": 105432 } { "price": 105432 } { "price": 105432 } - Workflow — a collection of connected nodes that automates a process. One workflow = one automation. - Node — a single step. Each does one thing: trigger, fetch, transform, send. - Trigger node — the first node. Decides when the workflow runs. - Execution — one full run of the workflow, top to bottom. n8n logs every execution for debugging. - Expression — JavaScript-flavored snippets in {{ }} that reference data from previous nodes. - n8n Cloud — sign up at n8n.io, 14-day free trial, no credit card. After trial, paid plans from €24/month for 2,500 executions. - Self-hosted — free forever, runs on your own server with Docker. Requires basic Linux comfort. Full production setup walkthrough in our n8n self-hosting guide. - Click Add first step. - Search Schedule and pick Schedule Trigger. - Trigger Interval: Days - Days Between Triggers: 1 - Trigger at Hour: 9am - Optionally: under Trigger on Weekdays, select Mon–Fri only. - Click + on the right of the Schedule trigger. - Search HTTP Request, select it. - URL: https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd - Authentication: None (CoinGecko allows unauthenticated calls). - Method: GET - Click Execute step. - Click + on the HTTP Request node. - Search Edit Fields (also called "Set" in some versions). - Under Fields to Set, click Add Field. - Name: price - Value: toggle the = icon to red (this enables expression mode). - Drag bitcoin.usd from the left panel into the value field. The expression becomes {{ $json.bitcoin.usd }}. - Click Execute step. - Click + on the Edit Fields node. - Search If, select it. - Under Conditions: Value 1: drag price from the left panel → {{ $json.price }} Operation: Number > Larger Value 2: 100000 - Value 1: drag price from the left panel → {{ $json.price }} - Operation: Number > Larger - Value 2: 100000 - Click Execute step to verify. - Value 1: drag price from the left panel → {{ $json.price }} - Operation: Number > Larger - Value 2: 100000 - Click + labeled true on the If node. - Search Send Email, select it. - Click Create new credential → configure SMTP. Gmail needs an app-specific password; most ESPs accept standard SMTP creds. - To Email: your address. - Subject: BTC just hit $100k! - Text (expression mode): BTC is currently at ${{ $json.price }} — celebration time! - Click Execute step to send a test email. - Back on the canvas. Click + labeled false on the If node. - Search Slack, select it. - Click Create new credential → OAuth2 flow connects your workspace. - Resource: Message, Operation: Send. - Pick a channel (e.g., #general). - Text (expression mode): BTC is at ${{ $json.price }} — still under $100k. - Click Execute step. - Forgetting to publish. Most common reason "the schedule isn't firing." If the toggle isn't on Published, the trigger is dormant. - String vs Number in If nodes. "5" > "10" returns true alphabetically. Always pick the right operation type. - Hardcoding what should be an expression. Typing the literal text $json.price into a regular field doesn't work. Toggle the = icon to red first. - Polling APIs every minute on n8n Cloud. A 1-minute schedule = 43,200 executions/month, which exceeds most paid plan limits. Use webhooks where possible. - Not testing each node individually. Click Execute step on every new node before connecting the next. Prevents 80% of debugging pain. - No backup of N8N_ENCRYPTION_KEY (self-hosted). Lose this and every saved credential is unrecoverable. Back it up to a password manager the moment you generate it. - Replace the Schedule trigger with a Webhook trigger to react to events from external systems instead of polling. Big efficiency gain. New to webhooks? Read this practical webhook primer including testing. - Add an error-handling node that fires when any step fails. Without it, silent failures will burn you eventually. The pattern: every critical workflow ends with a "Send Email/Slack on Error" branch. - Build something for your actual job. Pick one repetitive task you do every week (compiling stats, posting reports, syncing data) and rebuild it as an n8n workflow. The fastest way to learn is to solve a real problem.