Pulling my hair out trying to figure this one out.
I have emails coming in that I need to store attachments to specific folders if the subject of the email matches a keyword.
Process:
1. Look for specific keywords in Subject of email using contains.
2. If a keyword is a match (25 different possible keywords), then store that keyword as a variable
3. Use the variable to define the directory path the attachment will be saved in. (I have 25 different folders)
Example:
1. If Subject of email contains keyword 'RB75'
2. Save variable value as 'RB75'
3. Use variable value to define path to store attachments i.e. C:\RB75\
I'm new to Power Automate and having a hard time figuring out how to create a array to look for contains keyword in the Subject then store that as a variable that I can use later.
Any help would be greatly appreciated!!!