The following variables will automatically appear in all your Shopify flows:
Variable |
Confirmation Number |
Order Number |
Order Status Url |
Total Price |
Customer First Name |
Customer Last Name |
Customer Email |
Customer Phone |
Reorder Cart URL |
Additionally, you can manually use any of the following variables, inserting them into the text of your messages with the format {{ variable }}
Complete Shopify Variable List
Complete Shopify Variable List
export interface ShopifyOrderWebhook {
id: number,
admin_graphql_api_id: string,
app_id: null,
browser_ip: null,
buyer_accepts_marketing: true,
cancel_reason: 'customer',
cancelled_at: Date,
cart_token: null,
checkout_id: null,
checkout_token: null,
client_details: null,
closed_at: null,
confirmation_number: null,
confirmed: false,
contact_email: string,
created_at: Date,
currency: 'USD' | 'EUR',
current_subtotal_price: string,
current_subtotal_price_set: ShopifyPriceSet,
current_total_additional_fees_set: null,
current_total_discounts: string,
current_total_discounts_set: ShopifyPriceSet,
current_total_duties_set: null,
current_total_price: string,
current_total_price_set: ShopifyPriceSet,
current_total_tax: string,
current_total_tax_set: ShopifyPriceSet,
customer_locale: 'en',
device_id: null,
discount_codes: [],
email: string,
estimated_taxes: false,
financial_status: 'voided',
fulfillment_status: 'pending',
landing_site: null,
landing_site_ref: null,
location_id: null,
merchant_of_record_app_id: null,
name: string,
note: null,
note_attributes: [],
number: Number,
order_number: number,
order_status_url: string,
original_total_additional_fees_set: null,
original_total_duties_set: null,
payment_gateway_names: [
'visa',
'bogus'
],
phone: string | null,
po_number: null,
presentment_currency: 'USD' | 'EUR',
processed_at: null,
reference: null,
referring_site: null,
source_identifier: null,
source_name: 'web',
source_url: null,
subtotal_price: string,
subtotal_price_set: ShopifyPriceSet,
tags: "",
tax_exempt: false,
tax_lines: [],
taxes_included: false,
test: true,
token: string,
total_discounts: string,
total_discounts_set: ShopifyPriceSet,
total_line_items_price: string,
total_line_items_price_set: ShopifyPriceSet,
total_outstanding: string,
total_price: string,
total_price_set: ShopifyPriceSet,
total_shipping_price_set: ShopifyPriceSet,
total_tax: string,
total_tax_set: ShopifyPriceSet,
total_tip_received: string,
total_weight: number,
updated_at: Date,
user_id: null,
billing_address: ShopifyOrderShippingAddress,
customer: ShopifyCustomer,
discount_applications: [],
fulfillments: [],
line_items: ShopifyOrderLineItem[],
payment_terms: null,
refunds: [],
shipping_address: ShopifyOrderShippingAddress,
shipping_lines: ShopifyShippingLine[]
}