Skip to content

Using template variables in Orderflow

Insert order, customer, proof, and store details into customer emails without typing them by hand.

Use variables in Message Templates so Orderflow fills in the current order automatically. You don’t have to memorize the codes. In the template editor, choose Insert variable (the labeled buttons above the message) or open this article from Variable reference.

[SCREENSHOT NEEDED — Message Templates insert variable labeled Customer message for {public_note}]

Variables only work in customer emails (subject and body). They do not apply to the storefront lookup shortcode {{ orstrax_lookup }}.

If a variable is empty

When the order does not have that information — no tracking yet, no Ship by date, no proof link — Orderflow leaves the variable blank. It does not print undefined or similar.

If you type a code Orderflow does not support, such as {does.not.exist}, it is left as written. The editor warns you before save. Your other text is not deleted.

Order

VariableWhat it insertsExample
{order_number}The Shopify order name or numberIU6287
{due_date}The Ship by date, if you set oneSep 12, 2026
{public_note}Inserts the customer-facing message saved on the orderWe started production today.

{public_note} is the variable name in templates. It inserts the current Customer Message. There is no {customer_message} token.

Customer

{order_link}A related order URL, such as the Shopify order status URL when availablehttps://mystore.com/pages/track-order
VariableWhat it insertsWhen missing
{customer_name}Full name“Customer”
{customer_first_name}First nameFull name, then “there”

{customer_first.name} and {customer_last.name} are older spellings of the first- and last-name variables. They still work.

Status, shipping, and store

{customer_last_name}Last nameBlank
VariableWhat it inserts
{status}The public status name customers see — not an internal label
{tracking_url}Shipment tracking URL when tracking exists; otherwise blank
{store_name}Your store or from-name
{support_email}Your support or reply-to address

Proof

Use these on statuses with Proof Review. Orderflow also keeps a Review Your Proof button in proof emails even if you omit {proof_cta}.

{accent_color}Your email accent color as a hex value, for advanced HTML
VariableWhat it inserts
{proof_link}Secure link to review the current proof
{proof_cta}A Review Your Proof button (empty if there is no proof link)
{proof_version}Version number, such as 1 or 2

Information request

Use these on statuses with Request Information. Collect Info does not send email.

{proof_status}Current proof state, such as pending or approved
VariableWhat it inserts
{info_link}Secure link to provide information

Preview

The editor shows a preview with sample data. That preview is not a real customer order.

Note: Replies go to your reply-to address under Settings → Email, not to Orstrax support.

{info_cta}A Provide Information button (empty if there is no information link)

Was this article helpful?

Related

Using template variables in Orderflow · Orstrax Orderflow Help · Orstrax Desk