Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Send a customized email when a new SharePoint list item is added

(0) ShareShare
ReportReport
Posted on by

Dear Flow Users,

 

I am using the Flow Template called "Send a customized email when a new SharePoint list item is added". I would like to achieve the following

 

Objective : Create a Birthday SharePoint List and will send out emails listed on that SharePoint List.

 

Information : How do I ask SharePoint List to Validate todays date and send out the trigger to send the email?

 

When I send an EMail - i cannot send an HTML View Email or an attachment to it.

 

Look forward for your reply,

 

 

  • Community Power Platform Member Profile Picture
    on at
    Re: Send a customized email when a new SharePoint list item is added

    Hi Kris @v-xida-msft

     

    Many thanks for your support. Can you please specify your step in "Get Items" and "Filter Array" actions?

     

    I cant select an array for the field From of "Filter array".

     

    I used following for "Get Items"

    Site Address: xxx.sharepoint.com/sites/hch/bday

    List Name: "Geburtstage"

     

    My SP list has two columns, 1. Mitarbeitende (Person) 2. Geburtstag (Date)

     

    I look forward to hearing from you.

     

    Thanks.

     

     

  • Verified answer
    v-xida-msft Profile Picture
    on at
    Re: Send a customized email when a new SharePoint list item is added

    Hi @girijai,

     

    Could you please share more information about Birthday SharePoint list?

    I suppose that there is Date column in Birthday SharePoint list which is used to compare with today’s date.

    Do you want to check the Date column of a new created item?

    Or filter all items whose Date column meets the condition in Birthday SharePoint list?

    1. If you want to achieve the first one, you only need to add a Condition. If the condition is met, send an email to specific person. In Condition box, click “Edit in advance mode” and type the following formula:

    @equals(formatDateTime(triggerBody()?['DateColumn'],'MM/dd'), formatDateTime(utcNow(), 'MM/dd'))2.jpg

     

           2.If you want to achieve the second, it is not necessary that use “When an item is created” as a trigger. We can use a recurrence trigger to instead of it.

    Firstly, we need to get all items with “Get items” action and do some filter with “Filter array” action. In “Filter array”, configure From to Output of “Get Items” action and type the following formula in advance mode:

    @equals(formatDateTime(item()?['DateColumn'],'MM/dd'), formatDateTime(utcNow(), 'MM/dd'))

    Then we need to add “Apply to each” to output of “Filter array” action. In “Apply to each”, we add “Send an email” action.3..jpg

     

    In order to send HTML View, we can add “Create HTML table” action before sending an email. Configure From property of “Create HTML table” action to an array. In body property of “Send an email”, we add output of “Create HTML table” action. Set Is HTML property of “Send an email” action to Yes.4.jpg

     

     

    Besides, in order to add an attachment, we can configure Attachment Name and Attachment Content property as below:

     

    5.jpg

     

    Best regards,

    Kris

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,537 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow