I'm new to Power Automate and I can't figure this out. What I'm trying to do is:
A) When a file is created in OneDrive folder, a share link is created.
B) Depending on which folder the new file was created, send the file share link via SMTP mail to different receipients.
The issues I'm facing are:
1) My folder in OneDrive is not recognised as folder but as file. When I create an OneDrive step, my folder doesn't show up in that step in [ *Folder -> Show Picker ] but it is available in [ *File -> Show Picker ].
2) How do I pass the share link for this newly created file to be used in mail in latter step?
3) I'm using [ Switch ] to differentiate folder path with the intention stated in B). As I test my flow, the Case was not triggered because the folder path obtained in the [ Switch ] step was some random characters eg. ahGRD5kJFD and the folder path I specified in [ Case -> *Equals ] is /Root/New Folder