Uploaded December 2025 | Updated September 2026, 1 day ago
In this n8n Labs walkthrough, Aubrey from DevCentral shows how to use ai agents inside n8n with OpenAI to watch any YouTube channel and auto‑email a clean HTML newsletter via Gmail. We pull the channel’s RSS with an HTTP Request, convert XML to JSON, pass entries to an AI Agent to summarize and structure each video (title, description, link, thumbnail), generate the HTML with a Code node, preview it, and send it. Perfect for tracking competitors or favorite channels, and easy to trigger on a schedule, webhook, or even a chat command.
You’ll learn the exact workflow end‑to‑end: finding a YouTube channel ID, configuring XML→JSON, crafting a prompt plus structured output parser for the ai agent, wiring a lightweight OpenAI chat model, and setting up Gmail via OAuth to deliver the newsletter. It’s fast, cheap, and customizable—swap the channel, tweak the prompt, and you’re done. If you’re into ai, agents, n8n, gmail, openai, and practical automation, hit like, subscribe, and share what you build.
00:00 Introduction
00:36 Prerequisites
01:21 Create New n8n Workflow & Trigger
02:35 Scrape Your Channel
04:56 XML to JSON
06:01 JSON Conversion Agent
09:54 HTML Form
11:31 Preview Newsletter
12:51 Gmail It
15:12 Proof In The Puddin'
15:47 Wrap It Up, B!
Notes:
- Contributed by: Aubrey King
- Lab: github.com/f5devcentral/AI-stepbystep/blob/main/4_agentic_labs/n8n/n8n_yt_gmail.md
- Related Article: community.f5.com/kb/technicalarticles/i-tried-to-beat-openai-with-ollama-in-n8n%E2%80%94here%E2%80%99s-why-it-failed-and-the-bug-i%E2%80%99m-f/344652
⬇️⬇️ JOIN THE COMMUNITY! ⬇️⬇️⬇️
DevCentral is an online community of technical peers dedicated to learning, exchanging ideas, and solving problems—together.
Find all our platform links ⬇️ and follow our Community Evangelists! 👋
➡️ DEVCENTRAL: community.f5.com
➡️ YOUTUBE: youtube.com/devcentral
➡️ LINKEDIN: linkedin.com/showcase/f5-devcentral
➡️ X: https://x.com/devcentral
Your Community Evangelists:
👋 Jason Rahm: linkedin.com/in/jrahm | https://x.com/jasonrahm
👋 Buu Lam: linkedin.com/in/buulam | https://x.com/buulam
👋 Aubrey King: linkedin.com/in/aubreyking | https://x.com/aubreykingf5
👋 Chase Abbott: linkedin.com/in/chaseabbott1
In this n8n Labs walkthrough, Aubrey from DevCentral shows how to use ai agents inside n8n with OpenAI to watch any YouTube channel and auto‑email a clean HTML newsletter via Gmail. We pull the channel’s RSS with an HTTP Request, convert XML to JSON, pass entries to an AI Agent to summarize and structure each video (title, description, link, thumbnail), generate the HTML with a Code node, preview it, and send it. Perfect for tracking competitors or favorite channels, and easy to trigger on a schedule, webhook, or even a chat command.
You’ll learn the exact workflow end‑to‑end: finding a YouTube channel ID, configuring XML→JSON, crafting a prompt plus structured output parser for the ai agent, wiring a lightweight OpenAI chat model, and setting up Gmail via OAuth to deliver the newsletter. It’s fast, cheap, and customizable—swap the channel, tweak the prompt, and you’re done. If you’re into ai, agents, n8n, gmail, openai, and practical automation, hit like, subscribe, and share what you build.
00:00 Introduction
00:36 Prerequisites
01:21 Create New n8n Workflow & Trigger
02:35 Scrape Your Channel
04:56 XML to JSON
06:01 JSON Conversion Agent
09:54 HTML Form
11:31 Preview Newsletter
12:51 Gmail It
15:12 Proof In The Puddin'
15:47 Wrap It Up, B!
Notes:
- Contributed by: Aubrey King
- Lab: github.com/f5devcentral/AI-stepbystep/blob/main/4_agentic_labs/n8n/n8n_yt_gmail.md
- Related Article: community.f5.com/kb/technicalarticles/i-tried-to-beat-openai-with-ollama-in-n8n%E2%80%94here%E2%80%99s-why-it-failed-and-the-bug-i%E2%80%99m-f/344652
⬇️⬇️ JOIN THE COMMUNITY! ⬇️⬇️⬇️
DevCentral is an online community of technical peers dedicated to learning, exchanging ideas, and solving problems—together.
Find all our platform links ⬇️ and follow our Community Evangelists! 👋
➡️ DEVCENTRAL: community.f5.com
➡️ YOUTUBE: youtube.com/devcentral
➡️ LINKEDIN: linkedin.com/showcase/f5-devcentral
➡️ X: https://x.com/devcentral
Your Community Evangelists:
👋 Jason Rahm: linkedin.com/in/jrahm | https://x.com/jasonrahm
👋 Buu Lam: linkedin.com/in/buulam | https://x.com/buulam
👋 Aubrey King: linkedin.com/in/aubreyking | https://x.com/aubreykingf5
👋 Chase Abbott: linkedin.com/in/chaseabbott1










