Back to Templates 
This workflow demonstrates how to use n8n to serve a complete, styled HTML webpage. It acts as a mini web server, responding to browser requests with your custom HTML content.
Webhook node configured to listen for GET requests on a specific path. When you visit this node's Production URL in a browser, it triggers the workflow.Respond to Webhook node is configured to send a response back to the browser.
Content-Type: text/html, which tells the browser to render the response as a webpage, not just plain text.Body field of this node.When activated, visiting the webhook URL will instantly display the custom webpage.
Setup time: < 1 minute
This workflow is ready to use out-of-the-box.
Your WebPage (Webhook) node and copy its Production URL.Site (Respond to Webhook) node and replace the content in the Body field with your own code.