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.

Variables only work in customer emails (subject and body). They do not apply to the storefront order lookup form.

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}The current Customer Message saved on the orderWe started production today.
{order_link}A related order URL, such as the Shopify order status URL when availablehttps://mystore.com/pages/track-order

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

Customer

VariableWhat it insertsExample
{customer_name}Full name. If missing, Orderflow uses “Customer”.Alex Johnson

{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_first_name}First name. If missing, Orderflow uses the full name, then “there”.Alex
{customer_last_name}Last name. If missing, this stays blank.Johnson
VariableWhat it insertsExample
{status}The public status name customers see — not an internal labelReady to Ship
{tracking_url}Shipment tracking URL when tracking exists; otherwise blankhttps://tools.usps.com/go/track
{store_name}Your store or from-nameInstantly Unique

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}.

{support_email}Your support or reply-to addresshelp@yourstore.com
{accent_color}Your email accent color as a hex value, for advanced HTML#096CB7
VariableWhat it insertsExample
{proof_link}Secure Orderflow link to review the current proofhttps://orderflow.orstrax.io/proof/…
{proof_cta}A Review Your Proof button. Empty if there is no proof link.Review Your Proof
{proof_version}Version number2
{proof_status}Current proof statepending

Information request

Use these on a Form that emails the customer. If the form email is off, these stay empty.

VariableWhat it insertsExample
{info_link}Secure Orderflow link to provide informationhttps://orderflow.orstrax.io/info/…
{info_cta}A Provide Information button. Empty if there is no information link.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.

Was this article helpful?

Related

Using template variables in Orderflow · Orstrax Desk