How to Get Files in a Folder in Power Automate Desktop

Anders Jensen โ€ข October 19, 2022
Video Thumbnail

About

No channel description available.

Video Description

This tutorial shows how to work with files and folders in Microsoft Power Automate Desktop. You'll learn to get all files in a folder, iterate through them and move/copy them to a new folder. Bonus: Custom object work, which is key for Power Automate Desktop developers. ๐Ÿ“‚ Download the Files: https://klogeandersdk-my.sharepoint.com/:f:/g/personal/anders_andersjensen_org/Ep94KPmxugtIpEy21q_GqeQBM65MIRp7Yx_x-qsgbbumwQ?e=FYRhYh VIDEOS FOR YOU: ๐Ÿ”น Files and Folders in Power Automate Desktop: https://youtu.be/igl93T9Jrmc ๐Ÿ”น Power Automate Desktop for Beginners (4+ Hours): https://youtu.be/HUq6ZQhOpbk POWER AUTOMATE DESKTOP GROUPS: ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Discord: https://discord.gg/iloveautomation - Join my network with 4200+ Automation/RPA developers, where we solve Automation/RPA problems, network and help each other upgrade our careers. It's free! ๐Ÿ‘ฉ๐Ÿปโ€๐ŸŽ“ LinkedIn: https://www.linkedin.com/groups/12566435 ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Facebook: https://www.facebook.com/groups/754059285247921 FOLLOW ME: ๐Ÿ’ผ LinkedIn: https://www.linkedin.com/in/andersjensenorg ๐Ÿ“ธ Instagram: https://www.instagram.com/andersjensenorg ๐Ÿ‘จ Facebook: https://www.facebook.com/andersjensenorg ๐Ÿฆ Twitter: https://twitter.com/andersjensenorg ๐Ÿ’Œ Email Newsletter: https://andersjensen.org/email-newsletter 0:00 Intro Working with files and folders is easy in Microsoft Power Automate Desktop. We'll create a dynamic solution that works with all file types. 0:57 Get File Names to a List With a Get files in folder action we get the files into a list and can work with this list. 3:19 For Each File Loop Our files are stored in a list, and with a For each action we iterate through each file so that we can work with them one by one. 4:28 Working the File Types, aka Extensions When comparing the file types, we ensure that all our extension values are converted into lowercase names. Similarly, we remove the dot at the start to create nice folders and a log. 7:20 Custom Object Work A Custom Object in Power Automate Desktop can be seen as a dictionary with key/value pairs. We can then add our file types to the custom object as the keys and then do a count for the values. Finally, we use an If action condition to create folders and sort the files. This solution will work with any file, and it's best practice. #powerautomate #powerplatform #office365

Automation Essentials for Power Users

AI-recommended products based on this video

Loading...
Asus Vivobook S 14 Flip, 14โ€ WUXGA Touch Display, Intel Core i5-13420H CPU, 16GB RAM, 1TB SSD, NumberPad, WiFi 6E, Windows 11 Home, Quiet Blue, TP3402VA-DS51T-CA

Asus Vivobook S 14 Flip, 14โ€ WUXGA Touch Display, Intel Core i5-13420H CPU, 16GB RAM, 1TB SSD, NumberPad, WiFi 6E, Windows 11 Home, Quiet Blue, TP3402VA-DS51T-CA

(0)
$849.00
FREE deliveryTemporarily out of stock.
Loading...
LEGO City Mobile Police Dog Training 60369, SUV Toy Car with Trailer, Obstacle Course and Puppy Figures, Animal Playset for Boys and Girls Ages 5 Plus

LEGO City Mobile Police Dog Training 60369, SUV Toy Car with Trailer, Obstacle Course and Puppy Figures, Animal Playset for Boys and Girls Ages 5 Plus

(1,256)
$33.98
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

(786)
$69.15$33.51
FREE delivery Jun 13 - 17
Loading...
Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Garden Starter Kit Growing Kit Including Wooden Box Burlap Pots Soil Discs Gardening Tools Unique Easter Birthday Christmas Gift Ideas for Women Mom

(0)
$30.99
FREE delivery Jun 19 - Jul 3
Loading...
Bonsai Starter Kit โ€“ 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters โ€“ Gardening Gifts for Women & Men
Best Seller

Bonsai Starter Kit โ€“ 1x Bonsai Tree | Complete Indoor Starter Kit for Growing Plants with Bonsai Seeds, Tools & Planters โ€“ Gardening Gifts for Women & Men

(243)
$19.99
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

Freenove Ultimate Starter Kit for BBC micro bit (V2 Included), 316-Page Detailed Tutorial, 225 Items, 44 Projects, Blocks and Python Code

(382)
$94.95
PrimeFREE delivery Sat, Jun 14
Loading...
Pest Control Repeller 4-Pack, Upgraded Intelligent Plug-in Pest Repeller for Mouse, Insect, Cockroach, Mice, Spider, Bug, Ant, Mosquito, Rodent & Rats Indoor Use Repeller

Pest Control Repeller 4-Pack, Upgraded Intelligent Plug-in Pest Repeller for Mouse, Insect, Cockroach, Mice, Spider, Bug, Ant, Mosquito, Rodent & Rats Indoor Use Repeller

(70)
$32.55
FREE delivery Thu, Nov 27 on your first order
1K+ bought in past month
Loading...
TP-Link USB Bluetooth Adapter for PC, 4.0 Bluetooth Dongle Receiver (UB400) - Support Windows 11/10/8.1/8/7/XP for Desktop, Laptop, Mouse, Keyboard, Printers, Headsets, Speakers, PS4/ Xbox Controllers

TP-Link USB Bluetooth Adapter for PC, 4.0 Bluetooth Dongle Receiver (UB400) - Support Windows 11/10/8.1/8/7/XP for Desktop, Laptop, Mouse, Keyboard, Printers, Headsets, Speakers, PS4/ Xbox Controllers

(56,618)
$9.99$8.14
FREE delivery Sun, Jun 22 on your first order
500+ bought in past month