← Documentation: Menu Order Push Notifications
This guide connects the menu website to your ntfy topic. The website and workflow must use the same Italian-named payload fields.
Import the JSON from this workflow's GitHub resources and leave it inactive. Create Header Auth with header Authorization and value Bearer YOUR_NTFY_TOKEN.
In ntfy notification, select that credential and set the URL to http://ntfy/YOUR_TOPIC on a shared Docker network, or your public HTTPS server and topic.
Keep the supplied raw text/plain body. Its expressions format the order into a notification.
Create an n8n Data Table with item and person Text columns and select it in DB. The supplied mapping logs the first item's name and customer name; expand the mapping if you need every item recorded.
The website must POST JSON to the webhook. Example:
{
"nome": "Mario",
"orario": "26/03/2026, 12:30:00",
"ordine": [
{
"sezione": "Food",
"nome": "Pizza",
"dettaglio": "",
"quantita": 1
},
{
"sezione": "Drinks",
"nome": "Beer",
"dettaglio": "33cl",
"quantita": 2
}
],
"totale": 3
}
If you change these field names, update the notification and table expressions together.
Start a manual webhook test and submit one sample order. Confirm the notification and inserted table row.
Configure the ntfy mobile app with your HTTPS server URL and subscriber account, then subscribe to the same topic. Set credentials at server level.
When the test works, activate the workflow and copy its production webhook URL to orderWebhook in the website's menu-data.js. Test from the website again.
If no push arrives, check the topic, token and mobile subscription. If the table write fails, reselect your table and compare its column names.
Review the Webhook execution when the website reports an error. Check for a table row or notification already produced before retrying.