Build a full REST-API with n8n webhooks
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (10)
- Edit Fields (Set)
n8n-nodes-base.set - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - No Operation, do nothing
n8n-nodes-base.noOp - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch - Manual Trigger
n8n-nodes-base.manualTrigger - If
n8n-nodes-base.if
What it does
What is it? A clean, extensible REST-style API routing template for n8n webhooks with up to 3 path levels. How does it work? 1. Serves API routes via Webhooks with path variables 2. Normalizes incoming requests into "global" REQUEST and CFG nodes 3. Flexible routing with Switch-nodes based on path segments & request method Key features - No setup required - Supports multiple HTTP methods - Global config via code node - Separation of concern between config/request and implementation data flow - Easy to extend Use cases - Prototyping backend APIs via JSON-responses - Serving interactive websites via HTML-nodes + TEXT responses