Skip to main content

Notifications

Power Automate - General Discussion
Answered

When a file is created or modified (properties only) not triggering

(0) ShareShare
ReportReport
Posted on by 191

Hey I have a very simple flow, where I want to send an email when file is uploaded to a folder.

 

Super simple:

julienvdc_0-1659096119851.png

 

This one is working great. However I wanted to include in my email content the name of the user who uploaded the file, and found here that I could use this trigger: "when a file is created or modified (properties only)".

 

I configured it the exact same way and just added the variable to include the name of the user.

 

julienvdc_1-1659096331672.png

 

But the this flow never triggers.... Anything I am doing wrong???

  • julienvdc Profile Picture
    julienvdc 191 on at
    Re: When a file is created or modified (properties only) not triggering

    It works! THANK YOU!!!

  • Verified answer
    MarconettiMarco Profile Picture
    MarconettiMarco 3,812 on at
    Re: When a file is created or modified (properties only) not triggering

    @julienvdc ,

    please add first the "Get file metadata":

    MarconettiMarco_0-1659110041928.png

    Then add "Get file properties":

    MarconettiMarco_1-1659110063949.png

    Finally, send an Email:

    MarconettiMarco_2-1659110083717.png

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

     

     

  • julienvdc Profile Picture
    julienvdc 191 on at
    Re: When a file is created or modified (properties only) not triggering

    Ok, I tried. 

     

    The ID wasn't showing up, so I added a Compose to store the ID, and then used that into the Get File Properties, but it doesn't work... Got an error.

     

    julienvdc_0-1659106587937.png

     

    julienvdc_1-1659106636812.png

     

     

    😞

  • MarconettiMarco Profile Picture
    MarconettiMarco 3,812 on at
    Re: When a file is created or modified (properties only) not triggering

    Cause you have to put the ID got from the trigger.

     

    BR,

    Marco

  • julienvdc Profile Picture
    julienvdc 191 on at
    Re: When a file is created or modified (properties only) not triggering

    Ok, but then I fill in the same info again? How will it know I am getting the properties of the uploaded file?

    julienvdc_0-1659105557817.png

     

  • MarconettiMarco Profile Picture
    MarconettiMarco 3,812 on at
    Re: When a file is created or modified (properties only) not triggering

    let's try

  • julienvdc Profile Picture
    julienvdc 191 on at
    Re: When a file is created or modified (properties only) not triggering

    Ah wait, I think I've found the difference with my triggers. The one that works is actually "When a file is created or modified in a folder" (forgot the folder bit). I don't know if this has an impact?

  • MarconettiMarco Profile Picture
    MarconettiMarco 3,812 on at
    Re: When a file is created or modified (properties only) not triggering

    ok @julienvdc ,

    so you can use the same Trigger and as second SharePoint action "Get file properties".

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

  • julienvdc Profile Picture
    julienvdc 191 on at
    Re: When a file is created or modified (properties only) not triggering

    I have tested many times and it's like this flow is ignored... I have the exact same configs as my other flow where the trigger is "when a file is created or modified" (this one works).

  • MarconettiMarco Profile Picture
    MarconettiMarco 3,812 on at
    Re: When a file is created or modified (properties only) not triggering

    ok @julienvdc ,

    so please try to create or modify a fileand wait up to 5 mins.

    Is there any particular Trigger Condition in your Trigger settings?

     

    BR,

    Marco

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard