web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Print file when create...
Power Automate
Unanswered

Print file when created if filename contains x

(0) ShareShare
ReportReport
Posted on by 26

Hi I am reviewing an old process (was winautomate now converting to power automate) that creates pdf files and then at the end goes back through to see if a file contains the word 'print', if so print. There could be 100 created per day flow run.

I want to seperate this file checking into a new flow which seems straightforward but I want the flow to trigger when a new file is added to a folder, check it and print it straight away if the file contains 'print' (or could be filename contains x either will work). I cannot see a trigger for this (other than sharepoint which is not being used)  what do you guys use in this example?

 

Thanks

Categories:
I have the same question (0)
  • v-dezhili-msft Profile Picture
    Microsoft Employee on at

    Hi @ca2020 ,

    You just want to compare the uploaded filenames to trigger the flow?
    You can set trigger conditions on trigger.

     

    @or(contains(triggerBody()?['{Name}'],'print'),contains(triggerBody()?['{Name}'],'x'))

     

    vdezhilimsft_0-1667965172814.png
    vdezhilimsft_1-1667965172815.png
    vdezhilimsft_2-1667965172816.png

    Best Regards,

    Dezhi

  • ca2020 Profile Picture
    26 on at

    Hi But like I said this is not in sharepoint, the files are stored in a standard folder on the C drive?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard