tutorials
n8n tutorial for beginners: build your first AI workflow in 30 minutes
A hands-on n8n tutorial for beginners: build a working AI workflow that emails you a daily news digest — no coding, no prior experience. Step-by-step with real node names.
Fri May 29 2026 00:00:00 GM
You're probably spending 4 hours a week on tasks that could run while you sleep. Not because the technology doesn't exist — but because nobody has shown you how to connect it.
This tutorial changes that. In 30 minutes, you'll have a live n8n workflow that fetches the day's top tech news, summarizes it with AI, and delivers a clean digest to your inbox every morning. No code. No prior automation experience required.
n8n is the automation platform at the core of this site's architecture — the content pipeline, the affiliate tracking, the research infrastructure are all designed to run through it. Let me show you how to build your first workflow.
What n8n actually is (in one paragraph)
n8n is a workflow automation tool — the same category as Zapier and Make.com, but with a key difference: it's open-source, self-hostable, and charges per workflow run rather than per task step. You build workflows by connecting nodes: a trigger node starts things off, action nodes do the work, and the data flows between them. The visual editor makes it feel closer to building a diagram than writing code.
For this tutorial, you'll use the n8n Cloud version — no server setup, free 14-day trial, no credit card required.
What you'll build
A six-node workflow that runs every morning at 8am:
- Schedule trigger — kicks off the workflow automatically
- RSS Feed Read — pulls the latest stories from Hacker News
- Limit — keeps only the top 5 stories
- Aggregate — merges them into a single block of text
- OpenAI — asks GPT to write a 2-sentence brief on each story
- Send Email — delivers your AI digest to your inbox
Total setup time: 25–30 minutes. After that, it runs itself.
What you'll need
- An n8n Cloud account (free trial at n8n.io — no credit card)
- An OpenAI account with API access ($0.01–0.05 to run this daily for a month)
- An email address to send the digest to
That's it. No Zapier account, no special tools, no paid subscriptions to get started.
Step 1: Create your n8n Cloud account
Go to n8n and click Start free trial. Sign up with your email — no credit card needed.
Once inside, you'll land on the main dashboard. Click New Workflow in the top right. You now have a blank canvas. This is where you'll build.
Tip: n8n auto-saves every few seconds. You can't lose progress.
Step 2: Add the Schedule trigger
Every automated workflow needs something to start it. Yours will start on a timer.
Click the + button in the center of the canvas. In the search bar, type Schedule. Select Schedule Trigger.
In the settings panel that appears on the right:
- Trigger interval: Every Day
- Hour: 8 (or whichever hour you want your digest)
- Minute: 0
Click the X to close the settings. Your first node is live.
Step 3: Add the RSS Feed node
Click the + button on the right edge of your Schedule trigger node. Search for RSS Feed Read. Select it.
In the settings:
- URL:
https://hnrss.org/frontpage
That's the Hacker News front page as an RSS feed — updated constantly, free, no API key needed.
Leave everything else at default. Click the Test step button (▶). You'll see real Hacker News stories flow in on the right side. That's your data.
Step 4: Add the Limit node
You only need 5 stories — not 30. Click + after RSS Feed Read. Search for Limit. Select it.
In the settings:
- Max Items: 5
Test it. You'll see exactly 5 stories. Clean.
Step 5: Add the Aggregate node
Right now, you have 5 separate items. You need to merge them into one block of text before sending to OpenAI.
Click + after Limit. Search for Aggregate. Select it.
In the settings:
- Aggregate: All Item Data (Into a Single List)
Test it. One item, containing all 5 stories as a list. This is what you'll pass to the AI.
Step 6: Add the OpenAI node
This is where the magic happens.
Click + after Aggregate. Search for OpenAI. Select it.
You'll be prompted to connect your OpenAI account. Click Create new credential, enter your OpenAI API key (you'll find it at platform.openai.com/api-keys), and save.
In the node settings:
- Resource: Chat
- Model: gpt-4o-mini (fast, cheap, excellent for summaries)
- Messages: Click Add Message → Role: User → Content: paste this prompt:
Here are today's top 5 tech stories from Hacker News:
{{ $json.data }}
For each story, write exactly 2 sentences: one summarizing what it is, one explaining why it matters for founders and builders. Format as a numbered list. Keep it tight — no fluff.
Test it. Within a few seconds, you'll see a clean, AI-written briefing for each story appear in the output panel.
Stop for a moment and look at what just happened. You gave an AI a live news feed and got a personalized briefing back — automatically, no copy-pasting, no prompting.
This is what n8n does.
Step 7: Add the Send Email node
One last step: get that digest into your inbox.
Click + after OpenAI. Search for Send Email. Select it.
n8n includes a built-in email option via Gmail or SMTP. For Gmail:
- Click Create new credential → Gmail OAuth2
- Follow the Google authentication flow (takes about 60 seconds)
In the node settings:
- From: your Gmail address
- To: your Gmail address (or any email)
- Subject:
🤖 Your AI Daily Briefing — {{ $now.format('MMMM D') }} - Message: Click the Expression toggle (the little lightning bolt) next to the field, then paste:
{{ $json.message.content }}
Test the node. Check your inbox. Your AI digest should be there.
Step 8: Activate the workflow
In the top right corner, toggle the workflow from Inactive to Active.
Your workflow is now running. Every morning at 8am, n8n will pull the top 5 Hacker News stories, send them to OpenAI, and email you the summary. No input from you. No clicking. Nothing.
That's what automation actually feels like.
Troubleshooting — the 3 things that usually go wrong
"OpenAI node shows an error" — most likely an expired or incorrect API key. Go to platform.openai.com, generate a new key, and update the n8n credential.
"The email never arrives" — check your spam folder first. If it's not there, re-test the Send Email node manually and confirm the Gmail OAuth connection is still valid.
"The RSS node returns 0 items" — the HN RSS feed is occasionally slow. Try swapping the URL for https://feeds.feedburner.com/TechCrunch or any other public RSS feed. The workflow works with any RSS source.
What to build next
You now understand the core pattern: Trigger → Fetch → Transform → Act. That pattern runs everything from simple digests to complex sales pipelines.
Three natural next steps from here:
Swap Hacker News for your niche. Every major publication has an RSS feed. Replace the URL and you have an AI briefing on marketing, finance, real estate — whatever your world is.
Replace email with Slack. Swap the Send Email node for the Slack node and route your digest to a channel. Your team gets a daily briefing without anyone managing it.
Add a Google Sheets node. Log each day's digest to a spreadsheet. After a month, you have a searchable archive of what happened in your industry.
The n8n template library has hundreds of starting points. Worth an hour of browsing once you're comfortable with the basics.
Is n8n worth paying for?
The free trial gives you 14 days to test everything. After that, the Starter plan is €20/month (billed annually) — 2,500 workflow executions per month, which is more than enough for a handful of personal workflows.
If you're running workflows in a small team or business context, the Pro plan at €50/month covers up to 10,000 executions with 20 concurrent runs and workflow history.
The catch — and there's always a catch — is that n8n works best if you're willing to spend a few hours learning it. The visual editor is approachable, but complex workflows still require patience. If you need something that works in five minutes with no learning curve, Make.com might be a better start. n8n rewards the people who dig in.
For everything else, it's the best automation tool I've seen at this price point.
The bottom line
You just built an AI workflow from scratch. Schedule trigger → RSS feed → AI summary → email digest. It runs every morning without you.
That's the first one. The pattern you learned today scales to almost anything: lead qualification, content pipelines, data enrichment, client reporting. The complexity grows — the underlying logic doesn't.
Start with this workflow. Run it for a week. Then break it.
Full disclosure: this article contains affiliate links. If you sign up for n8n through a link on this page, The Operator may earn a commission — at no extra cost to you. The Operator only covers tools it would recommend anyway.