YouTube2Text

Build Your First AI Agent with n8n (No Code) — Transcript

by AutomateLab AI · 1,459 words · 138 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Monday morning.
  2. 0:01You open your inbox — forty-seven unread emails.
  3. 0:04And here's the thing: what if you didn't have to read a single one?
  4. 0:08What if an AI agent read them all, sorted the urgent ones from the noise, drafted the replies, and logged everything in a sheet —
  5. 0:16while you just checked the drafts and hit send?
  6. 0:19That's what I'm building today.
  7. 0:20One agent.
  8. 0:21One real job.
  9. 0:23No code.
  10. 0:24And it costs nothing to start.
  11. 0:25This is n8n.
  12. 0:28Sixty seconds. n8n is a workflow tool — think Zapier, but one you can run yourself, for free.
  13. 0:35You build on a canvas: little boxes called nodes, connected by lines.
  14. 0:39Each node does one job — read an email, ask an AI a question, write a row in a sheet.
  15. 0:45And an AI agent is the same idea, with a brain: you give it a goal and a toolbox, and it picks the steps itself.
  16. 0:52The agent I'm building reads your inbox and drafts your replies. n8n has been around since twenty nineteen, and the current stable version is two point forty-seven point seven, from the thirteenth of November.
  17. 1:05The reason to build it now?
  18. 1:06December.
  19. 1:07I'll get to that.
  20. 1:08Here's how I built it.
  21. 1:10One job: inbox triage.
  22. 1:12The agent reads new emails, sorts them, drafts replies, and logs them.
  23. 1:17The data is sample — fake senders, fake subjects — because I'm not putting my real inbox in a YouTube video.
  24. 1:24And one thing I have to be honest about up front: these screens are reconstructions of the real n8n interface.
  25. 1:31I can't run a live n8n account in this video — no server, no login.
  26. 1:36But every step, every price, every date is real, and I'll tell you exactly where each number comes from.
  27. 1:43And at the end, I'll tell you what a real live test would need.
  28. 1:47The only job: the inbox agent.
  29. 1:49Here's the setup.
  30. 1:50The trigger is a Gmail Trigger — every time a new email lands, it wakes the agent up.
  31. 1:55The agent reads the subject and the first lines, and sorts each email into three buckets: reply, archive, or urgent.
  32. 2:02Then it drafts a reply for the ones that need one, and writes a row in a Google Sheet —
  33. 2:07sender, subject, category, draft ready.
  34. 2:10Nothing is sent.
  35. 2:11Not one word leaves your account without you.
  36. 2:13That's the rule for the whole build: the agent proposes, you dispose.
  37. 2:18Now the agent itself.
  38. 2:20This is the AI Agent node — the big box in the middle of the canvas.
  39. 2:24Since version one point eighty-two, every AI Agent node in n8n works as a Tools Agent.
  40. 2:30That means there's no agent type to pick anymore — no ReAct, no Plan and Execute, nothing to choose.
  41. 2:37You just plug things into it.
  42. 2:39Underneath the node, there are three sockets: one for a chat model — that's the brain, and it's required.
  43. 2:46One for memory — optional.
  44. 2:48And as many tools as you want — but at least one, or the agent has nothing to do.
  45. 2:53That's the whole skeleton.
  46. 2:55Trigger, agent, model, memory, tools.
  47. 2:58Five parts, and you're done.
  48. 3:01The brain first.
  49. 3:02I picked the Google Gemini Chat Model — the Flash model, because Google's Gemini API has a free tier.
  50. 3:09The Flash model costs nothing — about twenty requests a day, and Google shows your exact limit in AI Studio.
  51. 3:16You could swap in OpenAI or Anthropic instead — same socket, different key.
  52. 3:22Then memory: Simple Memory.
  53. 3:25It remembers the conversation so the agent knows what it already said.
  54. 3:29But here's the catch — Simple Memory only lasts for the current session.
  55. 3:34Close the chat, and it forgets.
  56. 3:36If you need it to remember forever, you'd use a database memory instead — Postgres or Redis.
  57. 3:42For a first agent, Simple Memory is enough.
  58. 3:45Now the tools — the hands.
  59. 3:49The agent gets two.
  60. 3:51First, Gmail — the agent can read emails and create drafts.
  61. 3:55Not send.
  62. 3:56Create drafts.
  63. 3:57That's a real Gmail operation in n8n: resource Draft, operation Create.
  64. 4:04The draft sits in your Gmail, waiting for you.
  65. 4:06Second, Google Sheets — the agent logs every email it touches: sender, subject, category, draft status.
  66. 4:14One row per email.
  67. 4:16The setting to watch is Max Iterations — ten by default.
  68. 4:20That's the cap on how many rounds the model gets before it has to answer.
  69. 4:24It stops a confused agent from looping forever.
  70. 4:27Ten is fine for this job.
  71. 4:30Let's run it.
  72. 4:31Three sample emails land at once.
  73. 4:32One: Sarah from Acme Corp — "Can we move Thursday's two PM call to Friday morning?" The agent reads it, sorts it as reply, and drafts: "Hi Sarah — Friday ten AM works for me.
  74. 4:44Does that suit you?" Two: a newsletter — "The Daily Grind, issue forty-two." The agent sorts it as archive.
  75. 4:52No draft, no reply — just a row in the sheet.
  76. 4:56Three: a customer, Mike — "My order still hasn't arrived, but tracking says delivered." The agent sorts it as urgent, drafts a reply, and flags it red in the sheet.
  77. 5:06Three emails in.
  78. 5:07Two drafts waiting in Gmail.
  79. 5:08Three rows in the sheet.
  80. 5:10And I typed — nothing.
  81. 5:12Zero words.
  82. 5:13That's the result: the inbox, triaged.
  83. 5:16Now the honest part.
  84. 5:17What if the agent gets it wrong?
  85. 5:19It can.
  86. 5:20It's an AI — it can misread a tone, or draft something too formal, or sort an urgent email as archive.
  87. 5:26That's why the whole build ends in drafts, not sends.
  88. 5:30The draft is the safety net.
  89. 5:32And if it keeps getting one kind of email wrong, you fix the system message —
  90. 5:36that's the instruction you write for the agent, in plain English.
  91. 5:39Tell it what "urgent" means to you.
  92. 5:42Tell it how you talk.
  93. 5:42The agent is only as good as its instructions — and its instructions are yours to write.
  94. 5:48But here's the pro move — the one that changes everything.
  95. 5:52Human review.
  96. 5:53In n8n, you can put a human approval step on any tool.
  97. 5:57When the agent wants to use that tool, the workflow pauses, and you get a request: here's the tool, here's what the AI wants to do with it.
  98. 6:05Approve — and it runs.
  99. 6:07Deny — and it's cancelled, and the agent is told.
  100. 6:10So I switch the Gmail tool from draft to send — and I gate it behind human review.
  101. 6:15Watch: the agent drafts a reply to Sarah and asks, "Send this?" I tap Approve — sent.
  102. 6:22Then it drafts a reply to a refund request, and I tap Deny — cancelled, and the agent tells me so.
  103. 6:28The agent can send now.
  104. 6:30But only when I say so.
  105. 6:31That's not a limitation.
  106. 6:33That's the whole point.
  107. 6:34Now the warning — and the reason to build this now. n8n three point oh went into beta on the twenty-seventh of October.
  108. 6:43The stable release lands in early December.
  109. 6:45And it is a one-way upgrade — no going back, except restoring a backup.
  110. 6:49Here's what breaks: the old AI Agent version one is gone — that's why we built on the Tools Agent.
  111. 6:56More than thirty legacy nodes are removed — Cron, Interval, Function, Item Lists, and more.
  112. 7:03If a published workflow uses one, it won't even activate.
  113. 7:07And installing with npm or npx is gone — Docker only.
  114. 7:11So before you touch that update button: open Settings, run the Migration Report —
  115. 7:17it needs version two point thirty-nine or later —
  116. 7:21and it will list every workflow that needs work.
  117. 7:23Run it first.
  118. 7:24Then update.
  119. 7:26So what does it cost?
  120. 7:28The free route first: n8n's Community Edition is free —
  121. 7:32zero dollars for the licence, you run it on your own server.
  122. 7:36A small server runs about five to seven dollars a month.
  123. 7:38The brain is free too — Google's Gemini Flash model on the free tier.
  124. 7:43So the whole agent can cost you about five dollars a month.
  125. 7:46The Cloud route: a fourteen-day free trial, no credit card, up to a thousand executions.
  126. 7:51After that, Starter is twenty-four dollars a month — twenty if you pay yearly — for two thousand five hundred executions.
  127. 8:01Pro is sixty dollars a month — fifty yearly — for ten thousand.
  128. 8:05So who should use what?
  129. 8:07Just curious?
  130. 8:08Take the fourteen-day trial.
  131. 8:10Inbox every day?
  132. 8:11Self-host it free, and spend the server money.
  133. 8:13A team, or a business?
  134. 8:15Starter on the Cloud, and let n8n run the server.
  135. 8:19Pick by how much work you hand off — not by the price tag.
  136. 8:23What ONE job would you hand your first agent — the inbox, or something else?
  137. 8:28Comment it below, and I'll tell you the first three nodes to build it with.
  138. 8:31Thanks for watching — Go automate something.

About this transcript

This page contains the full transcript of Build Your First AI Agent with n8n (No Code) by AutomateLab AI, generated from the public captions YouTube serves with the video. The transcript has 1,459 words across 138 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.