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 / Sharepoint Trigger | W...
Power Automate
Unanswered

Sharepoint Trigger | When a File is Created in a Folder | Use of Environment Variables

(0) ShareShare
ReportReport
Posted on by 74

Hi,

 

I'm building a flow under a solution context and would like to use Environment Variables for anything that might change accordingly to running environment (DEV, QUA, PRD, etc).

 

The trigger I pretend to use is: Sharepoint | When a File is Created in a Folder:

bernabasket_0-1661248134195.png

 

I would like to use environment variables both for Site Address and Folder ID, but I'm struggling with the Folder ID variable, for which apparently you need to specify some kind of internal folder ID and not the path.

 

Any suggestion to have a dynamic folder ID based on an environment variable?

 

Thanks,

Bernardo

 

Categories:
I have the same question (0)
  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    You can get the internal ID with the REST call described:

    Get Folder Item ID using REST API in SharePoint (c-sharpcorner.com)

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard