TemplatesHospitality

Table reservation email template

Confirms a table booking with the party size, the time and the cancellation terms.

From
Northwind <[email protected]>
Subject
Your table at Juniper Table on Saturday 14 November
Preview text
A table for 4 at 7:30 pm, under the name Maya Lindqvist.
Preview of the Table reservation template
table-reservation.txt
A table for {{partySize}} at {{reservationTime}}, under the name {{guestName}}.

{{restaurantName}}

Your table is booked

The booking is under the name {{guestName}}. Give it when you arrive and we will show you to your table.

{{reservationMonth}}

{{reservationDay}}

{{reservationDate}} at {{reservationTime}}

{{restaurantAddress}}

Party size

{{partySize}}

Reference

{{reservationRef}}

Cancellation

{{cancellationTerms}}

Change or cancel [{{manageUrl}}]

Running late? Call us on {{restaurantPhone}} and we will do our best to keep your table.

You are receiving this because you booked a table at {{restaurantName}}.

Shown with sample values. The HTML and plain-text tabs keep the placeholders.

About

When to send it

Send it as soon as a table is booked. The date and time sit on a calendar tile, with the party size, the reference and your cancellation terms below. A note tells late guests who to call.

13 values to fill

What each send fills in

Required values have to come with every send. The rest fall back to the default shown here.

PlaceholderKindRequiredDefault
{{restaurantName}}TextRequiredNone
{{guestName}}TextRequiredNone
{{partySize}}TextRequiredNone
{{reservationDate}}TextRequiredNone
{{reservationMonth}}TextRequiredNone
{{reservationDay}}TextRequiredNone
{{reservationTime}}TextRequiredNone
{{restaurantAddress}}TextRequiredNone
{{reservationRef}}TextRequiredNone
{{cancellationTerms}}TextOptionalFree until 24 hours before your booking
{{manageUrl}}LinkRequiredNone
{{restaurantPhone}}TextRequiredNone
{{unsubscribeUrl}}LinkOptionalNone

API

Send it from your code

Create a template from this design once, then send it with the values for each message.

import { init, nextmail } from '@nextmail/sdk' init({ apiKey: process.env.NEXTMAIL_API_KEY }) await nextmail.templates.create({  name: 'Table reservation',  slug: 'table-reservation',  starter: 'table-reservation',  publish: true,}) const sent = await nextmail.templates.send('table-reservation', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    restaurantName: 'Juniper Table',    guestName: 'Maya Lindqvist',    partySize: '4',    reservationDate: 'Saturday 14 November',    reservationMonth: 'Nov',    reservationDay: '14',    reservationTime: '7:30 pm',    restaurantAddress: '22 Quay Street, Bristol',    reservationRef: 'JT-48213',    manageUrl: 'https://example.com/reservations/JT-48213',    restaurantPhone: '0117 496 0142',  },}) console.log(sent.id, sent.status)

Hospitality

More templates like this

Preview of the Stay confirmed template

Stay confirmed

A hotel booking confirmation with the dates, the room and the confirmation number.

6 styles
Preview of the Before you arrive template

Before you arrive

A pre-arrival email with check-in and parking details, and a link to send special requests.

6 styles
Preview of the Review your stay template

Review your stay

A short request for a review after checkout, with one link to write it.

6 styles
Preview of the Appointment confirmed template

Appointment confirmed

Confirms an appointment with the clinician, the place or video link, and what to bring.

6 styles

Start from one

Pick a design, change anything,
and send it from your code.

Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.