The Fastest Way to Connect Claude Code to n8n

The Fastest Way to Connect Claude Code to n8n

More

Summary

Zubair Trabzada walks through what he considers the simplest method for connecting Claude Code to n8n — using the n8n REST API directly rather than the n8n MCP (Model Context Protocol) server. The distinction matters in practice: by instructing Claude Code to ‘create the n8n workflow via the n8n API’ and explicitly telling it not to output a JSON file, the workflow is created live in the user’s n8n instance without any manual import/export step.

The tutorial covers the full credential setup: retrieving the n8n Cloud instance URL, generating an n8n API key from the settings panel, and passing both to Claude Code when prompted during the session. As a practical example, the video uses a plumber scheduling system combining Retell AI for voice handling and n8n for backend automation — Claude Code then automatically generates a multi-webhook n8n workflow based on the description, which appears in the user’s n8n workflow list without any manual intervention.

The video also touches on Claude Code session setup (choosing a working folder, Claude.ai Pro plan requirement at $20/month vs. the $100/month Max plan), and shows how to configure Claude Code’s permission prompts to allow continuous execution. The technique applies to any scenario where a developer wants Claude Code to programmatically build or modify n8n workflows at runtime rather than generating static JSON exports.


📺 Source: Zubair Trabzada | AI Workshop · Published January 29, 2026
🏷️ Format: Tutorial Demo

1 Item

Channels