Add last updated inventory level date for products variant

Hello @LADS12

Step-by-Step Flow Setup

Use the trigger: Inventory quantity changed

Condition (optional but recommended):
If you want to update only when the quantity actually changes (not stays the same), add:

Condition: Inventory Level > Quantity Changed

Value: is not equal to 0

Add action: Update product metafield

Metafield details:

Namespace: (your namespace, e.g. custom)

Key: last_stock_update

Type: date_time

Value: {{ now | date: “%FT%TZ” }}

(This uses the current date-time in the required ISO format.)