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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / What is the simplest w...
Power Automate
Answered

What is the simplest way to have text processed by a user-written service as part of a flow?

(0) ShareShare
ReportReport
Posted on by 5

I'm writing a flow that needs to so some fairly straightforward text processing of incoming emails and then spit the results out into a new email and/or a slack channel.

 

There are limits to what Power Automate can do, in my case largely because it lacks any kind of regex functionality. What I want to do is write my own service that takes the text from a flow, processes the text, and spits it back into the flow.

 

I want to be clear, I kind of need to roll my own service, preferably in Python, but it can be in another language like Javascript if it has to be. I do not want to use one of the existing regex solutions because they are way more beefy than I need and the cost just doesn't make sense given the fairly limited scope of what I need.

 

My questions are:

(A) What is the best/simplest way to do this from within the flow. I'm assuming I do this with some kind of outgoing webhook and then a monitored incoming HTTP request, but if there is a more straighforward way to do this I would like to know.

 

(B) What is the simplest packaged solution for writing very lightweight scripts that interface with Power Automate. It seems like a lot of unneeded overhead to run a full webserver just to process a little regex, but maybe I'm wrong. Does Azure, AWS, or some other hosting platform have lightweight solutions for this kind of thing that make the process of setting up the hooks easier so you don't have to write a full-on webapp framework yourself?

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @wardlaw,

     

    I think you are finding these functions that how to process the text, you could refer to these string function:

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#string-functions

    Because Flow lacks any kind of regex functionality, so there is some complicated when you process the text, but there are a lot regex functions you could do by using above string function, you could have a try.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard