TemplatesHospitality

Stay confirmed email template

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

From
Northwind <[email protected]>
Subject
Your stay at The Harbour House is confirmed
Preview text
Thursday 12 November to Sunday 15 November. Confirmation number HH-205177.
Preview of the Stay confirmed template
stay-confirmed.txt
{{checkInDate}} to {{checkOutDate}}. Confirmation number {{confirmationNumber}}.

{{hotelName}}

Your room is reserved

Thank you for booking with us, {{guestName}}. Keep this email: the confirmation number is all we need at the desk.

Confirmation number

{{confirmationNumber}}

Check-in

{{checkInDate}}, from {{checkInTime}}

Check-out

{{checkOutDate}}, by {{checkOutTime}}

Room

{{roomType}}

Guests

{{guestCount}}

Manage your booking [{{manageUrl}}]

Plans changed? You can change or cancel from the link above, within the terms of the rate you booked.

You are receiving this because you booked a stay at {{hotelName}}.

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

About

When to send it

Send it straight after a guest books a room. The confirmation number comes first, then the check-in and check-out times, the room and the guests, with a link to manage the booking.

11 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
{{hotelName}}TextRequiredNone
{{guestName}}TextRequiredNone
{{confirmationNumber}}TextRequiredNone
{{checkInDate}}TextRequiredNone
{{checkInTime}}TextOptional3:00 pm
{{checkOutDate}}TextRequiredNone
{{checkOutTime}}TextOptional11:00 am
{{roomType}}TextRequiredNone
{{guestCount}}TextRequiredNone
{{manageUrl}}LinkRequiredNone
{{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: 'Stay confirmed',  slug: 'stay-confirmed',  starter: 'stay-confirmed',  publish: true,}) const sent = await nextmail.templates.send('stay-confirmed', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    hotelName: 'The Harbour House',    guestName: 'Daniel Okafor',    confirmationNumber: 'HH-205177',    checkInDate: 'Thursday 12 November',    checkOutDate: 'Sunday 15 November',    roomType: 'Sea view double',    guestCount: '2 adults',    manageUrl: 'https://example.com/bookings/HH-205177',  },}) console.log(sent.id, sent.status)

Hospitality

More templates like this

Preview of the Table reservation template

Table reservation

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

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.