Is it possible to automate the execution of a Python script using Microsoft Flow?

独自空忆成欢 提交于 2019-12-23 15:03:26

问题


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.


回答1:


In theory you can do with Azure Functions. The steps you need are the following:

  1. Create an Azure function
  2. Create the API definition using Python as the language
  3. Export the definition to PowerApps/Flow
  4. Add the function to your app as a data source OR
  5. Add the function to Flow

It is still a little bit experimental, but you should be able to make it work.



来源:https://stackoverflow.com/questions/46718344/is-it-possible-to-automate-the-execution-of-a-python-script-using-microsoft-flow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!