web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Running python scripts...
Power Automate
Unanswered

Running python scripts in PowerAutomate

(0) ShareShare
ReportReport
Posted on by 3

Hello,

 

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. 

 

Hm20_0-1596098594081.png

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!

 

Categories:
I have the same question (0)
  • Rahber Profile Picture
    1,935 on at

    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. https://docs.microsoft.com/en-us/azure/azure-functions/supported-languages

    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.

    Thanks,

    Rahber

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard