n8nflow.net logo
By n8nflow TeamJuly 20, 202510 min read

n8n for Beginners: Build Your First Automation Workflow in 10 Minutes

Get started with n8n in this beginner-friendly guide. Learn how to install n8n, build your first workflow, understand nodes and triggers, and create real automations step by step.

n8n for Beginners: Build Your First Automation Workflow in 10 Minutes

n8n for Beginners: Build Your First Workflow in 10 Minutes

n8n can look intimidating if you're new to automation. But here's the truth: you can build your first useful workflow in under 10 minutes. This guide walks you through everything you need to know, from installation to your first automation.

What is n8n?

n8n (pronounced "n-eight-n") is an open-source workflow automation platform. Think of it as a visual way to connect apps and automate tasks — without writing code.

Everyday examples of what you can automate:

  • Save email attachments to Google Drive automatically
  • Get Slack notifications when someone fills out a form
  • Sync contacts between your CRM and email list
  • Post to social media when you publish a blog
  • Monitor website uptime and alert on downtime

Step 1: Get n8n Running

Choose your setup:

Option A: n8n Cloud (Easiest)

  1. Go to n8n.cloud
  2. Sign up for a free trial
  3. Start building immediately
  4. No technical setup required

Option B: Docker (Recommended for Self-Hosting)

# One command to get n8n running
docker run -d \
  --name n8n \
  --restart unless-stopped \
  -p 5678:5678 \
  -v n8n_data:/home/node/.n8n \
  -e N8N_HOST=localhost \
  -e N8N_PORT=5678 \
  -e N8N_PROTOCOL=http \
  n8nio/n8n

# Open http://localhost:5678 in your browser

Option C: npm (for Developers)

npm install n8n -g
n8n start

Step 2: Understand the Interface

When you open n8n, you'll see:

┌─────────────────────────────────────────────┐
│  [Header: Logo | Workflows | Credentials]    │
├──────────┬───────────────────┬──────────────┤
│          │                   │              │
│  Node    │    Canvas         │  Settings    │
│  Panel   │    (work area)    │  Panel       │
│          │                   │              │
│  • Trigger│  Drag nodes here  │  Node config │
│  • Action │  Connect them     │  Parameters  │
│  • Logic  │  Build flows      │  Output data │
│          │                   │              │
└──────────┴───────────────────┴──────────────┘

Key concepts:

  • Node: A single step (e.g., "Read email", "Send to Slack")
  • Workflow: A connected series of nodes
  • Trigger: The event that starts your workflow
  • Action: What happens after the trigger

Step 3: Your First Workflow

Let's build a simple automation: Get a Slack message when someone submits a form.

3.1 Add a Webhook Trigger

  1. Click + on the canvas or press Tab
  2. Search for "Webhook"
  3. Select the Webhook node
  4. This creates a URL that external services can call
// Your webhook URL will look like:
// https://your-n8n.com/webhook/abc123def

3.2 Add Form Data Processing

  1. Click + after the Webhook node
  2. Search for "Set"
  3. Add a Set node to format the form data
// In the Set node, configure:
// Name → {{ $json.name }}
// Email → {{ $json.email }}
// Message → {{ $json.message }}

3.3 Send to Slack

  1. Click + after the Set node
  2. Search for "Slack"
  3. Select Slack → Send Message
  4. Connect your Slack account (one-time setup)
  5. Configure the message:
New Contact Form Submission!

Name: {{ $json.name }}
Email: {{ $json.email }}
Message: {{ $json.message }}

Received: {{ $now.format('YYYY-MM-DD HH:mm') }}

3.4 Test Your Workflow

  1. Click Execute Workflow (top right)
  2. n8n will ask for test data — paste this:
{
  "name": "Jane Smith",
  "email": "[email protected]",
  "message": "I'd like to learn more about your services."
}
  1. Check Slack — you should see the message!
  2. Click Active (toggle in top right) to turn on the live webhook

Congratulations! You just built your first automation. 🎉

Your First Real-World Workflows

Workflow 1: Save Email Attachments to Google Drive

Email Trigger (IMAP) → Filter (has attachment) → Google Drive (upload)

Use case: Automatically save invoice PDFs, contracts, or reports from email.

Workflow 2: Twitter/X → Slack News Digest

Schedule Trigger → Twitter Search → Filter (engagement) → Summarize → Slack

Use case: Monitor industry keywords and get a daily digest in Slack.

Workflow 3: Form → CRM → Email Sequence

Webhook → HubSpot/Create Contact → Gmail/Send Welcome Email → Wait 2 days → Follow-up Email

Use case: Automatically onboard new leads who fill out your form.

Workflow 4: GitHub → Slack Deployment Notifications

GitHub Trigger → Filter (main branch) → Format Message → Slack

Use case: Get notified when your team deploys to production.

Workflow 5: RSS → Content Summary → Notion Database

RSS Trigger → AI Summarize → Notion/Create Page

Use case: Track industry blogs and save summaries for later reading.

Understanding Nodes: The Building Blocks

Trigger Nodes (Start your workflow)

NodeWhat It Does
WebhookResponds to HTTP requests
ScheduleRuns on a timer (every hour, daily, etc.)
Email (IMAP)Triggers on new emails
GitHubTriggers on GitHub events
RSSTriggers on new blog posts

Action Nodes (Do things)

NodeWhat It Does
HTTP RequestCall any API
SlackSend messages, create channels
Google SheetsRead/write spreadsheet data
GmailRead/send emails
NotionCreate/update database pages

Logic Nodes (Control flow)

NodeWhat It Does
IFBranch based on conditions
SwitchRoute to different paths
MergeCombine data from multiple paths
LoopRepeat actions for each item
CodeRun custom JavaScript/Python

Tips for Beginners

1. Use the Expression Editor

Instead of hardcoding values, use expressions:

// Instead of typing a name, reference data
{{ $json.name }}

// Format dates
{{ $now.format('YYYY-MM-DD') }}

// Combine values
{{ $json.firstName + ' ' + $json.lastName }}

// Use conditional values
{{ $json.amount > 100 ? 'Large deal' : 'Small deal' }}

2. Test with Sample Data

Every node shows output data. Click on a node to see what it produced — this is how you debug.

3. Start Simple, Then Layer

  • First: Get data from A to B
  • Second: Add formatting/filtering
  • Third: Add conditional logic
  • Fourth: Add notifications and error handling

4. Use Templates

n8n has a built-in template library with hundreds of ready-to-use workflows. Browse by category or search for your use case.

Our workflow template library has thousands of community-created n8n workflows you can import in one click.

5. Join the Community

  • n8n Community Forum: community.n8n.io
  • GitHub Discussions: github.com/n8n-io/n8n/discussions
  • Discord: Active community chat

Common Beginner Mistakes

MistakeFix
Not saving credentialsSave API keys in Credentials, not in workflow
Forgetting to activateActive toggle must be ON for live webhooks
Wrong data pathUse $json not $input for most nodes
No error handlingAdd error output paths to critical nodes
Ignoring rate limitsCheck API docs for rate limits

Next Steps

Now that you've built your first workflow:

  1. Explore a template: Import a workflow from our library and customize it
  2. Connect your tools: Add credentials for your email, Slack, CRM
  3. Build something useful: Automate a task you do manually every day
  4. Learn expressions: Master {{ }} to make workflows dynamic

Ready for more? Check out our advanced n8n tutorials or browse AI-powered workflow templates.

Share this article

Help others discover n8n automation tips and tricks

Related Articles