
Announcements
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?
Hi @wardlaw,
I think you are finding these functions that how to process the text, you could refer to these string function:
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.