2026-04-18 · 6 min read · Automation

n8n tutorial — 5-minute automation for beginners

n8n is a free, open-source automation tool with a thousand integrations and self-hosting. In this article, we build a real workflow usable in your daily work in 5 minutes — zero code.

Why n8n?

Looking for a Zapier / Make (Integromat) alternative? Three reasons every new MyForge Labs project picks n8n:

Tip: to start, use the n8n Cloud 14-day trial (free). If you like it, move it to a $15/mo VPS and it's free forever.

The practical example: Gmail → Slack notification

We solve the problem that critical client emails (e.g. ones with "URGENT" in the subject) instantly ping the team on Slack. No more staring at the inbox.

5 steps — 5 minutes

1

Start n8n

Go to n8n Cloud signup and log in. 30 seconds. If you want to self-host on a VPS, one Docker command is enough:

docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n n8nio/n8n
2

Add Gmail trigger node

Click "+" in a new workflow, search for Gmail, pick "Trigger: On New Email". Log in with your Google account (OAuth).

Important: want EU-only data privacy? Use the "Send To Separate Label" option so it only watches a dedicated label (e.g. "clients/urgent"), not the whole inbox.

3

Filter with a condition

Add an IF node. Condition: {{ $json.subject }} contains the word "URGENT". (n8n expressions use curly braces.)

{{ $json.subject.toLowerCase().includes("urgent") }}

If true → output on the "true" branch. If not → "false" branch (no action needed there).

4

Slack message node

Connect the IF node "true" output to Slack > Send Message. Log in to your Slack workspace (OAuth). Channel: #urgent-support. Message:

:rotating_light: *URGENT email received* *From:* {{ $json.from }} *Subject:* {{ $json.subject }} *Preview:* {{ $json.snippet }}
5

Activate

Top right, click "Active" toggle. Done. Your workflow now runs 24/7.

Test: send yourself an email with "URGENT - test" as subject, check Slack channel 30s later.

What to do next?

Once this works, try:

Red flag: if you self-host n8n on a VPS, definitely set up authentication (default n8n is public!). Environment variable: N8N_BASIC_AUTH_ACTIVE=true.

Why is this worth the time?

At MyForge Labs, automation is a measurable value generator. For a typical client:

In BMAD methodology this is the Process & Automation Design (A) phase — see details on the BMAD Method page.

Need a more complex workflow?

For anything beyond n8n (custom AI agents, ERP/CRM integrations), MyForge Labs will scope and quote it in 2-5 days.

Related articles