Navigate Select ESC Close

n8n Now Runs My ENTIRE Homelab

2025-10-03 Science & Technology
597.7k
22.4k
1.7k
NetworkChuck
NetworkChuck
5.3m subscribers

Building Terry: An AI Agent to Run Your Entire Homelab with n8n

Empower your infrastructure by deploying "Terry," an AI IT employee built in n8n, capable of monitoring, troubleshooting, and autonomously fixing issues across Docker, UniFi, and Proxmox environments.

Short Summary

  • Deploy a self-hosted n8n instance in the cloud for resilient AI agent operation (Terry).
  • Grant Terry specialized tool access (HTTP, SSH, n8n Workflows) to interact with your systems.
  • Implement structured output parsing and conditional logic (IF statements/Switch) to ensure notifications only trigger on actual failures.
  • Protect system integrity by integrating Human-in-the-Loop approval workflows before allowing destructive or system-altering commands.
  • Extend Terry’s reach to real infrastructure components like UniFi and Proxmox via API and CLI integration.

This guide walks you through advancing a simple monitoring bot into a powerful IT automation agent using n8n workflows and AI logic. You learn how to progressively increase trust, mitigate catastrophic risks through approvals, connect the agent to diverse services, and create robust, automated troubleshooting routines.

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Setup n8n in 5 min with https://hostinger.com/ncn8n + use code NETWORKCHUCK for a discount. In this video, I take n8n to the NEXT LEVEL by building an AI agent. Meet my new IT employee “Terry” who can monitor, troubleshoot, and even fix my homelab. From Docker containers to Plex, Proxmox, and UniFi, Terry learns how to keep everything running smoothly. This is not just automation; this is AI running my ENTIRE homelab. GUIDE / RESOURCES: 📃 Guide / Documentation: https://github.com/theNetworkChuck/n8n-terry-guide 📺 Part 1 (Baby Terry – first n8n video): https://youtu.be/ONgECvZNI3o?si=xCwIMQLjIjug-hNP TIMESTAMPS: 0:00 - Intro: Meet Terminator Terry (The AI IT Employee) 0:58 - Employee Onboarding: Teaching Terry the Basics 2:22 - Setting Up n8n in the Cloud (Hostinger Setup) 2:58 - Connecting Terry to Your Homelab with Twingate 3:15 - Building Terry's First Workflow in n8n 4:01 - Creating a Test Website (Docker Container Setup) 5:00 - Terry's First Tool: HTTP Request (Website Monitoring) 6:11 - Teaching Terry to Monitor Like a Human 7:43 - Terry's Second Tool: SSH Access (Docker Commands) 10:00 - Converting SSH to a Workflow Tool 11:06 - Terry Learns to Troubleshoot (Docker PS & Inspect) 13:05 - Giving Terry More Freedom (Dynamic Commands) 14:16 - Making Terry Autonomous (Schedule Trigger Setup) 17:54 - Telegram Notifications: Terry Reports Back 19:24 - Structured Output: Teaching Terry Clean Data 22:33 - Smart Filtering: Only Alert on Problems 23:09 - Level 2 Engineer: Teaching Terry to Fix Things 24:49 - The Port Conflict Challenge (Terry's First Real Test) 26:42 - Upgrading Terry's Brain (GPT-4 vs Mini) 28:18 - Human-in-the-Loop: Taking Back Control 30:27 - Setting Up Approval Workflows 32:02 - Terry Asks Permission Before System Changes 35:06 - Testing the Complete Workflow (Monitor → Troubleshoot → Approve → Fix) 37:02 - Connecting Terry to Your Real Homelab 37:40 - Unifi Network Control (API Integration) 38:55 - Proxmox Integration (CLI & API Access) 🔥🔥Join the NetworkChuck Academy!: https://ntck.co/NCAcademy **Sponsored by Hostinger SUPPORT NETWORKCHUCK --------------------------------------------------- ➡️NetworkChuck membership: https://ntck.co/Premium ☕☕ COFFEE and MERCH: https://ntck.co/coffee Check out my new channel: https://ntck.co/ncclips 🆘🆘NEED HELP?? Join the Discord Server: https://discord.gg/networkchuck STUDY WITH ME on Twitch: https://bit.ly/nc_twitch READY TO LEARN?? --------------------------------------------------- -Learn Python: https://bit.ly/3rzZjzz -Get your CCNA: https://bit.ly/nc-ccna FOLLOW ME EVERYWHERE --------------------------------------------------- Instagram: https://www.instagram.com/networkchuck/ Twitter: https://twitter.com/networkchuck Facebook: https://www.facebook.com/NetworkChuck/ Join the Discord server: http://bit.ly/nc-discord AFFILIATES & REFERRALS --------------------------------------------------- (GEAR I USE...STUFF I RECOMMEND) My network gear: https://geni.us/L6wyIUj Amazon Affiliate Store: https://www.amazon.com/shop/networkchuck Buy a Raspberry Pi: https://geni.us/aBeqAL Do you want to know how I draw on the screen?? Go to https://ntck.co/EpicPen and use code NetworkChuck to get 20% off!! fast and reliable unifi in the cloud: https://hostifi.com/?via=chuck how to use n8n to automate your homelab how to build an ai agent with n8n how to monitor docker containers with n8n how to automate proxmox with n8n how to set up plex monitoring in n8n how to use n8n with unifi how to make ai troubleshoot your server how to automate your home network with n8n how to connect telegram alerts to n8n how to build a self hosted ai helpdesk with n8n how to teach ai to monitor your website with n8n how to restart docker containers automatically with n8n how to use ssh in n8n workflows how to integrate api monitoring into n8n how to use n8n for server monitoring how to automate plex and unifi with n8n how to run ai workflows with n8n how to set up automated troubleshooting in n8n how to use n8n to fix server issues how to automate your homelab with ai #n8n #homelab #automation TAGS: n8n, home lab automation, AI agent, Terry the AI, Docker automation, Plex automation, Proxmox automation, UniFi API, IT automation, self-hosted AI, AI troubleshooting, network automation, Telegram alerts, DevOps tools, sysadmin tools, home lab project, monitor and fix servers, Docker containers, automation tutorial, NetworkChuck

Top Comments (10)

@MustPassTruck 2025-10-03

I have a feeling what ever church you are going to has some crazy network setup.

910 10 replies
@chrisw1462 2025-10-05

Tomorrow at work, walk into your boss's office and tell them everything is working fine... every 5 minutes.

468 4 replies
@liammcgarrigle 2025-10-03

I love so much that you're covering n8n now! I've been an n8n user for years (even before AI was added) and just recently joined their team as a developer advocate. Let me know if you ever need anything!

411 5 replies
@Nuetzt-ja-nix 2025-10-03

This is so good. Not the 100th RAG or Voice/Marketing/Email Agent for n8n but really showing the power of the platform beyond those.

272 1 replies
@SplitSniper7 2025-10-04

28:15 Terry was CLEARLY trying to quit, he's not getting paid enough to work through problems like that🤣

211 1 replies
@hajjimubarak 2025-10-03

Can we let Terry have access to his own n8n so he can create whatever kind of workflow he wants? 🤯

182 16 replies
@NetworkChuck 2025-10-03

Setup n8n in 5 min with hostinger.com/ncn8n + use code NETWORKCHUCK for a discount. In this video, I take n8n to the NEXT LEVEL by building an AI agent. Meet my new IT employee “Terry” who can monitor, troubleshoot, and even fix my homelab. From Docker containers to Plex, Proxmox, and UniFi, Terry learns how to keep everything running smoothly. This is not just automation; this is AI running my ENTIRE homelab. GUIDE / RESOURCES: 📃 Guide / Documentation: https://github.com/theNetworkChuck/n8n-terry-guide 📺 Part 1 (Baby Terry – first n8n video): https://youtu.be/ONgECvZNI3o?si=xCwIMQLjIjug-hNP

134 40 replies
@andresvaldezweill7766 2025-10-23

Hey Chuck, you might not see this at all. I am a big follower of your content for years now. I am not a religious person at all, after service I lost my faith. I came here for knowledge as usual, excited and pumped about using this at my daily work as a Solutions Architect. But let me tell you, that last bit hit me HARD, I needed it and I thank you immensely for it. Keep doing this awesome content, keep being you, thank you.

39 1 replies
@drnasdaqlive 2025-10-10

Thank you for all you do for the IT community. Thank you for blessing us with your prayers. You are one of a kind. Thank you, Thank you, Thank you

39
@HauthyPiyces 2025-10-10

27:46 Terry took the Gemini route.

7

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot