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 / How is the url generat...
Power Automate
Unanswered

How is the url generated for the http request received trigger and how can I retrieve it?

(0) ShareShare
ReportReport
Posted on by 12

Scenario: I need to extract the url for a flow that is triggered by "When a HTTP request is received".

This url looks like: "workflows/9931e5fb.../triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=...."

 

When I export the flow definition as JSON with the "Get Flow" action, the trigger doesn't say anything about this url:

triggers": {
 "manual": {
 "type": "Request",
 "kind": "Http",
 "inputs": {
 "schema": {}
 }
 }
 }

Also, nowhere in the definition can I find this url or part of it. Actually it is als not in the zip file when I do a manual export.

Please advise how to get this url.

 

Use case: I want to create a user interface where the user can select a sharepoint list and a flow with HTTP trigger and update the list notification url, so it will call this flow then something is changed.

Using this guide as base:

http://johnliu.net/blog/2019/3/one-flow-to-handle-them-all-how-to-subscribe-to-multiple-sharepoint-lists-with-one-flow

 

Thanks,

Marton

 

 

Categories:
I have the same question (0)
  • rimatos Profile Picture
    on at

    HI @vlm_mv ,

     

    The URL from the "When a HTTP request is received" trigger is generated upon saving of the Flow.

     

    This happens because when saving you are registering the Flow in Azure Logic Apps, so after doing this it will generate the URL for the logic app so you can access the endpoint.

     

    The reason this does not appear in the flow definition is because the URL can only be generated upon saving the Flow (thus generating logic app), and because you will only know the endpoint after the registry of the Flow.

     

     

    Hope this helps!

     

    Regards,

    Ricardo

  • vilmarci Profile Picture
    12 on at

    This doesn't explain why isn't the url available in the definition for a flow that has been saved (thus, the url is already generated).

    When I open the flow a 2nd time, it knows its own url for the trigger, so this information is stored somewhere and this is what I am looking for.

  • rimatos Profile Picture
    on at

    Hi @vlm_mv ,

    Got it, didn't understand in the first time the question 🙂

    I believe that the URL is probably being stored in the backend in Azure.

     

    The Power Automate flows are based in logic apps, and a lot of functionality is done on the Azure logic Apps side, so the Flow probably is only requesting the URL after it has been imported, given that it will be different for each different flow (unlike a dynamic content, where the call is the exact same and only the content changes).

     

    Nevertheless, I think this answer could be better answered if you were to raise a Support Request to Microsoft through https://admin.powerplatform.microsoft.com/support, so the functionality of the trigger can be explored in more detail.

     

    Hope this helps!

     

    Regards,

    Ricardo  

  • HEDI_BK Profile Picture
    6 on at

    Hi @vlm_mv ,

    Im facing the same issue and I need to get the url of the "When a HTTP request is received" in my CICD pipeline to be aible to set it to an environnent variable. Did you find the solution for geting the url ? 

  • EagleCa Profile Picture
    25 on at
    hi @HEDI_BK ,
     
    did you find a solution regarding "get the url of the "When a HTTP request is received" in my CICD pipeline to be able to set it to an environnent variable. "?
    I try to do the same, but  couldn't locate the httpPostUrl from anywhere.  I had tried to get the workflows information through the API: Invoke-RestMethod -Method Get -Uri "$Url/api/data/v9.2/workflows?, but no httpPostUrl information in the return.

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard