Send notification to team when document is created and saved

Deni Garo 41 Reputation points
2021-03-24T09:37:39.187+00:00

Hi,

We have a template in SharePoint document library which is used when group of people create new error report on devices. Requirement is, every time when they create a new error report document and save it, that document or notification should be sent to team which is responsible for error handling. Is there a way to send them document or notification about that so that they don't need to check the Sharepoint site all the time.

Many thanks for help.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,598 questions
0 comments No comments
{count} votes

Accepted answer
  1. Allen Xu_MSFT 13,776 Reputation points
    2021-03-25T07:06:52.417+00:00

    Hi @Deni Garo ,

    I would suggest you creating a "error report" content type instead of using the template as file template is not a property can be retrieved and then using Microsoft Power Automate Flow to achieve this. Please take a reference to the following steps.

    • Go to Site Settings page -> Site content types -> Create -> Type the name for it -> Select parent content type from Document Content Types ->Set Parent Content Type to Document -> Click OK.
      81319-image.png
    • Return to your document library -> Library Settings -> Advanced settings -> set "Allow management of content types?" to yes -> Click OK.
    • Return to Library Settings page -> Scroll down to Content Types section -> Add from existing site content types -> Select the content type created above -> Add -> Click OK.
    • Return to Content Types section on the Library settings page -> click on the content type -> select Advanced settings on Content Type Settings page.
      81403-1.png
    • Document Template -> Upload a new document template -> Click choose file button and upload the error report template file -> Click OK.
      81339-2.png
    • Now we get a error reports content type and user can create this file type via New button.
      81427-3.png
    • Select Automate in the top ribbon-> Power Automate -> see your flows -> Click Create -> Automated cloud flow -> type in Flow Name and select skip.
    • Add a Trigger "When a file is created(properties only)" -> select Site Address and Library Name.
      81367-image.png
    • Add a step "Get file properties".
      81400-5.png
    • Add a condition -> < Content type Name > < is equal to > < content type name created above >
      81340-6.png
    • If yes -> Add an action -> Send an email notification(V3) -> Click Save.
      81461-image.png
    • Test result is shown as below: I will automatically receive an email notification if someone created a Error Reports On Devices content type document in my TestDocs library.
      81452-image.png

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful