cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PowerAutomate3
Helper I
Helper I

Rename and Email

Hello!

 

I am building my first flow and I would like some guidance please.

 

Every day at 8am, I want to identify a Sharepoint file named "File1 - *" (where * is a wildcard), rename it with today's date at the end, email it and copy it to another folder 'Folder'.

 

I tried to Get a Sharepoint file but it needs me to specify a list which I can't.

 

Could you also tell me the steps I need to use to create this flow?

 

Any idea?

 

Thanks

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-LilyW-msft
Community Support
Community Support

Hi @PowerAutomate3 

Do you want to get the file which name contains the date of the previous day, then rename its file name with today's date at the end and send an email, then copy it to another folder?If any misunderstanding, please kindly let me know.

I set up a flow, you can take a try with the following screenshots to see if it helps.

This is my test file, stored in the TestDEF folder.

vLilyWmsft_8-1631765171300.png

Flow in details:

vLilyWmsft_0-1631762917712.png

vLilyWmsft_1-1631762937279.png

vLilyWmsft_2-1631762975480.png

vLilyWmsft_9-1631765282994.png

vLilyWmsft_5-1631764804874.png

vLilyWmsft_6-1631764896274.png

vLilyWmsft_7-1631764944369.png

Then save and test the flow.

After flow runs, I will receive an email with the new file and the file will be copied to TestHIG folder.

vLilyWmsft_10-1631765548744.pngvLilyWmsft_11-1631765578834.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-LilyW-msft
Community Support
Community Support

Hi @PowerAutomate3 

Do you want to get the file which name contains the date of the previous day, then rename its file name with today's date at the end and send an email, then copy it to another folder?If any misunderstanding, please kindly let me know.

I set up a flow, you can take a try with the following screenshots to see if it helps.

This is my test file, stored in the TestDEF folder.

vLilyWmsft_8-1631765171300.png

Flow in details:

vLilyWmsft_0-1631762917712.png

vLilyWmsft_1-1631762937279.png

vLilyWmsft_2-1631762975480.png

vLilyWmsft_9-1631765282994.png

vLilyWmsft_5-1631764804874.png

vLilyWmsft_6-1631764896274.png

vLilyWmsft_7-1631764944369.png

Then save and test the flow.

After flow runs, I will receive an email with the new file and the file will be copied to TestHIG folder.

vLilyWmsft_10-1631765548744.pngvLilyWmsft_11-1631765578834.png

Hope the content above may help you.

Best Regards

If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,976)