How does one execute Python script from within a Flow ?
How does one execute Python script from within a Flow ?
Have you tried an HTTP request action with Pythonanywhere?
It should be possible.
same reason to be here.
Hello me too just checking if any recent update so one can execute python script from cloud flow or even directly in Power Apps.
sorry i know this is a 4 years old thread, but i am just pushing my luck and see if there is any updated answer for it.
asdf
Hi VswaldB ,
I think costa86 is using Power Automate Desktop rather than Power Automate cloud fow.
In PAD it's rather easy to excute python script. You can use the way as mentioned by costa86 or if it's just simple script you can also chooose action "Run Python script" by directly input your codes there.
Thanks a lot for your help, but I can't seem to find an action called "run power shell script"...do you by any chance know where I did wrong?
No need for that. The python script runs locally, being executed by power shell solely.
1.Create a variable, let us say "x", and store the path to your python script in it.
2.Use the "run power shell script" action, and type "python %x%" inside it.
you mean using Azure Automation? or what connector do you use, do you have an exemple maybe?
Use "run powershell script" instead, then type "python %pyFile%" (no quotes) in it.
WarrenBelz
146,702
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,026
Most Valuable Professional