Files and Folders in Power Automate for Desktop (Full Tutorial)

  Рет қаралды 20,714

Anders Jensen

Anders Jensen

Күн бұрын

This full tutorial shows how to work with files and folders in Microsoft Power Automate for Desktop. The step-by-step use case teaches you to move files between folders based on advanced conditions and create a log.
📂 Course Materials: andersjensen.org/microsoft-po...
VIDEOS FOR YOU:
🔹 Power Automate for Desktop Course: • Power Automate Desktop...
🔹 My RPA Developer Salary: • My RPA Developer Salar...
👨‍👩‍👧‍👦 Discord: / discord
- Join my network with 2800+ RPA Developers, where we solve RPA problems, network, and help each other upgrade our careers. It's free!
FOLLOW ME:
💼 LinkedIn: / andersjensenorg
📸 Instagram: / andersjensenorg
👨 Facebook: / andersjensenorg
🐦 Twitter: / andersjensenorg
💌 Email Newsletter: andersjensen.org/email-newsle...
MY MONITOR (Amazon affiliate):
🖥️ Samsung 49-inch CRG9 Curved Monitor = geni.us/MDpejc
- If you are buying this, I can recommend the Mi Monitor Light Bar = geni.us/3Wwad
0:00 Intro
Download the course files from the link above. The hands-on Power Automate Desktop use case is about sorting files into their respective folders given their type. But first, we must unzip files. Copy the path to the file and assign it to a variable.
2:00 Unzip
Use a Get files in folder, with a filter for zip extensions, action to get all the zip files into a list. We use comments to make our flow easy to understand in the future. Use a For each action to iterate the files (names). When you have unzipped the file(s) you can use a Delete file(s) to delete the zip file.
6:48 Sort files
The Get files in folder action get all the files in the target folder. Including subfolders, if you want. The file names are stored in a list, so we can work with them. Again we use a For each action to iterate through the files. We use an If action with a condition, where we look at the end of the file name, the file extension. The Move file(s) action moves the files based on the If condition.
14:08 Create a log
We store the sorted and moved files into lists. We use these in the log including a count of each file type. The Create new list action creates the list and an Add item to list action adds to the list. To have multiple lines in the log we use a Set variable and design the log here. We add Total files sorted, Total Notepad files sorted, Total Excel files sorted, Total Word files sorted and each file name sorted and moved. Use a Write text to file and use the variable just created to print out the log. To create unique log names we use the date and time as the file name, so each time the robot runs, there will be a new file name.
25:56 The Switch and case actions in Power Automate for Desktop
If we have many else's in our If action, it's great to use a Switch action. Then we'll use the Case action for each branch.
#office365 #powerautomate #rpa

Пікірлер: 79
@andersjensenorg
@andersjensenorg 2 жыл бұрын
LIKE AND SUBSCRIBE IF YOU ENJOYED 🙌🔥 Instagram: @andersjensenorg
@AhmedBalfaqih
@AhmedBalfaqih 11 ай бұрын
Probably, the most detailed and clear explanation for Power Automate anywhere. Thank you. Subscribed after watching this first video.
@andersjensenorg
@andersjensenorg 11 ай бұрын
Thanks a bunch, @AhmedBalfaqih 🤩 I've created a Discord. We're more than 8000+ RPA developers networking and solving problems here: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html You're more than welcome. Kind regards, Anders
@Quabbe2
@Quabbe2 Жыл бұрын
Your tutorials are such high quality! I wouldn't have thought to learn how to automate a nasty task that would have taken me literally 40 hours in less than 2 hours! Thank you so much!
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Quabbe. Wauw, what a lovely message, thanks a lot. And yes Power Automate/RPA is great - it's straighforward, and the learning curve is fast 🙂 Have a great day. Kind regards, Anders
@jordanmartens4291
@jordanmartens4291 Жыл бұрын
Best walkthrough on the internet. Got my flow running without issue and learned quite a bit! Thank you, Anders!
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Jordan, thanks a bunch 😍🙂 Kind regards, Anders
@terrymorrison2969
@terrymorrison2969 Жыл бұрын
Thank you for your work putting these lessons out there!🙂
@andersjensenorg
@andersjensenorg Жыл бұрын
My pleasure! Thanks a lot for the supportive comment 😊
@febsil66
@febsil66 Жыл бұрын
Thank you Anders! As a Power Automated beginner user, your videos have helped me a lot in the first steps
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a ton, Fernando Silva 🤩 Have a great day. You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@shaunrowley7230
@shaunrowley7230 2 жыл бұрын
Excellent Lesson and I learned so much - now to develop this to sort and move files in my Onedrive that has become very messy over the years - thanks again
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Very nice, Shaun. Working on private projects while learning is so great 😊 Thanks for the nice words. Kind regards, Anders
@ZefasBi-Analytics
@ZefasBi-Analytics 8 ай бұрын
i am glad i found this solution really amazing
@andersjensenorg
@andersjensenorg 8 ай бұрын
My pleasure 😊🙌
@jalonnun1
@jalonnun1 5 ай бұрын
Dear Mr. Jensen. Excellent tutorial. Thanks for sharing.
@andersjensenorg
@andersjensenorg 5 ай бұрын
Thanks a lot, @jalonnun1 🤗 Your feedback helps me immensely. You're more than welcome at my Discord, where we're 11,000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@theprofessor4487
@theprofessor4487 10 ай бұрын
Your teaching style is AWESOME!
@andersjensenorg
@andersjensenorg 6 ай бұрын
Thanks a lot, @theprofessor4487 🤗 Your feedback helps me immensely. You're more than welcome at my Discord, where we're 11,000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@FTSociety
@FTSociety Жыл бұрын
Amazed on the things you can learn with this app, thank you, great lesson!
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey KelsC - I'm so happy you enjoy it 🙌😀 Thanks a lot for commenting. Kind regards, Anders
@daveys
@daveys Жыл бұрын
Brilliant tutorial as always Anders. I have learned so much!
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Dave, thanks for all your nice comments - highly appreciated 🙌🙂 Have a great day. Kind regards, Anders
@xnbet
@xnbet Жыл бұрын
Fantastic video again!
@andersjensenorg
@andersjensenorg 11 ай бұрын
My pleasure, xnbet - thanks for commenting 🙌
@sazzarello
@sazzarello 4 ай бұрын
Another good learning experience. Very clear. Thanks for sharing!
@andersjensenorg
@andersjensenorg 4 ай бұрын
Thanks for you nice support - highly appreciated 😊 Kind regards, Anders
@mikikwan9555
@mikikwan9555 6 ай бұрын
Watching this tutorial is satisfying too!
@andersjensenorg
@andersjensenorg 6 ай бұрын
Thanks for letting me know 🙌😊 Kind regards, Anders
@ALVINMAN452
@ALVINMAN452 8 ай бұрын
Thank you, for this very good video.
@andersjensenorg
@andersjensenorg 8 ай бұрын
Thank you so much, Alvin 😍🙋‍♂️
@harjitsamra
@harjitsamra Жыл бұрын
Very good - Thanks!
@andersjensenorg
@andersjensenorg Жыл бұрын
You're very welcome, Harjit Samra - your support helps me a lot 😍
@duesenberger
@duesenberger Жыл бұрын
Enjoyed! Liked!! Subscribed!!! 😉
@andersjensenorg
@andersjensenorg Жыл бұрын
Hahaha, thank you so much 🙋‍♂️🙂
@PitakYT
@PitakYT Жыл бұрын
Thank you so much. Very good video !!!
@andersjensenorg
@andersjensenorg Жыл бұрын
Hey Pitak N. Thanks a lot 😊 Have a great day. You're more than welcome at my Discord, where we're 5000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@MaxCriant
@MaxCriant Жыл бұрын
Really nice tutorial! Just adding a note here to help people that might use this video for a real case scenario, taking care of the upper case in the extension could save you some trouble! :) For the Switch condition: toLower(%File.Extension%)
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a lot, MaxCriant. And you're right 😊 It's because because yesterday I made this: kzfaq.info/get/bejne/mL6hhs19qLmwdZs.html, which solves what you're explaining. Kind regards, Anders
@wamshipabbisetty1456
@wamshipabbisetty1456 7 ай бұрын
Hey anders, I have started watching your videos on power automate for the past one week and I'm truly impressed with the way you are explaining stuff. What do you think is the correct approach for me to pursue my career in Power automate RPA.
@andersjensenorg
@andersjensenorg 6 ай бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 10,000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@stephenkaras1523
@stephenkaras1523 2 жыл бұрын
Very detailed
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Thanks a ton, Stephen Karas 🤩 Have a great day. Kind regards, Anders
@OnlyIasReader76
@OnlyIasReader76 Жыл бұрын
I am enjoying your videos, please make videos on all actions of power Automate Desktop
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a ton - and that's on my 2023 roadmap 😊
@OnlyIasReader76
@OnlyIasReader76 Жыл бұрын
@@andersjensenorg
@OnlyIasReader76
@OnlyIasReader76 Жыл бұрын
Will you teach new topic that is VB SCRIPT
@brijendraydv
@brijendraydv 2 жыл бұрын
How do you run it in production in unattended mode?do we need to run on machine running on 24x7?
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey brijendraydv. Great question. Then you need to buy an unattended licence, which, I think, is $40/month. You need to run it in an environment, so yes a machine, VM or a server etc... Kind regards, Anders
@gemmabannister6575
@gemmabannister6575 11 ай бұрын
Great tutorials but I'm having trouble finding how to extract files from a folder and copy them into another folder but only extracting the files listed in an Excel sheet?
@andersjensenorg
@andersjensenorg 11 ай бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 8000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@davirodrigueskawagoe1784
@davirodrigueskawagoe1784 2 жыл бұрын
Hi Anders, I'd like to know how to copy folder and subfolder names into an excel file, only the name without path. I have a shared folder called 'Customers' and my coworkers can place new projects inside each customer folder. Every moth I'd like to run a flow and count each customer project inside folder and make a list like this one but in excel.
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey Davi Rodrigues Kawagoe Thanks for writing. I'm getting more than 50 questions/comments every day and having difficulty answering everyone (I try my best). I've created my Microsoft Power Automate Groups, where we all can post and solve problems or hang out around our favorite tool, Power Automate. So you're very welcome. Get the addresses here: kzfaq.info/get/bejne/lbeCfJCK1JjMaIk.html Have a great day. Kind regards, Anders
@aesievers
@aesievers 3 ай бұрын
Do you have a video explaining how to take all files in a folder and send them as email attachments?
@andersjensenorg
@andersjensenorg 3 ай бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 12,000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@abdussamad4889
@abdussamad4889 Жыл бұрын
Hi Anders, Hope you’re doing well ! I have received a requirement in which I have to read approval through Email , as it is not feasible as People may send different reply for Approval. So, Now we are planning to send an Excel file with a dropdown to Approve and Reject. So , Now the Bot will have to download Excel and read the responses . Is it possible?
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 8000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@dragon3602010
@dragon3602010 2 жыл бұрын
Awesome 🔥🔥 Can it work on Linux too?
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Thanks a lot, S. Windows only 🙂
@truewiking
@truewiking 2 жыл бұрын
As a starter for this I must say that you create Really good stuff. Highly apprecitated. Is there a Way to keep track of filés that are copied from one place to another if you have a Hugh amount of filés and you don`t want to copy them twice? Subscribing from now on, Thank you
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey True Viking. Thanks a lot 😍 We don't move them twice, but we add them to a list for logging purpose. Let me know, if you want a more detailed explaination. Kind regards, Anders
@truewiking
@truewiking 2 жыл бұрын
@@andersjensenorg Thank you for your quick reply. I understand the general idea of writing a log for this flow. Then I also asume that one of the first things to do is to read the logfile. Thanks again for the reason that you share youre knowledge
@andersjensenorg
@andersjensenorg 2 жыл бұрын
@@truewiking Yeah, or maybe the best approach to a log, will be to only read the errors happening. Else you get a lot of logs to read 😀 So an example of how to create a simple log.
@harjitsamra
@harjitsamra Жыл бұрын
@@truewiking The logfile created isn't used in processing the files. It's only for the user to inspect later if they want so see the names/quantities of files moved.
@truewiking
@truewiking Жыл бұрын
@@harjitsamra Thanks for your input. I get the concept of the log file. What i was thinking about was reading from that log file to see what file i last read. Solved it with ”if file exists” instead.
@olesolo
@olesolo Жыл бұрын
How to get a current active window folder path? I am looking for solution to create several folders in a current window
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 7000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@maxs364
@maxs364 2 жыл бұрын
Hi Anders, is possivel to reference only first five files into folder list? I would like to rename them. Thanks so much🙂
@harjitsamra
@harjitsamra Жыл бұрын
You could set a variable before the loop, and increment it inside the loop. if it is greater than 5 then don't carry out the processing. You can't actually exit the for each - current limitation
@maxs364
@maxs364 Жыл бұрын
@@harjitsamra thank so much for your help 🙌
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks a lot for you help 😊
@ingewll
@ingewll 2 жыл бұрын
Nice but my case is: I download a serie filename: FunnyS01E01.mkv. I want to move this file to an external hd. The filepath on this hd is Funny. The sub dir is S01. Here I want my file. Next time its an other filename but same structure. Is this possible?
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey Inge W Thanks for writing. I'm getting more than 50 questions/comments every day and having difficulty answering everyone (I try my best). I've created my Microsoft Power Automate Groups, where we all can post and solve problems or hang out around our favorite tool, Power Automate. So you're very welcome. Get the addresses here: kzfaq.info/get/bejne/lbeCfJCK1JjMaIk.html Have a great day. Kind regards, Anders
@nareshkumar-qo9qy
@nareshkumar-qo9qy Жыл бұрын
how to iterate through all links in a table of a web page without knowing end value
@andersjensenorg
@andersjensenorg Жыл бұрын
Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 6000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html Kind regards, Anders
@thomasbeng9016
@thomasbeng9016 2 жыл бұрын
What's your honest oppinion on Power Automate vs UiPath? Which one is better?
@andersjensenorg
@andersjensenorg 2 жыл бұрын
Hey Thomas. It depends. Power Automate is cheap and already in people's microsoft suites, but UiPath is the most advanced RPA tool (by far). Kind regards, Anders
@chirantanupadhyay2375
@chirantanupadhyay2375 Жыл бұрын
I just watched one lesson and it was explained very well so moved to next lesson and next lesson and now I am half way done. I am going to watch all the lessons. It's very informative, detailed and very nicely explained. Awesome course work @andersjensenorg
@andersjensenorg
@andersjensenorg Жыл бұрын
You're very welcome, @chirantanupadhyay2375 - your support helps me a lot 😍 You're more than welcome at my Discord, where we're 8000+ RPA developers networking and solving problems: kzfaq.info/get/bejne/rr12rZCEnpy8d6M.html
Using Variables in Power Automate Desktop - Full Tutorial
36:24
Anders Jensen
Рет қаралды 16 М.
Web Extraction in Microsoft Power Automate Desktop - Full Tutorial
1:13:06
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 21 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 104 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
Power Automate Desktop :  Learn and Work with Folder Actions
13:37
Learning RPA Technologies
Рет қаралды 9 М.
Web Automation in Power Automate for Desktop (Full Tutorial)
18:51
Anders Jensen
Рет қаралды 57 М.
Work with Files and Folders in Power Automate Desktop
21:13
Anders Jensen
Рет қаралды 94 М.
Excel in Power Automate for Desktop (Full Tutorial)
28:39
Anders Jensen
Рет қаралды 27 М.
If and Loop in Power Automate for Desktop (Full Tutorial)
17:12
Anders Jensen
Рет қаралды 12 М.
🤖 How to use Microsoft Power Automate Desktop - Full tutorial
37:39
Kevin Stratvert
Рет қаралды 1,5 МЛН
Get Data from PDFs and Send to EXCEL with Power Automate Desktop!
18:52
Christine Payton
Рет қаралды 42 М.
Easy Sequential Approvals in Power Automate | Beginner's Tutorial
17:18
Web Scraping Made EASY With Power Automate Desktop - For FREE & ZERO Coding
13:11
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,8 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 6 МЛН