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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / sample code for creati...
Power Automate
Unanswered

sample code for creation of a microsoft flow (aim to run in PRODUCTION)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am following https://docs.microsoft.com/en-us/flow/web-api to create flows programmatically. I am looking for a sample code for creation of a flow?

I used the http client and able to successfully retrieve the flows using the api mentioned in the above doc, but for creation, the main issue I am facing is the clientdata that is sent in the content of the http post request is itself a JSon(situation like json inside json). How can I resolve this?

 

OR, is there any other method/way to programmatically perform CRUD operations on flows for PRODUCTION environment??

 

I also heard about Azure logic Apps for building enterprise scenarios. Which one makes more easy to build scenarios for PRODUCTION - LogicApps vs MicrosoftFlow?? 

Categories:
I have the same question (0)
  • Audrie101 Profile Picture
    Microsoft Employee on at

    @Sunay for the developer topic.

     

    In the meantime, you may want to try out the Flow Management connector, which can create flows based on a definition, amongst other things.

     

    Learn more here:

    https://docs.microsoft.com/en-us/connectors/flowmanagement/

     

    Thank you,

    Audrie

     

    create flow.PNG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard