I want to execute a snippet of python code based on some trigger using Microsoft-Flow. Is there a way to do this?
Basically I am exploring on Powerapps and Microsoft-Flow. I have data in powerapp, I can do basic operations there. But, I want to execute a python script whenever a user press button in the powerapp and display the result on powerapp again.
To automate a Python script on Windows, we have to follow two steps: Create a bat file that executes our file in Python. Automate the execution of our bat file with Task Scheduler.
In order to schedule the Python script using the Windows Scheduler: Open the Windows Control Panel and then click on the Administrative Tools. Double-click on the Task Scheduler, and then choose the option to 'Create Basic Task…' Type a name for your task (you can also type a description if needed), and then press Next ...
We renamed Microsoft Flow to Power Automate in 2019, and we now have an updated URL that will further increase the reliability of your Power Automate experience, and more easily enable shared experiences across Power Platform in the future.
In theory you can do with Azure Functions. The steps you need are the following:
It is still a little bit experimental, but you should be able to make it work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With