Generate a Random Number in Power Automate

November 9th 2023
Back to all blogs

Post #15 of our Build Flows Faster series covering our new utility actions for Power Automate. We will publish many more posts and accompanying videos over the coming weeks, but today’s lesson is about generating random numbers 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!

Introducing the ‘Generate Random Number’ Utility Action

The ‘Generate Random Number‘ utility action for Power Automate formats generates a random number confirming the configuration supplied. The action allows a minimum and maximum number to be set.

Video Guide: Generate a Random Number in Power Automate

Instructions: Generate a Random Number in Power Automate

The Trigger

As with many of our utility actions, there are a myriad of scenarios where you may need to generate a random number. Therefore, we’ll focus on how the ‘Generate Random Number‘ utility action works as opposed to focusing on a specific scenario. Consider the following basic and manually triggered flow:

That’s it! We’re just going to start the flow manually and generate a random number before emailing the value to the flow initiator.

Generate a Random Number

1. Add the ‘Generate Random Number‘ utility action to the flow, accepting the defaults

Send an email

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 ‘Generate Random Number‘ 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.

Author
Jay Goodison

Managing Director

Back to all blogs

You might also be interested in...