Thank you, i think I understand it, but i think this doesn't apply to my case.
The folder names are different from the sub strings in the subject line that i am looking for.
e.g., if the subject contains 'GP', move the email in folder Inbox/XX/YY. If the subject contains 'QY', move the email to folder inbox/XX/ZZ.
All this in parallel to save the attachment on sharepoint, so i start using a 'When a new email arrives in a shared mailbox (V2)
But that part works well for me