I need to assign a different warehouses based on item sku

I need to assign a different warehouses based on item sku

Hi, i am looking for a way to assign warehouses to sales orders based on wether or not one or more items inside an order contain the string "SR".
All orders are being added to zhoho inventory via automation from amazon, ebay and more. When they first are added they get assigned to warehouse 1.

These would then be the rules:
- Do one or more LineItem SKUs contain the string "SR"?
  - YES: Assign Warehouse 2
  - NO: Assign Warehouse 3

How may i do this?