That is correct. Use Switch case. That is not different than using a switch statement devs use for coding (https://www.w3schools.com/cs/cs_switch.php). It looks a little crammed on logic apps but it's normal.
Logic App flow
I need to categorize the pdf's to folder,like I want to move one particular pdf to one folder in sharepoint,
like wise I have 11 different pdf's I want to move those pdf's according to the folder
For Example : I want to move Science Subject pdf to Science folder
Social to Social folder like wise for 11 different folders
Can anyone help me based on what condition I can move those files to folders in Logic App flow.
I Thought of using Switch case