Skip to main content

Hi there,

I want to create a flow with the trigger “Placed Order”. The flow should start only, if a specific product category was bought. For the category I made a collection.

What does is mean to choose this collection in the filter with the typ “list”? Does it mean, the customer must have bought all products from this collection or just minimum one product from this collection?

 

And the same question, if I don´t choose “collection” in the filter but “items”. If I choose several items, means this that all items must have been bought or minimum one of the items must have been bought to sign into the flow?

 

Does it work the same on trigger and on profil filters?

 

Thanks, Chris

Hi ​@zellrebell 

‘List’ is a data type that holds multiple elements in an array. ‘Items’ is an example of a list type as the order may contain multiple products which will be stored as e“item1”, “item2”, etc]

To your questions:

  • Collections is a list. For example, say the order contains Item1 which is contained in multiple collections on your store, those multiple collections will be captured in the purchase event. If you filter on Collection_A, profiles will be included if they have purchased any of the items in collection_A
  • Items is also a list as mentioned above. Using that as a filter offers you more granularity as you can select for orders containing Item1 OR Item2 etc; Item1 AND Item2 etc, combinations of items etc
  • Trigger v profile filters. Depending on where you add your filter for a purchase event triggered flow you will have a different outcome. A trigger filter applies to the data in that trigger event and is evaluated initially to determine who enters the flow. A profle filter can also determine who enters the flow but applies to any of the profile’s available data, and that filter is evaluated prior to each step in the flow to see if the profile meets, or still meets, those filter condtions, if not, they are skipped.

So, from what you’ve described, I’d add a trigger filter ‘Collections contains iyour collection]’ which will default to a list type. The outcome is that only profiles who have placed an order with any item in your collection will enter the flow. 

You can check all is as you expect by selecting the flow’s trigger preview and you will see a list of the most recent profiles (or you can search for a specific profile)  who have placed an order and whether they would enter the flow or not, and why.

Hope that helps

Andy


Hi Andy, thanks, for your answer!

How can I set up a filter with item1 OR item2 OR item…? That´s what I didn´t get.

Thanks, Chris


No problem ​@zellrebell 

Like the example below. That will incude profiles who have ordered the first item (product)  OR the 2nd item. Just keep adding those conditions to cover all products.

Alternatively use collection as a filter which is easier. You can always create a collection just for that purpose to include products you want for the filter. 

Does that help?

Andy

 


Hi Andy, thank you! Now I got it 😊

 


Great ​@zellrebell Thanks for letting me know.

Regards

Andy


Reply