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 / 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

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 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard