TemplatesHealth and care

Prescription ready email template

Tells a patient a prescription is ready to collect, with a reference and pickup hours.

From
Northwind <[email protected]>
Subject
Your prescription is ready to collect
Preview text
Collect it from Linden Pharmacy with reference LP-30418.
Preview of the Prescription ready template
prescription-ready.txt
Collect it from {{pharmacyName}} with reference {{referenceNumber}}.

{{pharmacyName}}

Ready to collect

Your prescription is ready at {{pharmacyName}}. Please give the reference below at the counter.

Reference

{{referenceNumber}}

Address

{{pharmacyAddress}}

Collection hours

{{collectionHours}}

Get directions [{{directionsUrl}}]

We keep prescriptions for {{holdDays}} days. After that, please get in touch and we will arrange it again.

You are receiving this because you asked {{pharmacyName}} to tell you when a prescription is ready.

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

About

When to send it

Send it when a prescription is waiting at the counter. It gives the reference to quote, the address and the collection hours, and says how long you keep it. It never names the medicine.

7 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
{{pharmacyName}}TextRequiredNone
{{referenceNumber}}TextRequiredNone
{{pharmacyAddress}}TextRequiredNone
{{collectionHours}}TextRequiredNone
{{directionsUrl}}LinkRequiredNone
{{holdDays}}TextOptional14
{{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: 'Prescription ready',  slug: 'prescription-ready',  starter: 'prescription-ready',  publish: true,}) const sent = await nextmail.templates.send('prescription-ready', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    pharmacyName: 'Linden Pharmacy',    referenceNumber: 'LP-30418',    pharmacyAddress: '8 Market Street, Hebden Bridge',    collectionHours: 'Monday to Friday 9 am to 6 pm, Saturday 9 am to 1 pm',    directionsUrl: 'https://example.com/linden-pharmacy/directions',  },}) console.log(sent.id, sent.status)

Health and care

More templates like this

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
Preview of the Appointment reminder template

Appointment reminder

A reminder of an upcoming appointment that asks the patient to confirm or reschedule.

6 styles
Preview of the Secure message template

Secure message

Tells a patient a message is waiting in their account, without putting it in email.

6 styles
Preview of the Enrolment confirmed template

Enrolment confirmed

Confirms a place on a course, with the start date and the details of the first lesson.

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.