cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

when a file is uploaded, asking for the expiry date of the file

Hello there,
I need urgent help on something.


I have a list where I keep company name, e-mail address and various information.

When users upload/update a file to the sharepoint library; I want them to enter the expiration date of the file they uploaded (required). The flow that I will do will only send an e-mail to that company that the document expires when that date comes.


Is there any way to do this?


I created a new column and I can get the expiration dates here. but I could not make it send to only the relevant person on my list. Do you have any suggestions for solution?

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @Anonymous 

 

Yes its possible. Follow the below steps:

 

1. Use a scheduled trigger which runs every day.

2. Add a Compose action to find todays date using expression and format using yyyy-MM-dd

    formatDateTime(utcNow(), 'yyyy-MM-dd')

3. Add SharePoint Get items filtered by expiry date eq compose action date value.

4. At this stage you filtered the records which are expired on that date.

5. Iterate the values (Apply to Each loop) and send email to relevant person. You can get the email details automatically once you filtered the record from step 3.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
Super User
Super User

Hi @Anonymous 

 

Yes its possible. Follow the below steps:

 

1. Use a scheduled trigger which runs every day.

2. Add a Compose action to find todays date using expression and format using yyyy-MM-dd

    formatDateTime(utcNow(), 'yyyy-MM-dd')

3. Add SharePoint Get items filtered by expiry date eq compose action date value.

4. At this stage you filtered the records which are expired on that date.

5. Iterate the values (Apply to Each loop) and send email to relevant person. You can get the email details automatically once you filtered the record from step 3.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,546)