Get notified by email when a news post is created on a SharePoint site

Photo by Bram Naus on Unsplash

If you looking for publishing news content to your organization quickly and with perhaps looking to SharePoint News should be the way to go. You’ll have access to multiple tools and get for example content displayed from multiple sites. If you have the SharePoint App on your phone, you’ll be notified once something new is published. However, there are some scenarios where people may want to receive an email with this type of information.

If you want to create a newsletter to send to multiple people on the following link more information about it. In this case, we will cover a way to be notified by email once a news article is published on your site. For that, we gonna use the Power Automate.

  1. Create a flow
  2. Select the Trigger – When a file is created or modified (properties only)
    1. For Site Address select the site that you want to be notified
    2. For Library Name write Site Pages which is the library that will have the News-Post.
  3. Now select a Condition
    1. Select from the dynamic content the Property Promoted State and select if that is equal to 2
  4. On if yes:
    1. Select the Mail – Send an email notification (V3)
      1. You can now select your email, title and body email. You can use the properties stored on SharePoint to show some content from the News
  5. On if No:
    1. Pick the option to terminate.
PowerAutomate

Some considerations about this Power Automate:

  • The property Promoted State is used by SharePoint depending on the status of your page:
    • PromotedState equal to 0 is for pages on the site.
    • PromotedState equal to 1 is for unpublished pages
    • PromotedState equal to 2 is for News pages
  • Each time that the article is modified the users will receive a new email.
Email Sample

Conclusion

After a new news post is created you will be notified by email with a news post. Since we’re using the PowerAutomate to process this, you can expand this Automated Flow to for example publish on a Team Channel and others.

If you want to send this email with the no-reply take a look to this sample and combine this with that:

26 Comments

  1. Sylv1 said:

    Thanks. But that does not work when a page is created, then the user create a page then clicks on “Promote”

    January 20, 2021
    Reply
    • David Ramalho said:

      Hi,

      That probably means that when creating the pages they are of type page rather than News. They turn out News when you click to promote as news.
      To avoid this issue, I would recommend saving a page as a template with the Type news.

      My best,
      David Ramalho

      January 22, 2021
      Reply
  2. Translation problem said:

    Hi, I cannot find the property Promoted State. The problem is that my site is in Swedish and not English. What is the description for this property? I cannot find anything that matches in the list.

    February 26, 2021
    Reply
    • Søren said:

      I had the same problem, using a Danish tenant.
      Therefore, I ended up changing the display language and regional format (locale) to English & United Kingdom from within Power Automate settings.
      Then I will just put it back when I’ve built my flow.

      March 4, 2021
      Reply
  3. Gabriel Falcão said:

    Hayo, any ideas on how to send the entire body of the news post in the e-mail? The dynamic content “body” doesn’t work.

    April 6, 2021
    Reply
    • David Ramalho said:

      Hi Gabriel,

      You should be able to get that information from SharePoint REST API, however, it could be challenging to manage the code to send a proper formated email.

      My best,
      David Ramalho

      April 25, 2021
      Reply
  4. Linda said:

    Hi David,
    Thanks for your posts. I have a question.

    You wrote:.
    – Now select a Condition
    – Select from the dynamic content the Property Promoted State and select if that is equal to 2.

    What if I have no “promoted state” to choose? It’s always empty in my case and there is no dynamic content…

    thanks for helping,
    Linda

    July 1, 2021
    Reply
    • David Ramalho said:

      Hi,

      Please verify if you select the correct trigger the name should be “When a file is created or modified (properties only)”.

      My best,
      David Ramalho

      October 21, 2021
      Reply
  5. Luminara said:

    Hi! I cannot also see the PromotedState property.There is “no dynamic content available”.

    September 20, 2021
    Reply
    • David Ramalho said:

      Hi,

      Please verify if you select the correct trigger the name should be “When a file is created or modified (properties only)”.

      My best,
      David Ramalho

      October 21, 2021
      Reply
  6. Chris said:

    Same here. No Promoted state option available in dynamic content.

    September 29, 2021
    Reply
  7. Vincent said:

    We want to send an email to the entire company when a new post has been published/promoted. At the moment it only works when i create the news post.

    How can i solve this?

    December 8, 2021
    Reply
      • Jan said:

        I have the same problem. The flow is only working when I publish the news item, not when my colleague does it. It is not draft posts, she has published a post today, but my flow didn’t send an email.

        February 16, 2022
        Reply
  8. Daniel said:

    Thanks for the post! really helpful!
    Is there a way to avoid multiple emails for the same news post? I want to email a group of people when a file is created but not when it is modified… It seems like it creates multiple emails sometimes.
    I tried “When a file is created” as a trigger but it doesn’t trig most of the time, probably because the promoted state is at 1 rather than 2 when the file is created.

    February 23, 2022
    Reply
  9. Hi to every single one, it’s actually a pleasant for me to visit this site, it consists of precious Information.

    May 16, 2023
    Reply
  10. The last three days of action at the has brought us plenty of drama, heartache and elation. Ahead of the final day
    of action, Sportsmail’s Dominic King gives us his horse of the
    day to look out for.HORSE: Corbetts Cross RACE: Albert Bartlett Novices’ HurdleTrainer: Emmet MullinsJockey: Mark Walsh
    Corbetts Cross (left) is the horse to watch out on Friday, according to Sportsmail’s Dom KingWhy
    should we watch?This championship race for novices with bags
    of stamina is always dramatic and informative: Bobs Worth (2011) and Minella Indo (2019)
    are two former winners who graduated to
    land the Gold Cup.Corbetts Cross, the likely favourite on Friday,
    is a fascinating contender for this renewal and brings the
    promise of untapped potential — the kind of horse, if things go right, who could easily develop into a household name.What has he achieved
    so far?He doesn’t have a c.v.

    that glitters. There have been four wins from seven relatively
    low-key starts but it is the manner of his last two victories — a
    handicap at Fairyhouse in January and a Grade Two race at Naas last month —
    that has enhanced his profile.Emmet Mullins, his Grand National winning trainer, is one of the shrewdest operators around and
    it is significant that JP McManus, the sport’s leading owner, has bought him since his most recent run 19 days
    ago.

    It could be a big 40 minutes for the partnership as they
    also have Filey Bay, who is favourite for the County Hurdle. It is a significant sign that JP McManus
    (right), the sport’s leading owner, bought him recently What do they say about
    him?McManus is someone who keeps his thoughts to himself and Mullins, equally,
    wouldn’t be in a hurry to shout about a horse’s ability from the rooftops. But it felt significant in a preview programme that aired on a
    racing channel earlier this week to hear Ruby Walsh waxing lyrical. ‘He is a
    Gold Cup horse in the making — to win a handicap over three
    miles and come back to two miles to win a graded race shows you
    his ability,’ the legendary former jockey enthused.

    ‘All they will be thinking about is that it’s 19 days since his last
    run.’Can he be stopped?Dangers lurk everywhere.
    Three Card Brag is well regarded by trainer Gordon Elliott, Embassy Gardens, trained by Mullins’s all-conquering
    uncle Willie, is another good animal, while Harry Cobden cannot
    wait to ride Stay Away Fay for boss Paul Nicholls.If Corbetts Cross can see
    them off, he really will be on the way to the
    to the top.

    June 1, 2023
    Reply
  11. Myra said:

    I am in fact delighted to glance at this website
    posts which carries plenty of useful data, thanks for providing these statistics.

    June 10, 2023
    Reply
  12. Hi there, its good post concerning media print, we all know media
    is a impressive source of information.

    June 29, 2023
    Reply
  13. kfit said:

    Hello.
    You have created a website, but it is not attractive to visitors.

    Maybe you need help?
    To get started, you need a good template. Templates
    can be found here – https://assist-hub.com/wordpress-themes
    Help with setting up WordPress, writing content for the site, and
    SEO can be found here – https://assist-hub.com/fiverr
    Plugins will help you quickly set up your site, they can be found
    here – https://assist-hub.com/wordpress-plugins
    High-quality images give your site a heartfelt touch, making it unforgettable. You can find them here – https://assist-hub.com/stock-images
    This will help you start earning faster with the help of these
    sites.

    October 8, 2023
    Reply
  14. bokep said:

    Thanks for sharing such a nice idea, post is nice, thats why i have
    read it fully

    March 30, 2024
    Reply
  15. vegas sex said:

    Embark the unparalleled thrill in the skies with Love Cloud
    in Las Vegas, Nevada! Take your romantic endeavors, anniversaries, weddings, or proposals to exciting heights aboard our opulent twin-engine Cessna.

    Captain Tony ensures a effortless flight while you partake in amorous moments 5,280 feet above the dazzling Las Vegas skyline.
    Our intimate cabin is adorned with a plush bed, red satin sheets, and a “sex position pillow,” setting the stage for unparalleled mile
    high club adventures. For just $995, enjoy 45 minutes of pure ecstasy, with longer sessions available for extended pleasure.
    Whether you’re a adventurous couple, seeking to spice up
    the flames of passion, or a group of bold friends,
    Love Cloud caters to your most daring fantasies. Join the
    exclusive ranks of satisfied customers, from romantic newlyweds to seasoned swingers,
    who have experienced the thrill of intimate encounters in the
    clouds. Don’t miss your chance to soar to new heights of ecstasy with
    Love Cloud. Book your flight today and prepare for an exciting journey where
    the sky’s the limit!

    May 3, 2024
    Reply
  16. In Sin City, keywords like “DUI Lawyer” and LSIs such as “Best DUI Attorney” or “Expert DUI defense attorneys” are vital for law practices specializing
    in DUI cases. This is especially true in a city famous for
    its active social life, like Las Vegas. Residents in neighborhoods like Amber
    Hills and Arts District need professional legal help in such matters.

    Clark McCourt Criminal Lawyers, situated in Las Vegas, NV, offers this expertise.
    Founded in 1905, Las Vegas is a city with a storied past.
    It boasts a population of 646,790 (as of 2021) and includes 240,
    462 households. The Las Vegas Beltway, a major highway, connects
    the city, enhancing its accessibility.

    In Las Vegas, lawyer charges for DUI cases can differ, considering the nature of the case.
    The city experiences extreme temperature
    variations, with hot summers and cool winters.

    Travelers and residents alike enjoy points of interest such as AREA15 and the Bellagio Fountain. AREA15,
    for instance, is a distinctive experience offering immersive experiences, while the Bellagio Fountain is known for its stunning
    water shows.

    Choosing Clark McCourt Criminal Lawyers is a smart decision for those in Las Vegas confronting DUI charges.

    Their proficiency in handling such cases, together with their knowledge of
    the local legal landscape, makes them an ideal choice for people of this vibrant city.

    May 8, 2024
    Reply
  17. The expertise you’re looking for, Results you Desire!
    California’s most experienced and trusted auto accident
    attorneys for personal injuries & car accidents. Helping clients recover from their injuries for over 15 years.
    At Megeredchian Law, changing people’s lives is our biggest goal.
    Your car accident claim can alter your life for the worse, but
    we are there to help you get better. Working with
    dedication and passion, securing fair compensation for your injuries, and making the whole litigation process is worry-free for you is
    what our car accident attorneys are renowned for all
    across California.

    May 9, 2024
    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *