Integration guides

Templates & Spintax

NoteConfirm includes seven predefined order templates covering the order lifecycle. Each template supports Shopify variables and spintax syntax to vary content and maintain your brand voice.

Abandoned checkouts have three additional templates: first message, second message, and final message. They use checkout variables and the recovery sequence settings. See Abandoned Checkout Recovery for setup, variables, and optional images.

Available templates

TemplateTrigger eventResponse window
Prepaid orderOrder created with confirmed paymentConfigurable (default 24h)
Cash on deliveryOrder created without paymentConfigurable (default 24h)
ShippedFulfillment createdNot applicable
DeliveredFulfillment deliveredNot applicable
CancelledOrder cancelledNot applicable
RefundRefund processedNot applicable
Thank youCustomer confirms orderNot applicable

Response window: Only confirmation templates (prepaid and cash on delivery) have a configurable window. It defines how long NoteConfirm waits before marking the order as pending. Other templates are sent when the event occurs.

Available variables

Use these placeholders in any template. They are automatically replaced with Shopify order data.

VariableDescriptionExample
{{order_number}}Order number#1048
{{customer_name}}Customer nameJane Smith
{{total_price}}Order total with currency$45.00 USD
{{item_count}}Number of items3
{{shipping_address}}Full shipping address123 Main St, New York
{{shop_name}}Store nameMy Online Store
{{tracking_url}}Shipping tracking URLhttps://...

Spintax syntax

Spintax lets you vary parts of the message so it's not always identical. Use braces and pipes to define variants:

'{Hi|Hello|Hey}, {{customer_name}}. Your order {{order_number}} is {ready to confirm|pending review}.'

Each time a message is sent, NoteConfirm picks a random variant. This reduces repetitive patterns that can trigger anti-spam filters.

  1. Define at least 2 variants per spintax block

    A single block with one variant has no effect and triggers a warning in the editor.

  2. Do not nest spintax inside spintax

    Nesting is not supported and may produce malformed text.

  3. Preview before saving

    The editor shows a preview with variables substituted and a random variant selected.

Business lints

The template editor validates rules that protect your confirmation effectiveness:

See also