Skip to main content

Notifications

Power Automate - General Discussion
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!

  • SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Re: When a file is created trigger: dynamic folder name

    @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

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,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard