Skip to main content

Notifications

Community site session details

Community site session details

Session Id : z2e89gVtvwfRZaqLN87iWw
Power Automate - General Discussion
Unanswered

Execute Python Script Using Power Automate When A SharePoint File is Uploaded

Like (0) ShareShare
ReportReport
Posted on 6 Jan 2024 00:02:54 by

Hi all, I am working with a Python script and would like for it to be run using power automate.

The trigger for the flow to run would be when a file is uploaded to SharePoint. So far, I have only found a deprecated trigger that performs this task.

After the trigger, I wanted to run the Python script and have found the "RegexFlow ExecutePython." This seems to run a Python script from the body of an API call. However, seems very restrictive with the use of libraries.

Are there alternatives to Execute Python and the deprecated trigger? If so, how could they be set up to run a Python script when a file is uploaded to SharePoint?

  • shrutikaushik15 Profile Picture
    2 on 19 Feb 2024 at 12:17:14
    Re: Execute Python Script Using Power Automate When A SharePoint File is Uploaded

    Hi,

    Did you find the solution for this?

  • perksyaus Profile Picture
    62 on 07 Jan 2024 at 21:20:12
    Re: Execute Python Script Using Power Automate When A SharePoint File is Uploaded

    Hi,

    I am executing a pythin script in power automate desktop and then calling the desktop flow in the cloud.  When researching this I did not find a way to execute a python script in the cloud

     

    Denise

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard
Loading started