Microsoft Power Automate template
Complete a custom action for the selected file
Define a custom action to happen for a selected file. It could be sending an email, copying the file to a folder or web service, or something else. You decide. To run this flow, select a file and choose this flow from the Flow menu.