n8n Claude Code Terminal Bridge
A minimal n8n workflow that exposes a chat trigger, formats the incoming message with a Set node, and pipes it over SSH into a running Claude Code CLI session — the smallest possible bridge between a chat UI and a real terminal agent.
What this template does
A minimal n8n workflow that exposes a chat trigger, formats the incoming message with a Set node, and pipes it over SSH into a running Claude Code CLI session — the smallest possible bridge between a chat UI and a real terminal agent. It's categorized in our directory under Dev & Agent Automation — agent coordination, CI/CD glue, and developer-tool integrations — including our own Claude Code + n8n templates.
Integrations
- n8n
- Claude Code
Setup steps
- 1Add a Chat Trigger node so the workflow can be called from a simple chat widget or API call.
- 2Use a Set node to shape the incoming message into the exact command string Claude Code expects.
- 3Configure the SSH node with credentials for the box running the Claude Code CLI.
- 4Run the workflow and confirm the CLI receives the message and returns output back through n8n.
More Dev templates
Other dev & agent automation templates in our directory.
n8n + Claude Code Agent Coordinator
A Telegram-triggered n8n workflow that routes messages to a LangChain agent (via OpenRouter) with buffered memory, custom tools, and an SSH node that runs commands against a remote Claude Code session — built to coordinate multiple agent tasks from a chat interface.
AI Agent Production Deployment Checklist
How we take an agent from a working laptop demo to production: scoped credentials instead of a master key, a sandboxed execution environment, eval gates before shipping a prompt change, observability on every run, and a rollback path.
Claude Code Skills System
How we standardize repeatable engineering work as versioned Claude Code skills, so every build starts from a proven playbook — publishing, audits, image pipelines, SEO checks, and deploy safety are all captured as skills, not one-off prompts.
AI Product Build Pipeline
Our end-to-end process for shipping an AI-native product feature: scoping the real user workflow first, prototyping against production-shaped data, and shipping behind a flag with evals in place before it's exposed to real users.