It might be super simple but I can’t find the solution.
I am reading emails from an inbox and want to look for specific keywords in the subject. According to these subjects the attachment should be saved to different folders. The approach I have in mind is storing the keyword in a variable (e.g. var1) and use this variable to identify the folder (“Z:\gloegglt\Documents\UiPath” + var1).
My issue is that the keyword has to come out of this list. But how can I identify which item of the list applies in the specific case?