Post #17 of our Build Flows Faster series covering our new utility actions for Power Automate. Today’s lesson is about obtaining a file extension from a filename in Power Automate.
Our utility actions are targeted at helping you build flows more quickly with less complexity, and they brilliantly only use 0.05 actions from your Encodian Flowr and Vertr subscription allowance. For example, under a standard plan that permits 500 actions per month (uses), you could use the utility actions 10,000 times!
Our ‘Get File Extension‘ utility action for Power Automate obtains the file extension as a string value from the filename string value provided. In simple terms, the action returns the text located after the last ‘.’ found within the string value provided, thus ‘this.is.an.example.value‘ would return ‘value‘.
As with many of our utility actions, there are a myriad of scenarios where you may need to obtain the file extension of a filename. Therefore, we’ll focus on how the ‘Get File Extension‘ utility action works instead of focusing on a specific scenario.
Consider the following basic and manually triggered flow:
Let’s configure the flow to obtain the file extension and send the result back within an email.
1. Add the ‘Get File Extension‘ utility action
1.a Filename: Select the ‘Filename‘ property provided by the trigger action
2. Add the ‘Send me an email notification‘ action
2.a. Subject: Configure the email subject value as required
2.b. Body: Configure the email body as required, including the ‘Result‘ property provided by the ‘Get File Extension‘ utility action
Upon execution, the following email will be generated:
If you require further advice or support regarding Encodian utility actions, please email our support team at support@encodian.com where the team would be delighted to help.
Managing Director