Additional Details from order

Topic summary

Goal: Automatically copy the “Gift message” from an order’s Additional Details into the order’s Notes using Shopify Flow, but only when that specific attribute exists.

Implementation approach:

  • Use order.customAttributes (key-value pairs for Additional Details). Add the Flow action “Update order note.”
  • Use Liquid in the action to output the custom attribute’s value. Decide whether to overwrite the note or append to the existing {{ order.note }}.

Key technical detail:

  • The attribute key must match exactly, including spaces and capitalization: “Gift message.” A mismatch prevents the note from updating.
  • For debugging, use the “Log output” action to loop through custom attributes and print key/value pairs, e.g.: iterate order.customAttributes and log ca.key and ca.value.

Outcome:

  • After correcting the key to “Gift message,” the Flow updated the order note as intended. The user chose to overwrite the note with the gift message when present.

Status: Resolved. No further open questions.

Summarized with AI on December 13. AI used: gpt-5.

You are using a key that doesn’t exist. I think based on the UI above it’s “Gift message”, including space and capitalization. You can also test what it is by using the “log output” action and putting something like this in it:

{% for ca in order.customAttributes %}
key:{{ ca.key }}
value: {{ ca.value }}
{% endfor %}