Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Receiving response from Teams message form and triggering python script

(0) ShareShare
ReportReport
Posted on by
Hello,
 
Very new to all this so apologies right at the start.
 
I have a Python script running on a work Linux box, it sends a message to a group Teams chat with some info via Power Automate (cloud). This all works fine and really I could just leave it at that. However what would be really nice is if there was a way for the recipient of the message to click a 'do not accept' button to prompt the python script to run again and deliver different info (it's a password generation tool and they are reasonably fussy about what words are included in the password, though I'm working from a pretty safe word list). I can see how I might set up a flow that is triggered by receipt of a form response (though I don't know how to specify a response from a particular form), but I have no idea how I would then get Power Automate to run my Python script which is hosted on a Linux server here on my work network. Perhaps that isn't possible. If it isn't then is there a way to host the Python script on Power Automate and run it from there?
 
Thanks,
 
Guy

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard