Serve a notes web app via webhooks and n8n Data Tables
Quick overview This workflow hosts a simple notes web app in n8n, serving a static HTML UI via a webhook and providing CRUD API endpoints backed by an n8n Data Table. No separate website, database, or hosting. Everything — the UI, logic and data — runs in the same workflow.
How it works A manual run creates the "n8n-notes" Data Table (if it does not already exist) with columns for note title, body, color, and position. A GET request to the /notes webhook returns a static HTML page that acts as the notes UI. The UI calls the GET /notes-list webhook to fetch all notes from the n8n Data Table and display them in the browser. When a note is added from the UI, the POST /notes-create webhook inserts a new row into the Data Table and returns the result. When a note is edited or reordered, the PUT /notes-update webhook updates the matching Data Table row by id and returns the updated record. When a note is deleted, the DELETE /notes-delete webhook removes the matching Data Table row by id and returns the deletion result.
Setup Run the manual trigger once to create the "n8n-notes" Data Table with the required columns. Activate the workflow and copy the production URL for the GET /notes webhook, then open it in a browser to load the UI. If you serve the UI from a different origin, ensure your environment allows cross-origin requests (the API webhooks enable CORS with allowedOrigins set to *).
Related Templates
Send structured logs to BetterStack from any workflow using HTTP Request
Send structured logs to BetterStack from any workflow using HTTP Request Who is this for? This workflow is perfect for...
Google Sheets UI for n8n Workflow
Google Sheets UI for Workflow Control This n8n template provides a practical and efficient way to manage your n8n workf...
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments