Today's reservations sent to your staff group
Every afternoon, your floor team gets today's bookings on Telegram: times, names, guests and notes.
How it works
- Read the Reservations sheet.
- Keep today's bookings that aren't cancelled, in time order.
- Send the list with the total guests to your staff group.
Diagram
Code
JavaScript used in the Code step — already included in the template below.
// Reservations sheet columns: date (YYYY-MM-DD) | time | name | phone | guests | notes | status
// Builds today's booking list for the floor team, in time order.
const today = new Date().toISOString().slice(0, 10);
const rows = $input.all()
.map((item) => item.json)
.filter((r) => String(r.date).slice(0, 10) === today && String(r.status).toLowerCase() !== "cancelled")
.sort((a, b) => String(a.time).localeCompare(String(b.time)));
if (!rows.length) return [{ json: { message: `No reservations today (${today}).` } }];
const guests = rows.reduce((sum, r) => sum + (Number(r.guests) || 0), 0);
const list = rows.map((r) => `${r.time} ${r.name} · ${r.guests} guests${r.notes ? ` · ${r.notes}` : ""}`).join("\n");
return [{ json: { message: `🍽 Today: ${rows.length} bookings, ${guests} guests\n\n${list}` } }];Build it
Pick your tool — same automation, step by step.
Copy and paste straight into an n8n canvas (Ctrl+V), or download and use Import from File. Then connect your own credentials and replace every YOUR_… placeholder.
Show code (136 lines)
{
"name": "Today's reservations sent to your staff group (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## Today's reservations sent to your staff group\nEvery afternoon, your floor team gets today's bookings on Telegram: times, names, guests and notes.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "2473c6c3-ba78-4235-a758-cbde9652839a",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 16
}
]
}
},
"id": "2473c6c3-ba78-4235-a758-cbde9652839a",
"name": "Every day 16:00",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
0,
0
]
},
{
"parameters": {
"operation": "read",
"documentId": {
"__rl": true,
"value": "YOUR_SPREADSHEET_ID",
"mode": "id"
},
"sheetName": {
"__rl": true,
"value": "Reservations",
"mode": "name"
},
"options": {}
},
"id": "2473c6c3-ba78-4235-a758-cbde9652839a",
"name": "Read reservations",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.5,
"position": [
300,
0
]
},
{
"parameters": {
"jsCode": "// Reservations sheet columns: date (YYYY-MM-DD) | time | name | phone | guests | notes | status\n// Builds today's booking list for the floor team, in time order.\nconst today = new Date().toISOString().slice(0, 10);\n\nconst rows = $input.all()\n .map((item) => item.json)\n .filter((r) => String(r.date).slice(0, 10) === today && String(r.status).toLowerCase() !== \"cancelled\")\n .sort((a, b) => String(a.time).localeCompare(String(b.time)));\n\nif (!rows.length) return [{ json: { message: `No reservations today (${today}).` } }];\n\nconst guests = rows.reduce((sum, r) => sum + (Number(r.guests) || 0), 0);\nconst list = rows.map((r) => `${r.time} ${r.name} · ${r.guests} guests${r.notes ? ` · ${r.notes}` : \"\"}`).join(\"\\n\");\n\nreturn [{ json: { message: `🍽 Today: ${rows.length} bookings, ${guests} guests\\n\\n${list}` } }];"
},
"id": "2473c6c3-ba78-4235-a758-cbde9652839a",
"name": "Today's bookings",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
600,
0
]
},
{
"parameters": {
"chatId": "YOUR_CHAT_ID",
"text": "={{ $json.message }}",
"additionalFields": {
"appendAttribution": false
}
},
"id": "2473c6c3-ba78-4235-a758-cbde9652839a",
"name": "Send to staff group",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
900,
0
]
}
],
"connections": {
"Every day 16:00": {
"main": [
[
{
"node": "Read reservations",
"type": "main",
"index": 0
}
]
]
},
"Read reservations": {
"main": [
[
{
"node": "Today's bookings",
"type": "main",
"index": 0
}
]
]
},
"Today's bookings": {
"main": [
[
{
"node": "Send to staff group",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}In Make, create a new scenario and add these modules in order:
- Schedule the scenario: Every day 16:00
- Google Sheets › Search Rows
- Tools › Set variable / Iterator + Array aggregator (same logic as the Code step)
- Telegram Bot › Send a Text Message or a Reply
- Every module run uses Make operations — the free plan includes a monthly quota.
- Make's built-in functions (map, sum, formatDate…) can replace most Code steps; for complex logic use a code module.
- Module and step names can differ slightly as Make and Zapier update their apps.
In Zapier, create a new Zap and add these steps in order:
- Schedule by Zapier — Every day 16:00
- Google Sheets — Lookup Spreadsheet Rows (or Code by Zapier)
- Code by Zapier — Run JavaScript (paste the code from the Code section)
- Telegram — Send Message
- Zaps with more than two steps need a paid Zapier plan.
- Webhooks, Filters/Paths and Code by Zapier are premium features on some Zapier plans.
- Code by Zapier runs JavaScript: reuse the code shown above, reading inputs from inputData instead of $json.
- Module and step names can differ slightly as Make and Zapier update their apps.
Tips
- Write allergies and birthdays in the notes column so the kitchen sees them too.
Related flows
Restaurant reservations confirmed on WhatsApp
Bookings from your website form are saved to a sheet and confirmed to the guest on WhatsApp instantly.
Hotel pre-arrival message on WhatsApp
Two days before check-in, guests get a WhatsApp welcome with their dates, room and a map link.
Log expenses by texting a Telegram bot
Send "12.50 lunch" to your bot and it's saved to a Google Sheet instantly.