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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When a file is created...
Power Automate
Unanswered

When a file is created trigger: dynamic folder name

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I'm trying to create a flow that starts when a file is created in a certain folder in sharepoint

The 'When a file is created (properties only)' trigger does the trick, but the probleem is that the folder path needs to be dynamic as it contains the year and month

 

I can create time variables for this, but I can't seem to get them at the beginning of the flow to use them in the folderpath of the trigger step

 

SHOEBEKE_0-1677578185413.png

 

Any ideas?

 

Thanks!

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @SHOEBEKE 

    You could leave the trigger without the folder name and use the Get Files action later (with the folder variable) to get the files you need

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard