Setup a filter with a date

I’m looking to set up a WooCommerce watch orders trigger for an automation.

I want this to look for orders and filter them based on the date they were created. If they were created within the past 90 days, add these subscribers email addresses to a segment via a Custom Field in SendGrid.

If the order isn’t within the past 90 days, remove the subscribers Custom Field and from the segment.

I’ve set this up, I think, to add/remove a custom field.

Can you let me know if this is possible and whether I’m on the right track here.

Hey @Jem_Morey, nice to meet you :slight_smile:

I think instead of the “Watch Orders” module, you can use the “Search for Orders” module since you want to use a filter to fetch specific orders. The “Watch Orders” module is mainly for fetching newly created orders - unless you right-click on the module and adjust the “Choose where to start” setting of it - then, you can fetch orders from specific dates.

I hope this helps (somehow) :slight_smile:
Have a good one!