Skip to content

Notification templates

Applies to: Owner, Administrator, support staff, developers. Last reviewed: 2026-11-18.

This page shows the subject line and wording of every message DriveFlow sends, and which details each one actually includes. All wording is fixed in the code; a school cannot edit it.

1. Can a school edit templates?

No. All wording is fixed in the code. There is no template editor, no merge-field screen and no per-school text. Changing a message means changing the code and releasing a new version.

What Where in the code
Wording of engine messages DriveFlow.Infrastructure/Notifications/NotificationContentFactory.cs
The shared email layout DriveFlow.Infrastructure/Notifications/NotificationEmailTemplate.cs
Invoice email InvoiceEmailService
Payment reminder email InvoiceReminderService
Receipt email PaymentReceiptEmailService
Quote email QuoteService
User, portal invite and password emails DriveFlow.Infrastructure/Identity/UserAccountEmail.cs
School welcome and registration alert RegistrationEmailService
Subscription invoice email SubscriptionInvoiceEmailService

What a school can influence

Its organisation name (shown in the header and sign-off), and, with its own SMTP server, the sender name and address. See Email notifications.

2. The shared email layout

Every email uses the same layout:

+--------------------------------------------------+
|  <Title>                          (blue header)  |
|  <School name>                                   |
+--------------------------------------------------+
|  Hello <recipient name>,                         |
|                                                  |
|  <opening sentence>                              |
|  +--------------------------------------------+  |
|  | Label: value                               |  |
|  | Label: value          (grey details panel) |  |
|  +--------------------------------------------+  |
|  <closing sentence>                              |
|                                                  |
|  Regards,                                        |
|  <School name>                                   |
+--------------------------------------------------+
|  This is an automated message. Please do not     |
|  reply directly to this email.                   |
|  [DriveFlow logo]  SSBN Greenlife Pty Ltd. ...   |
|  www.driveflowcrm.co.za                          |
+--------------------------------------------------+
  • Buttons (portal invite, password reset) show the link underneath: "If the button doesn't work, copy this address into your browser:".
  • The footer logo is loaded from the web app, so it needs Platform:AppUrl. Without it the footer shows the publisher name only.
  • Dark colours are used in mail apps that follow the reader's dark mode.
  • All values are HTML-encoded.
  • A details line whose value is empty is left out.

For SMS, WhatsApp and push the same content is used as plain text:

Hello <name>,

<opening sentence>
Label: value
Label: value
<closing sentence>

<School name>

Dates are written like "Thursday, 12 Nov 2026" and times in 24-hour form like "14:30".

3. Engine messages

"Filled in" lists the lines that actually appear, based on what each handler passes. Lines the template supports but no handler fills are listed under "Never shown".

Student Welcome

  • Subject: Welcome to <school>
  • Text: "Welcome to <school>! Your student profile has been created." / Student number / Branch / "You will receive a confirmation as soon as your first lesson is booked."

Lesson Booking Confirmation (LessonBooked)

  • Subject: Driving Lesson Confirmed
  • Text: "Your driving lesson has been confirmed."
  • Filled in: Lesson, Date, Time, Pickup (if set), Note from your school (only when a lesson request was approved with a note or as an extra lesson; for an extra lesson the note says "This is a free extra lesson." or names the invoice).
  • Never shown: Instructor, Vehicle, Branch.

Lesson Reminder

  • Subject: Driving Lesson Reminder
  • Text: "This is a reminder about your upcoming driving lesson." ... "If you can no longer attend, please contact us as soon as possible."
  • Filled in: Lesson, Date, Time, Instructor, Vehicle (registration number), Pickup.

Driving Test Reminder

  • Subject: Driving Test Reminder
  • Text: "This is a reminder about your upcoming driving test." ... "Please bring your learner's licence and ID, and arrive early. Good luck!"
  • Filled in: Test, Date, Time, Testing centre, Vehicle.

Lesson Rescheduled (student)

  • Subject: Driving Lesson Rescheduled
  • Text: "Your driving lesson has been rescheduled."
  • Filled in: Lesson, New date, New time.
  • Never shown: Previous time, Instructor, Vehicle. The school's note on an approved change request is passed but this template has no line for it.

Lesson Cancelled (student)

  • Subject: Driving Lesson Cancelled
  • Text: "Your driving lesson has been cancelled." ... "Please contact us to arrange a new booking."
  • Filled in: Lesson, Date, Time, Reason (if staff typed one).

Lesson Request Declined

  • Subject: Lesson Request Declined
  • Text: "Unfortunately we couldn't accept the lesson you asked for." ... "Please choose another time in your student portal, or contact us to arrange one."
  • Filled in: Date, Time, Instructor, Reason.

Lesson Completed

  • Subject: Driving Lesson Completed
  • Text: "Your driving lesson has been completed and signed off by both you and your instructor."
  • Filled in: Lesson, Date, Time, Training package, Lessons completed (for example "4 of 10"), then one of: "You have N lessons remaining in your training package.", "You have 1 lesson remaining in your training package." or "You have completed all the lessons in your training package. Well done!". The balance sentence is left out when the package size is not known.
  • Never shown: Instructor, Branch.

Payment Received

  • Subject: Payment Received
  • Text: "We have received your payment. Thank you."
  • Filled in: Receipt, Amount (number only, no currency symbol).
  • Attachment (email): the receipt PDF.
  • Never shown: Date, Branch.

Payment Reminder (SMS, WhatsApp, push)

  • Subject: Payment Reminder
  • Text: "This is a friendly reminder about an outstanding balance on your account."
  • Filled in: Amount due (for example "R 1,500.00"), Reference (invoice number), Due, Pay online (link, when online payments are set up).

New Lesson Assigned (instructor)

  • Subject: New Lesson Assigned
  • Text: "A new driving lesson has been assigned to you."
  • Filled in: Lesson, Date, Time, Pickup.
  • Never shown: Student, Vehicle.

Lesson Rescheduled (instructor)

  • Subject: Lesson Rescheduled
  • Text: "One of your lessons has been rescheduled."
  • Filled in: Lesson, New date, New time.
  • Never shown: Student, Previous time.

Lesson Cancelled (instructor)

  • Subject: Lesson Cancelled
  • Text: "One of your lessons has been cancelled."
  • Filled in: Lesson, Date, Time, Reason.
  • Never shown: Student.

Daily Instructor Schedule

Warning

A template exists ("Your Schedule For Today") but nothing sends it.

4. Direct emails

Invoice

  • Subject: Invoice <number>
  • Text: "Please find your invoice attached. A summary is shown below." / Invoice Number, Invoice Date, Due Date (or "On receipt"), Total, Amount Paid, Balance Due / "If you have any questions about this invoice, please contact us."
  • Attachment: invoice PDF.

Payment reminder

  • Subject (due soon): Payment due soon: invoice <number> from <school>
  • Text: "This is a friendly reminder that invoice <number> is due on <date>."
  • Subject (overdue): Payment reminder: invoice <number> is overdue
  • Text: "Our records show that invoice <number> was due on <date> and is now N days overdue. Please arrange payment at your earliest convenience."
  • Both: Invoice Number, Invoice Date, Due Date, Total, Amount Paid, Balance Due; optionally "You can pay this invoice online, securely, in your student portal: <link>"; "The invoice is attached. If you have already paid, please ignore this email."
  • Attachment: invoice PDF (the email still goes if the PDF cannot be built).

Payment receipt (manual)

  • Subject: Payment receipt: <receipt number>
  • Text: "Thank you for your payment. Your receipt is attached." / Receipt Number, Payment Date, Amount Paid, Payment Method, and, when linked to an invoice, Invoice and Balance Outstanding.
  • Attachment: receipt PDF.

Quote

  • Subject: Quote <number> from <school>
  • Text: "Thank you for your enquiry. Please find our quote attached." / Quote Number, Date, Valid Until, Total / "Reply to this email or contact us to accept the quote or ask any questions."
  • Attachment: quote PDF.

New staff user

  • Subject: Welcome to <school>
  • Text: "An account has been created for you on <school>. Use the details below to sign in." / Username, Password / "For your security, please change this password after you sign in for the first time."
  • The greeting line is the person's full name (no "Hello").

New password issued by an administrator

  • Subject: Your new <school> password
  • Text: "A new password has been issued for your account. Your previous password no longer works." / Username, Password.

Student portal invite

  • Subject: Your <school> student portal
  • Text: "<school> has invited you to the student portal, where you can see your lessons, progress and invoices. Use the details below to sign in." / Username, Password / button Open the student portal / Portal address / "You'll be asked to choose your own password the first time you sign in."
  • Subject: Reset your <school> password
  • Text: "We received a request to reset the password for your account. Use the button below to choose a new one." / button Reset password / "This link works once and expires in 60 minutes." / "If you didn't ask for this, you can ignore this email; your password stays the same."

School welcome (from DriveFlow)

  • Subject: Welcome to DriveFlow
  • Text: "Welcome to DriveFlow! <school> is all set up and ready to go." / School, Sign-in email, Plan, Free trial ends, Sign in at / getting-started paragraphs / contact line.
  • Signed with DriveFlow's legal and trading name, not the school's.

New registration alert (to the platform admin)

  • Subject: New DriveFlow registration: <school>
  • School, owner and plan details.

Subscription invoice (from DriveFlow)

  • Subject: Your DriveFlow invoice <number> (paid) / Your DriveFlow invoice <number>
  • Text: "Thank you for your payment. Your DriveFlow subscription invoice is attached and also serves as your receipt." or "Your DriveFlow subscription invoice is attached." / Invoice Number, Invoice Date, Description, Amount, Status / "You can view and download all your invoices in DriveFlow under Settings > Billing. ..."
  • Attachment: subscription invoice PDF.

Test email

  • Subject: DriveFlow Test Email
  • Text: "Your email configuration is working correctly." / "This is a test email sent from DriveFlow."

5. Limitations and notes

  • English only. No translations.
  • Currency is written as "R" in invoice, receipt, quote and reminder emails regardless of the school's country.
  • Account emails carry a temporary password in plain text; the user is made to change it at first sign-in.
  • The engine's SMS text is the full plain-text message and usually needs two or more SMS credits.
  • The footer says not to reply, while the quote email invites a reply.