How to write inline JavaScript code in a Power Automate Flow

Fredrik Engseth
8 min readDec 6, 2021

Learn how to build the simplest possible Azure Function that will bring inline code execution to your flows! The possibilities are endless — regular expressions, string operations, recursive functions, math operations, and much more. This post contains two parts; how to create the Azure Function and how to execute and use it in Power Automate.

--

--

Fredrik Engseth

Developer | Dynamics 365 | Power Platform | Azure | Personal development | Investments | ☕ https://www.buymeacoffee.com/fredrikengseth