How do I access line item properties in an email template?

Topic summary

Main issue: In a shipping confirmation email template, the author cannot access line item details. The Preview of available variables shows only the item title, with no quantity, SKU, image, or line item properties.

Evidence: Screenshots of the Preview variable list display only basic fields, lacking line item properties.

Clarification: A responder notes the screenshot does not appear to be Shopify Flow’s UI. They add that line item “properties” are referred to as “Custom Attributes” in Shopify’s GraphQL API (Shopify’s query API layer).

Outcome: No concrete solution or steps were provided. The relationship between email template variables and line item properties remains undefined in this context.

Status: Unresolved/ongoing.

Open questions:

  • How to reference quantity, SKU, image, and custom attributes for each line item within the email template?
  • Whether Flow’s email templates directly expose these variables or require accessing “Custom Attributes” via the API.
Summarized with AI on December 10. AI used: gpt-5.

I’m putting together a shipping confirmation email, which should include the order with details(quantity, SKU, image) about each line item. Like this:

However, when I view all available variables in Preview mode, there are no properties for the line items. Literally only the item’s title is available.

I’m not sure what you are showing there as it’s not a Flow UI. But properties are called “Custom Attributes” in the GraphQL API