Announcements
hi team,
I want to use environment variable in power automate desktop flows
how can I use it
@Sanket1
You cannot consume environment variables from desktop flows. Instead you can create input parameters in your desktop flow then while invoke your desktop flows from cloud flow you can pass the environment variables values as input to your PAD flows.
Please refer the below link - https://www.yourteaminindia.com/tech-insights/input/output-parameters-and-environment-variables-in-cloud-flows
Thanks,Deenuji Loganathan 👩💻Automation Evangelist 🤖Follow me on LinkedIn 👥 -------------------------------------------------------------------------------------------------------------If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀
Thank you so much for your quick responce!!!
I want to provide sharepoint url everytime whenever I run the bot so how can I achieve this
one is input dialogue box ---
any other approch is available
You can keep your variable in excel also.
Or if you want to keep them as environment variable then create environment variable for SharePoint URL and pass to desktop flow as input parameter. This is also fine approach.
Hi,
Its depend on your requirement of flow to be run if you run your flow manually or attended you can use input dialouge box action for provide your sharepoint url on it.
(Note:- if you got your solution you can mark as solution and gives kudos)
Thanks & Regards
Chetan Ninghot
Hi @Sanket1 ,
If your running the BOT as attended if you create it as input variable as shown in below, It will ask when your running from console as shown in below image.
Vishnu Reddy
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 605
Valantis 340
11manish 284