TemplatesTravel

Trip starts soon email template

A pre-departure reminder with the departure in a date tile and a documents checklist.

From
Northwind <[email protected]>
Subject
Before you leave for Lisbon
Preview text
You leave on Friday 13 November. Here are the documents to pack.
Preview of the Trip starts soon template
trip-starts-soon.txt
You leave on {{departureDate}}. Here are the documents to pack.

{{companyName}}

Nearly time to go

Your trip to {{destination}} starts soon. Here is when and where it begins.

{{departureMonth}}

{{departureDay}}

Departs {{departureTime}}

{{departurePlace}}

Before you leave, check you have these with you. A missing document is far easier to sort out now than at the airport.

Passport or ID card

It must be valid for the whole trip, and some countries want six months left on it when you arrive.

Visa or entry permit

Check the entry rules for your destination and nationality before you go.

Travel insurance

Your policy number and the emergency phone line, saved on your phone.

Booking confirmations

Your booking reference is {{bookingReference}}. Keep it to hand for check-in and the hotel.

View your trip [{{tripUrl}}]

While you are away

If anything goes wrong on the trip, call us on {{emergencyPhone}}. Until then, reply to this email with any questions.

You are receiving this because you have a trip booked with {{companyName}}.

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

About

When to send it

Send it a few days before a trip begins. A date tile shows when and where it starts and a checklist covers the documents to pack. A box at the end gives the number to call while away.

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
{{companyName}}TextRequiredNone
{{destination}}TextRequiredNone
{{departureDate}}TextRequiredNone
{{departureMonth}}TextRequiredNone
{{departureDay}}TextRequiredNone
{{departureTime}}TextRequiredNone
{{departurePlace}}TextRequiredNone
{{bookingReference}}TextRequiredNone
{{tripUrl}}LinkRequiredNone
{{emergencyPhone}}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: 'Trip starts soon',  slug: 'trip-starts-soon',  starter: 'trip-starts-soon',  publish: true,}) const sent = await nextmail.templates.send('trip-starts-soon', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    companyName: 'Fernway Travel',    destination: 'Lisbon',    departureDate: 'Friday 13 November',    departureMonth: 'Nov',    departureDay: '13',    departureTime: '07:25',    departurePlace: 'London Gatwick, North Terminal',    bookingReference: 'FW-58213',    tripUrl: 'https://example.com/trips/FW-58213',    emergencyPhone: '+44 20 7946 0321',  },}) console.log(sent.id, sent.status)

Travel

More templates like this

Preview of the Trip itinerary template

Trip itinerary

Every leg of a trip in date order, with the times and references travellers need.

6 styles
Preview of the Check-in open template

Check-in open

A check-in notice with the booking reference, the flight, the bag allowance and the deadline.

6 styles
Preview of the Booking changed template

Booking changed

A schedule change with the original and new times, and a choice to accept or change.

6 styles
Preview of the Application received template

Application received

Confirms an application arrived, with a status track and what happens next.

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.