Template Variables

Insert dynamic data into your workflow actions — emails, Slack messages, task titles, note content, and Google Sheets rows. Wrap any variable in double curly braces: {{variable_name}}.

Dynamic Data, Zero Code.
Use template variables to inject live order, customer, and product data into every action.
Email action editor with template variables
Variables in Actions

Use {{order_number}}, {{customer_name}}, and more inside emails, Slack messages, and tasks.

Workflow builder with customized trigger and actions
All Categories

Global, Order, Customer, Product, Inventory, and Checkout variables — 50+ data points at your fingertips.

How to Use Template Variables

1
Open any action in your workflow (Send Email, Create Task, etc.)
2
Click the {} Variables button to see all available variables for your trigger type
3
Click a variable to insert it, or type it manually: {{variable_name}}
Task action fields with template variable support
Action Fields & Template Variables

Task title and description fields support {{variables}}. Click the {} Variables button to browse and insert available variables for your trigger type.

Variables resolve at execution time using real data from the triggering event. If a variable has no value (e.g., customer has no email), it resolves to an empty string.

Global Variables

Available in every trigger type.

VariableDescriptionExample Value
{{store_name}}Your Shopify store nameMy Awesome Store
{{store_domain}}Your myshopify.com domainmy-awesome-store.myshopify.com
{{event_timestamp}}Date & time the event occurred2026-04-09T14:30:00Z
{{event_type}}The trigger event that firedORDER_CREATED
{{workflow_name}}Name of the workflow being executedVIP Order Alert

Order Variables

Available when the trigger is Order Created or Order Updated.

VariableDescriptionExample Value
{{order_id}}Shopify order ID5765432198765
{{order_number}}Order number (display)#1234
{{order_name}}Full order name#1234
{{order_total}}Total price including tax & shipping149.99
{{order_subtotal}}Subtotal before tax & shipping129.99
{{order_currency}}Currency codeUSD
{{order_financial_status}}Payment statuspaid
{{order_fulfillment_status}}Fulfillment statusunfulfilled
{{order_tags}}Comma-separated order tagsvip, rush
{{order_note}}Order note left by customerPlease gift wrap
{{order_link}}Direct link to order in Shopify adminhttps://admin.shopify.com/store/…/orders/123
{{order_created_at}}Order creation timestamp2026-04-09T14:30:00Z
{{order_item_count}}Number of line items3
{{order_discount_total}}Total discount amount10.00
{{order_shipping_method}}Shipping method nameStandard Shipping
{{order_shipping_address}}Full shipping address123 Main St, New York, NY 10001
{{order_billing_address}}Full billing address123 Main St, New York, NY 10001
{{order_payment_method}}Payment gateway usedshopify_payments

Customer Variables

Available for Customer Created and all Order triggers (pulled from the order’s customer).

VariableDescriptionExample Value
{{customer_id}}Shopify customer ID7654321098765
{{customer_name}}Full name (first + last)Jane Smith
{{customer_first_name}}First nameJane
{{customer_last_name}}Last nameSmith
{{customer_email}}Email addressjane@example.com
{{customer_phone}}Phone number+1 555-0100
{{customer_tags}}Comma-separated customer tagsvip, wholesale
{{customer_orders_count}}Total number of orders placed12
{{customer_total_spent}}Lifetime spending1,249.50
{{customer_created_at}}Account creation date2025-01-15T10:00:00Z
{{customer_note}}Internal note on customerPrefers express shipping
{{customer_link}}Link to customer in Shopify adminhttps://admin.shopify.com/store/…/customers/123

Product Variables

Available when the trigger is Product Updated.

VariableDescriptionExample Value
{{product_id}}Shopify product ID8765432109876
{{product_title}}Product nameClassic T-Shirt
{{product_type}}Product typeApparel
{{product_vendor}}Vendor / brandMy Brand
{{product_tags}}Comma-separated product tagssale, summer
{{product_status}}Product statusactive
{{product_price}}Default variant price29.99
{{product_compare_at_price}}Compare-at price (original)39.99
{{product_sku}}Default variant SKUTSHIRT-BLK-M
{{product_inventory_quantity}}Total inventory count254
{{product_link}}Link to product in Shopify adminhttps://admin.shopify.com/store/…/products/123
{{product_image_url}}URL of the product’s featured imagehttps://cdn.shopify.com/…/shirt.jpg
{{product_created_at}}Product creation timestamp2025-06-01T08:00:00Z
{{product_updated_at}}Last updated timestamp2026-04-09T14:30:00Z

Inventory Variables

Available when the trigger is Inventory Level Updated.

VariableDescriptionExample Value
{{inventory_item_id}}Shopify inventory item ID9876543210987
{{inventory_location_id}}Location ID where change occurred1234567890
{{inventory_available}}Available quantity after change5
{{inventory_previous_quantity}}Quantity before the change25
{{inventory_change}}Quantity difference (+/−)-20
{{product_title}}Product name (from linked product)Classic T-Shirt
{{product_sku}}SKU of the variantTSHIRT-BLK-M
{{product_link}}Link to product in Shopify adminhttps://admin.shopify.com/store/…/products/123

Checkout Variables

Available when the trigger is Checkout Abandoned.

VariableDescriptionExample Value
{{checkout_id}}Shopify checkout ID3456789012345
{{checkout_token}}Checkout tokenabc123def456
{{checkout_total}}Cart total price89.99
{{checkout_currency}}Currency codeUSD
{{checkout_item_count}}Number of items in cart2
{{checkout_abandoned_url}}Recovery URL for the checkouthttps://my-store.myshopify.com/checkouts/…
{{checkout_created_at}}When the checkout was started2026-04-09T12:00:00Z
{{customer_name}}Customer name (if provided)Jane Smith
{{customer_email}}Customer email (if provided)jane@example.com

Scheduled Trigger Variables

Available when the trigger is Scheduled. Scheduled workflows process multiple entities per run.

VariableDescriptionExample Value
{{schedule_type}}Schedule intervaldaily
{{entity_count}}Number of entities processed in this run12
{{store_name}}Your store nameMy Awesome Store
{{event_timestamp}}Execution timestamp2026-04-09T00:00:00Z
Scheduled workflows process each entity individually — one task or action is created per entity. The entity-specific variables (order, customer, product) are also available within each iteration.

Variable Availability by Trigger

Quick reference showing which variable groups are available for each trigger type.

Trigger Global Order Customer Product Inventory Checkout
Order Created
Order Updated
Customer Created
Product Updated
Inventory Updated
Checkout Abandoned
Manual Trigger✓*✓*✓*
Scheduled✓*✓*✓*

* Depends on the entity type selected when configuring the workflow.

Where You Can Use Variables

ActionSupported Fields
Send EmailSubject, Body, Recipient (custom address)
Send Slack MessageMessage text
Add to Google SheetAll column values
Create TaskTitle, Description
Create NoteContent

Tips & Best Practices

Combine variables freely in text:
New order {{order_number}} from {{customer_name}} — total: {{order_currency}} {{order_total}}
Using a variable that doesn’t exist for the current trigger type resolves to an empty string. For example, {{product_title}} in an Order Created workflow will be blank.
Use the “Test with latest order”Test workflow button to preview how your variables resolve with real data before going live.