Compare Date from Metafield from now

So i’ve been really struggling to get following flow working :

A Flow that runs daily is supposed to check every customer accounts custom.expiration metafield, which is a date value (YYYY-MM-DD) and if that value is “overdue” Aka in the past from the time of checking, another cutom.metafield for the customer will be changed, however i am struggling to find a way how to do it, does anyone have an idea how i can do this ?

Not sure if this’ll help but I’ll using the following to check a metafield against “now” for products:-

finalClearanceDate.value is the metafield and it tags the product with finalclearance if the metafield is equal to or later than the now date. Not sure how you’d change that for customer’s, but it should be similar.

  1. Get Customer Data: Use the Get customer data action to retrieve customer information.

  2. Condition: Implement a condition that checks if the custom.expiration date is earlier than the current date.

  3. Update Metafield: For customers with an overdue custom.expiration date, use the Update customer metafield action to update another metafield accordingly.

  4. Batch Processing: You’ll need to process customers in batches (e.g., 100 at a time max)