web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Scheduled sending emai...
Power Automate
Unanswered

Scheduled sending email with a list of files

(0) ShareShare
ReportReport
Posted on by 3

Hi, I have a document library for contracts with start date and end date entered as metadata, is it possible to have it sending email monthly with a list of documents which contract end date is within the next month? Many thanks.

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @sunnyleung,

     

    Would you please explain a bit for the "a list of documents" here?

    If only a list of the documents uploaded, without the actual documents content, then this should be possible.

    Adding a blog for reference:

    "Get Manager" For SharePoint Document Library Approvals

    The blog above shows a way to get the Library Metadata.

    In your scenario we could start with the Recurrence, then SharePoint->Get Items, Filter Array Action, Create HTML table Action, then send Email action:

    115.PNG

     

    Things to remind is the Filter query condition part.

    We could write the condition using Workflow Definition Language.

    If you need additional help on this, please post back.

    Things to note:

    1. Under SharePoint-> Get items action, List name field, choose to enter custom value, then specify your Library name there,

    2. Condition used under Filter Array,

    3. Create HTML table Action, make sure the include healders is selected to Yes (True), or in the following format:

    @bool('true')

    4. Send an Email action, make sure the Is HTML is selected.

    Regards,

    Michael

  • sunnyleung Profile Picture
    3 on at

    Hi Michael,

     

    Thanks for your help, its actually a document library instead of a list, and i want to get all the documents (may be name & path) with metadata "end date" matched with specific criteria and put into an email. Is it possible?

     

    Thanks~~~~

     

    Sunny

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @sunnyleung,

     

    Yes, I know it is the document Library.

    But in order to get the metadata of the document Library, we need to use the SharePoint List Get items Action as a workaround.

    Currently there is no special Action available to get the Document Library metadata.

    So that the "End Date " could be used.

    Regards,

    Michael

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard