Room's department by Room Name

Hi Everyone,
I am trying to create a script to apply a “department” parameter value to a filtered list of Rooms. In this scenario, I want all rooms called “Store.” to have the department value “Storage”. See the screenshot.
It seems that the issue at the node Element.SetParameterByName is that I provide a list of string instead of a list of element. Can someone help me with that?
If I connect the All Element of Category directly to Element.SetParameterByName it is actually changing all the department value, which is good, but I would like that to happen only to the filtered list of rooms. Thanks for your help.

Add another Filter block that runs off the same truefalse list as your string contains like so;

I was so close! Thank you very much @pyXam.