DevSource: AY Automate

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.

What this template does

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. 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
    n8n
  • Telegram
    Telegram
  • OpenRouter
    OpenRouter
  • Claude Code
    Claude Code

Setup steps

  1. 1Wire a Telegram bot as the trigger and connect it to the workflow's Telegram Trigger node.
  2. 2Configure the LangChain Agent node with an OpenRouter chat model and a buffered-window memory node so context persists across messages.
  3. 3Add the SSH node's connection details for the remote host running Claude Code.
  4. 4Register the custom Code and Workflow tool nodes the agent can call to delegate sub-tasks.
  5. 5Test end to end from Telegram: send a task, confirm the agent routes it through SSH and returns a result.

More Dev templates

Other dev & agent automation templates in our directory.