This is an example of Flow settings if you want to store discounts (coupon codes) used in Shopify in a customer meta field. By storing them in a customer meta field, you can easily check the discounts used for each individual customer.
Example of setting up Shopify Flow to record used coupon codes in customer metafields

[Setting Method 1] Create a customer metafield

[Setup Method 2] Set up the necessary settings for Shopify Flow

[Additional information for setup method ②] You need to create an alias to reference existing customer metafields.

