Templates / Build a full REST-API with n8n webhooks

Build a full REST-API with n8n webhooks

Ready for 3.0

by Christian Knoflach · 141 views · created 2026-01-18 · Engineering

Ready 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 43 nodes and runs when an HTTP GET request hits its webhook URL (plus 3 other triggers). It uses only n8n's built-in nodes.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 3 other triggers).

  1. -> GET (Edit Fields (Set)): sets 1 field: method
  2. -> POST (Edit Fields (Set)): sets 1 field: method
  3. -> PUT (Edit Fields (Set)): sets 1 field: method
  4. -> DELETE (Edit Fields (Set)): sets 1 field: method
  5. regular Set node (Edit Fields (Set)): sets 1 field: test
  6. Named node (Edit Fields (Set)): sets 1 field: test
  7. 50:50 randomizer (If): checks a condition and branches into true / false
  8. _REQUEST (Edit Fields (Set)): sets or maps fields
  9. Merge: merges the data from its input branches
  10. non-passthrough node (Execute Sub-workflow): calls another n8n workflow

…plus 21 more steps. See the full node list below.

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

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…

Excerpt from Christian Knoflach's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.