Creating groups based on order history

SUGGESTED

Hi there, 

I cannot find recent answers to this question but we are operating off CRM 2022 R1 and trying to create dynamic groups based on products purchased. The line items do not seem to be available from the new products or order entities for use in the search criteria. 

Any advice on this would be greatly appreciated. 

Thanks,

Paul