Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow, How to Get Document Properties

(0) ShareShare
ReportReport
Posted on by 4

Hi.please tell me how to use flow.

I use Flow that "Send an email when a new item is created in SharePoint.".
I am sending mail when a file is added in the document.
I would like to add document properties, such as updater 1 line text, to the mail body. Since the file name etc was prepared, it was easy to display, but I do not know about other items.

Thank you.

  • masahito Profile Picture
    4 on at
    Re: Flow, How to Get Document Properties

    I created a flow. Creating the file and changing its properties did not trigger it.

  • v-xida-msft Profile Picture
    on at
    Re: Flow, How to Get Document Properties

    Hi @masahito,

     

    Do you want to add other custom column values within your SharePoint library into your email body?

    Do you use the "Send an email when a new item is created in SharePoint" built-in template to create your flow? Do you customize your flow based on this built-in template?

     

    You could not set value for these column columns within your SharePoint library when the file is uploading to your library, you could only set value for these custom columns after the new file is uploaded to your SharePoint library. In addition, I think there is something wrong with the trigger that you used within your flow.

     

    I have created a SharePoint library on my side and the data structure of it as below:7.JPG

     

    I have made a test on my side and please take a try with the following workaround:

    • Add a "When a file is created or modified (properties only)" trigger, specify Site Address and Library Name.
    • Add a Condition, click "Edit in advanced mode", type the following formula:
    @equals(triggerBody()?['Created'], triggerBody()?['Modified'])
    • Within "If/no" branch of Condition, add a "Send an email" action.

    Image reference:8.JPG

    The flow works successfully as below:9.JPG

     

     

    10.JPG

     

    Note: The email would be triggered when you set value for these custom columns (properties) within your SharePoint library.

     

    Best regards,

    Kris

     

  • masahito Profile Picture
    4 on at
    Re: Flow, How to Get Document Properties

    Hi,Mr.ScottShearer

     

    Sorry, my system is in Japanese.
    I want to display any item by e-mail.
    (Example creator, updater, text entered by user)

     Flow.jpgsharepoint.jpg

     

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Flow, How to Get Document Properties

    Can you post a screen shot of your Flow?

     

    Also, can you say what properties you want to include in the email?

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,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow