Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Running python scripts in PowerAutomate



I am an intern responsible for digitising the processes of a business based in the UK. Right now, I am working on registering details of a new employee into a Sharepoint list. The flow I envisage is as follows:

1. An employee submits a FastField form(a service we use to capture inputs) on their personal device

2. FastFields detects a change and updates a Sharepoint list with the new employee details

3. PowerAutomate detects an update to the list and makes an update to the employee details Excel file

4. Once an update is made to the Excel file, powerAutomate runs a python script that interfaces with FastField's API to make some changes to FastField forms(these changes are irrelevant to the question)


I have already done the first 3 processes from the above. I am hitting major snags on the last step(no. 4) as PowerAutomate cannot run Python scripts. I was thinking of using Azure's virtual machines and make it run the python script. The way it connects to PowerAutomate is through a connector and gets triggered whenever an update is made to the excel file. 



So, from the picture above, after step labelled 2, I'd like the python script to execute. Is there a neat way to do this? Is Azure the best way to go?

I am just an intern and this is how i thought I could automate their process... so if you have a different suggestion as to the flow, please advise as well. 


Very grateful for your answers!


Super User II
Super User II

Hi @Hm20,

You are correct in your assumptions. You can not run python script in power automate.

To run Python i would suggest you to look at Azure Functions.

You can call these Azure Functions with an HTTP Action in Power Automate.


Please click Accept as Solution if it resolved your problem or give it a Thumbs Up if it helped you in anyway this will allow other people to search correct solutions effectively.



Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (877)