> ## Documentation Index
> Fetch the complete documentation index at: https://codebeans-cb-notifylyst.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Message templates

> What each alert says, the follow-up steps and their delays, variables, testing and other languages.

**Appearance → Notifications.** One set of messages per channel — **Email**, **SMS**, **Web
push** and **WhatsApp** — because a message that reads well in an email reads badly in 160
characters. Tabs for channels that are blocked or rejected are hidden.

Every channel ships with working defaults. You can leave them alone and the app works; editing them
is about voice, not function.

![Appearance → Notifications on the Email tab: the four notification steps, the email sections and the live preview of the restock email.](https://mintcdn.com/codebeans-cb-notifylyst/helB_Y1ZQRw5r3Uo/images/app-19-templates.png?fit=max\&auto=format\&n=helB_Y1ZQRw5r3Uo\&q=85\&s=cb77a4623591e4c4198417bedfbbe7bb)

## Steps and delays

A restock alert can be up to four messages: **First notification** when stock lands, then up to
three reminders for shoppers who haven't bought yet. Each step has its own switch and its own
content.

| Step | Default |
| - | - |
| **First notification** | On — sent the moment stock is back. |
| **Second notification** | On for email and web push — sent **1 day** later. |
| **Third** and **Fourth notification** | Off. |

**Time delay** before a follow-up: 2 minutes; 1, 2, 4, 8 or 12 hours; or 1, 2, 3, 5, 7, 14 or 30
days. A delay of a day or more is sent in the shopper's local morning, not at the exact hour.

Follow-ups stop automatically when the shopper buys, unsubscribes, or the variant is sold out
again. How many steps you see depends on your plan (2 to 4); choosing your own delays depends on
**Smart Scheduling** — without it, the default delay is used.

> [!WARNING]
>
> **Every step uses allowance.** A two-step sequence to a 500-person waiting list can be up to 1,000
> sends, not 500. Check [Billing and credits](https://codebeans-cb-notifylyst.mintlify.site/app/guides/billing-and-credits.md) before switching on
> more follow-ups for long lists.

## What's in an email

The email editor is split into sections: **Email** (sender name, from and reply-to — see
[Email sending and sender](https://codebeans-cb-notifylyst.mintlify.site/app/setup/sender-identity.md)), **Header**, **Message**, **Buy button**,
**Discount codes**, **Footer** and **Custom HTML**. The live preview has a **Mobile** / **Desktop**
switch.

Default subjects, step by step:

1. `{{product.title}} is now available to order from {{shop.name}}`
2. `Reminder: … is still available!`
3. `Don't miss out! … is in stock`
4. `Final notice: … is waiting for you`

The button reads **BUY NOW** and takes the shopper to the product with their variant selected.
Every email ends with **Manage Notifications** and **Unsubscribe** links — you can't remove them.

An enabled step can't have an empty subject: **Email step N (language): the subject line is
empty…** Switch the step off or add a subject.

## SMS and web push

| Channel | Default | Notes |
| - | - | - |
| **SMS** | `{{ product.title }} is now available to order from {{ shop.name }}. Buy now: {{ variant.url }}` | Locked until SMS activation is approved. No unsubscribe text is added. |
| **Web push** | Title `{{product.title}} is now available`, button **BUY NOW** | Shown even when the shopper has your store open. |
| **WhatsApp** Coming soon | — | You can write the messages, but WhatsApp alerts aren't being sent yet. |

## Variables

The editor lists what you can use above the content:

| Variable | Inserts |
| - | - |
| `{{ product.title }}` | The product name |
| `{{ variant.title }}` | The variant, such as size or colour |
| `{{ shop.name }}` | Your store name |
| `{{ customer.first_name }}` | The shopper's first name, if known |
| `{{ variant.url }}` | The link to the variant (SMS) |
| `{{ form.<id> }}` | An answer from one of your [custom form fields](https://codebeans-cb-notifylyst.mintlify.site/app/guides/sign-up-form-fields.md) |

## Writing a restock alert that converts

The message has one job: get someone back to a product page while stock still exists.

| Element | What works |
| - | - |
| **Subject** | Name the product. "Your size is back: Aria Boot" beats "Good news from our store". |
| **First line** | Say the variant, including size or colour. They may be waiting on several. |
| **Urgency** | Honest urgency only — limited stock is true and effective. Invented countdowns are not. |
| **Length** | Short. This is a notification, not a newsletter. |

## Testing before you send

**Send test email** (or **Send test SMS**) delivers a real message for a real variant, so you see
exactly what a shopper sees. A test is a real send: it uses your allowance and appears in
[Communication logs](https://codebeans-cb-notifylyst.mintlify.site/app/setup/sender-identity.md#communication-logs). With nothing left to send
you see **No notifications left this cycle to send a test. Top up or upgrade, then try again.**

Test WhatsApp messages aren't available yet. **Reset to default** brings back the shipped content
for the step you are editing.

> [!NOTE]
>
> If someone else saved these notifications while you were editing, saving shows **These
> notifications were changed somewhere else… Nothing was saved.** Reload the page and make your
> change again.

## Other languages

Pick the language you are editing from the language menu. Shoppers get the message in the language
of the storefront they signed up on; if you haven't written that language, built-in translations
are used for the default text (11 languages). Editing other languages depends on **Multi-Language**,
and changing the content at all depends on **Custom Templates** — see
[Plan features](https://codebeans-cb-notifylyst.mintlify.site/app/reference/plan-features.md).

> [card] [Read your analytics](https://codebeans-cb-notifylyst.mintlify.site/app/guides/read-your-analytics.md)
>
> Next: see which messages lead to orders.

> [card] [A shopper gets a restock alert](https://codebeans-cb-notifylyst.mintlify.site/journeys/shopper-restock-alert.md)
>
> The messages in context.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.