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 Automate
Unanswered

Power Automate api

(0) ShareShare
ReportReport
Posted on by 4

I want to know if there is any Rest API in power Automate to interact, I created a flow in which request is sent from postman but url was generated automatically in that like below 

Ankit6_0-1634038887497.png

 

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Ankit6 ,


    Can you provide a little more info with what you are trying to do?

     

    The flow you created has a HTTP trigger.  The URL is the API endpoint and you can call that via Postman using a POST command.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey Mate @Ankit6 

     

    You can use the HTTP Trigger  - This is a responsive trigger as it responds to an HTTP Request and thus does not trigger unless something requests it to do so. For e.g. you do no invoke using Post Man.

     

    A good example can be found at - 

    https://d365demystified.com/2020/07/29/accept-http-requests-in-a-flow-and-send-response-back-power-automate/ 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Ankit6 Profile Picture
    4 on at

    Thanks all for the responses, my requirement is that I want to invoke Power Automate flow using Rest API from java program. So is there any Rest API available or do I need to use "When an HTTP request is received" trigger?

  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    @Ankit6 You can use  "When an HTTP request is received" trigger

     

    https://flow.microsoft.com/fr-fr/blog/call-flow-restapi/ 

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • eric-cheng Profile Picture
    5,171 on at

    Hi @Ankit6 ,

     

    The trigger you have is correct.

     

    1. Copy the URL you have

    ericcheng_0-1634078125824.png

     

    2.  Paste the URL into Postman, set it to POST, pass your JSON payload and then send

    ericcheng_2-1634078216503.png

     

    If you go back to your flow history, you will see it is triggered with the request payload coming through in the TriggerBody().

     

    Now you can do the same in your Java app.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

     

     

  • Ankit6 Profile Picture
    4 on at

    Is there any other way we can do it apart from this copying the http url, like if there are let's just say 10 flows I have created in power automate and I want to run any of the flows, Is something like that possible in power automate

  • treadwell_john Profile Picture
    3 on at

    @Ankit6 maybe try a single flow triggered from the HTTP Post.  But, this flow is solely responsible for triggering the other flows.  That way, your application can utilize a single Post, but you can control the triggering of your 10 distinct flow from that initial flow.

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard