Power Automate Cookbook

This Cookbook contains some of the templates that I find useful. Microsoft has a much more extensive template library, but I want to give you some that I create and think would help you.

Free to use

You can use them free of charge. If you want to refer back to my website or tweet about them I would be happy, but it’s up to you.

Easy to Import

All of them are zip files that you can import to Power Automate and start using them. I have a step-by-step tutorial to help you.

Growing number of templates 

Growing number of templates. Currently 14 in multiple types and sections. If you want to contribute please contact me.

Updated frequently

Last update was on the 12th of March 2021.
There is no schedule defined, but I’ll try to make it as frequent as possible.

 

Calendar

Generate an ICS file

Generate dynamically an ICS file based on any parameters.

Add a buffer after meetings

Adds a 15-minute buffer as soon as you create a new appointment.

 

 

Email

Move all emails to a folder that arrive after working hours

If you receive an email between the defined working hours, it’s moved to a folder. Power Automate picks it up, during working hours, and transfers it back.

Move back the emails to the inbox at the start of the day

At the beginning of the day, move all emails that arrived outside working hours and move them back to the Inbox.

 

 

Microsoft Forms

Parse multi-choice element to insert into SharePoint

This template provides a full Flow that gets the information from Microsoft Form and parses it to insert it into a SharePoint choice column. I wrote an article explaining all the processes so, if you have any questions, you can check it here.

 

 

File Types

Access Excel Using a Custom Path

How to go around the limitation where you can’t access an Excel with a Dynamic Path. This template works as a “function” so you can import it and use it in multiple Flows.

CSV Parser with no external dependencies

How to have a CSV parser without any external dependencies. You can import it and use it in multiple Flows. You can check here my step-by-step tutorial on how it works.

 

 

Data Types

Convert timestamp into a date

This template provides a formula that you can convert a timestamp to date and not much more. We’ve only focused on demonstrating the overall workflow and how you can use it. The template can be used, for example,  when integrating with APIs that usually return timestamps.
Note: This template is only to demonstrate the formula’s usage, so please adjust it to your needs. Also, you’ll see in Microsoft’s documentation description of timestamps as objects like ‘2019-10-28T10:10:10Z’. Intentionally I’m calling these Dates and keep the UNIX concept of the timestamp to avoid confusion.

Convert Excel number into a Date

You can use this template as a “function” where you can call it from anywhere, and it will return the information you want. Please note that I’m returning a String in UTC format so that it’s easier to convert it than to your timezone.

 

 

Triggers

Example of a Get Trigger

This template provides a simple Flow that demonstrates how to call a Request trigger using the Get method. To test it, you need to add your destination Flow’s URL, but you can check the Parse Information section for an example. I wrote an article explaining all the processes so, if you have any questions, you can check it here.

 

 

Management

Standup/Daily Random Talk Order

Want to have a smooth Standup/Daily? Randomize the order that people will talk about and post it on a channel. People know when to speak and, since it’s different every day, people don’t complain about the order. This template is part of an article so, if you have any questions, you can check it here.

 

 

Other

Parse UTM Parameters

This template provides a full Flow that gets a URL and parses the UTM values into individual variables. I wrote an article explaining all the processes so, if you have any questions, you can check it here.

Parse UTM Parameters With Request Trigger

This template provides a full Flow that gets a URL and parses the UTM values into individual variables. It’s similar to the one above but uses the Request trigger to re-use the logic in other Flows. If you don’t know how to call a request Flow, please check the Request Trigger section for an example. I wrote an article explaining all the processes so, if you have any questions, you can check it here.

 

Sorting

Numeric array sorting

This template provides you with a way to sort a numeric array. I designed it to re-use it in your Power Automates without the need to duplicate the code.

Download it here

 

 

How to use the templates

You can use my step-by-step tutorial on how importing and exporting works. It’s super easy with only some minor things to take into consideration.

You can also check our articles on Microsoft Power Automate to learn more about the tool and know-how to create your own. I encourage you to download the templates and adapt them to your needs. Don’t worry about attribution. It’s not necessary, but I appreciate it if you do.

 

 

Have a cool Power Automate Template?

Awesome, send it my way via email with a simple explanation of what it does so that I can include it here in this cookbook. I’ll attribute submitted templates, so please include any information you want to be displayed. I’ll test them first to ensure quality and that they don’t do anything strange. I’ll only post them in this cookbook if I find that there’s something worthwhile that others can benefit from. It can also take me a while, depending on the workload that I have at the time, but I promise to look at all of them.

Don’t submit any template:

  1. That depends on private APIs
  2. that collect information from the user of any sort.
  3. It needs another template or flow to run.

Please also submit only templates that you created, and you have permission to share. I cannot be considered responsible for any provided template being proprietary. Please contact me if you find any violation of the terms described below, and I’ll remove it immediately.

 

 

Terms of Use

The templates in this cookbook have been tested as of the date each was added to manueltgomes.com for compatibility with the then-current versions of Microsoft’s Power Automate. Please feel free to use these templates and adapt them to fit your specific needs.

However, please keep in mind that Manuel T. Gomes and his team can not guarantee that the templates in this cookbook will remain compatible with future updates. Moreover, the templates linked on this cookbook are provided free of charge and as-is without any express or implied warranties, including implied warranties of merchantability, fitness for a particular purpose, and non-infringement. The Manuel T. Gomes Team makes no specific promises about the templates, the templates’ particular functions, or their reliability, availability, or ability to meet your needs. Also, the Manuel T. Gomes Team will not be liable to you for any lost profits or other consequential, special, indirect, or incidental damages arising out of or connected with your use of any of the templates in this cookbook.

Photo by NeONBRAND on Unsplash