Conditional alert system

What formulas can I use in Stackby to create a conditional alert system that flags records when specific criteria are met, such as inventory levels falling below a certain threshold?

IF(AND({Inventory Level} < 50, {Category} = "Electronics"), "Low Stock - Electronics", "Stock Sufficient")