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 / 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:
  • SudeepGhatakNZ Profile Picture
    14,396 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard