Navigate Select ESC Close

I'll never use n8n the same......

2025-12-10 Science & Technology
75.9k
4.2k
398
NetworkChuck
NetworkChuck
5.3m subscribers

Integrating Claude Code Agents into n8n Workflows via SSH

Unlock true AI orchestration by connecting n8n workflows directly to powerful terminal tools like Claude Code using SSH, enabling complex context management and dynamic, multi-agent deployment.

Short Summary

  • Utilize the n8n SSH node as the bridge for executing commands on a remote server hosting your AI terminal tool.
  • Maintain rich, persistent conversational context across multiple workflow steps using Session IDs.
  • Deploy agents capable of referencing local files, running system skills, and executing complex automation routines.

This guide demonstrates how to leverage SSH to transform n8n from a simple executor into an orchestrator for powerful, locally controlled AI agents like Claude Code or Gemini CLI. By connecting the tools via command line, you immediately gain access to the AI tool's local file context and persistent memory capabilities, circumventing typical API limitations.

Unlock all features

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

Description

Get 67% OFF Hostinger’s n8n self-hosting AND an extra 10% OFF with code NETWORKCHUCK: https://hostinger.com/ncn8n N8n just got stupid powerful. In this video, I show you how I wired Claude Code (and other AI terminal tools like Gemini CLI) into my n8n workflows. N8n can now spin up full-blown AI agents, use skills, and keep rich context across multiple steps…. All from a single node. 🔥🧠 Check out our N8N COURSE on NetworkChuck Academy!: https://ntck.co/n8n_academy RESOURCES / LINKS: 📃 Guide / Walkthrough: https://github.com/theNetworkChuck/n8n-claude-code-guide ⚡ My video on why Claude Code is so great: https://youtu.be/MsQACpcuTkU TIMESTAMPS: 0:00 - Intro 0:24 - Requirements 2:50 - Super Simple Setup 4:33 - Basic Execution 7:55 - Sessions 9:52 - External Interfaces 12:54 - Architecture Shift **Sponsored by Hostinger SUPPORT NETWORKCHUCK --------------------------------------------------- 🎓🎓 Sign up for NetworkChuck Academy: https://ntck.co/NCAcademy ☕☕ COFFEE and MERCH: https://ntck.co/coffee 🌐🌐 Use the MOST SECURE Web Browser, NetworkChuck Cloud Browser: https://browser.networkchuck.com/ 🧠🧠 Use n8n, my favorite automation tool: https://ntck.co/n8n 🆘🆘 NEED HELP?? Join the Discord Server: https://discord.gg/networkchuck STUDY WITH ME on Twitch: https://bit.ly/nc_twitch READY TO LEARN?? --------------------------------------------------- -Sign up for NetworkChuck Academy: https://ntck.co/NCAcademy -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 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!! “n8n + Claude Code: The Most Overpowered Automation Stack” “How I Connected n8n to Claude Code with Just SSH” “Turn n8n into an AI Orchestrator with Claude Code” “Use n8n to Control Claude Code Agents Over SSH” “n8n Automation with Claude Code: Full Setup Tutorial” “Build an AI IT Department with n8n and Claude Code” “Claude Code + n8n Workflows: Headless AI in Your Automations” “How to Use Claude Code as an AI Terminal for n8n” “Maintaining AI Sessions in n8n with Claude Code (Session IDs)” “Slack + n8n + Claude Code: Talk to Your Homelab from Anywhere” “Using SSH Nodes in n8n to Run Claude Code Commands” “n8n and Claude Code for UniFi Monitoring and Network Checks” “Run Multiple Claude Agents from a Single n8n Workflow” “Build an AI-Powered NOC with n8n and Claude Code” “Why I Almost Quit n8n…Until I Added Claude Code” “Gemini CLI, Claude Code, and n8n: AI Terminal Superpowers” “How to Use AI Terminal Tools Inside Your n8n Workflows” “Self-Hosted n8n on Hostinger: Claude Code Integration Guide” “Turn Your Terminal AI into an API Using n8n + SSH” “n8n + Claude Code Automation Ideas for Your Homelab” #n8n #ClaudeCode #automation

Top Comments (10)

@withoutwroeirs 2025-12-10

Am I alone in no matter how many of those amazing videos I see, that sound truly awesome, yet I never seem to succeed in implementing them!

566 81 replies
@CRYPTO-CYPHER615 2025-12-10

Thanks Chuck For The Prayers. I Like Your Videos.

229 6 replies
@esambadrsasa 2025-12-15

This is similar to my setup on Pneumatic Workflow; it’s so much easier to manage structured workflows.

219
@justinterested5819 2025-12-10

"oops, It seems I actually deleted your root folder, sorry"

208 7 replies
@frank__lowe 2025-12-19

i came to watch n8n and at the end of the video with the prayer i almost cried. Godbless you

45 1 replies
@NetworkChuck 2025-12-10

Get 67% OFF Hostinger’s n8n self-hosting AND an extra 10% OFF with code NETWORKCHUCK: https://hostinger.com/ncn8n N8n just got stupid powerful. In this video, I show you how I wired Claude Code (and other AI terminal tools like Gemini CLI) into my n8n workflows. N8n can now spin up full-blown AI agents, use skills, and keep rich context across multiple steps…. All from a single node. 🔥🧠 Check out our N8N COURSE on NetworkChuck Academy!: https://ntck.co/n8n_academy RESOURCES / LINKS: 📃 Guide / Walkthrough: https://github.com/theNetworkChuck/n8n-claude-code-guide ⚡ My video on why Claude Code is so great: https://youtu.be/MsQACpcuTkU TIMESTAMPS: 0:00 - Intro 0:24 - Requirements 2:50 - Super Simple Setup 4:33 - Basic Execution 7:55 - Sessions 9:52 - External Interfaces 12:54 - Architecture Shift **Sponsored by Hostinger

41 18 replies
@Atlas-u3s 2026-01-25

The synchronicity of the pray at the end caught me off guard and was truly a bliss. I´m so grateful, bless you.

30 1 replies
@enzozenuni 2026-02-01

I wanted to send this to you in order to get your attention to the prayer you made. I was playing your video in the background and heard you praying. It caught my attention imemdiately, and went back to replay it to hear your prayer. I want to thank you for doing that, it made me very emotional as I have been struggling with in balancing my life with family and a few of the companies in tech that I own. It was very powerful, and I want to thank you so much for doing that. I love your content and it has inspired me and one of the reasons why I have my own companies today. You gave me a powerful message today, and I felt like I was lead to hear this today. Again, I can't thank you enough!

13
@Jeecompany 2026-03-25

“I really, really needed this prayer. It felt like a prayer from a comrade in the middle of a battlefield. I am currently handling several big government projects, and I have been feeling overwhelmed by the work pressure and by having to manage so many technologies all on my own. I have played this prayer almost ten times in a row, and every time it feels like such a blessing and brings me deep peace and satisfaction. I am from Odisha, India. I do not know how to thank you enough, so I just made a small purchase. Thank you, thank you again.”

6
@ac2877 2026-03-05

OMG! That was a curve ball at end! A PRAYER!!!! You made me smile and I prayed quietly with you. Thank you for the PRAYER !! Did not expect it, but made me smile and feel better now. Luv your channel brother!

5

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