Forum Discussion

thomas_braemer's avatar
thomas_braemer
Active Member
2 years ago

Search if item exists in "catalog"

Hi, is there a way to search through a Braze catalog with Liquid? I have a variable and only want to execute a line of code if that variable is a catalog item.

Catalog items do not seem to exist as some sort of array variable. My best take on this would be to write all items to an array custom_attribute or assign them to a new variable but I cannot figure out how to pull them in dynamically.

Usually Google Sheets with SheetDB is my go to for these kind of use cases but Catalogs seemed like a nice alternative that lives inside Braze since the SheetDB API cannot handle a lot of requests. 

Thanks for your help!  

No RepliesBe the first to reply