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 / Where to find flow ID/...
Power Automate
Answered

Where to find flow ID/URL?

(0) ShareShare
ReportReport
Posted on by 6

Hey everyone
first of all i would like to let you know that im VERY new to Power automate.

Okay so basically what i want to do is to make it so when i click on a button in my excel sheet it should run a macro that executes the flow i made in power automate
i already have made the flow and i found a piece of code on the internet which i will provide below.
My issue is that in this code it asks for a flow url but i cannot find this anywhere,i already tried going to the run history and copying the link from one of the runs but it doesn't work when the code is executed.

 

Sub SendMessageToTeams()
 Dim url As String
 Dim httpRequest As Object
 
 ' Set the URL for the Power Automate flow
 url = "FLOW-URL"


 
 ' Create an HTTP request object
 Set httpRequest = CreateObject("MSXML2.XMLHTTP")
 
 ' Send an HTTP POST request to the Power Automate flow URL
 httpRequest.Open "POST", url, False
 httpRequest.send
 
 ' Handle the response if needed
 ' ...
End Sub

 

 Thank you for taking the time out of your day to read this!

Categories:
I have the same question (0)
  • Verified answer
    Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Hi @GonçaloSX 

     

    You need a special kind of flow to use this. It starts with the trigger “when a http request is received”.

     

    After you saved the flow you will see the URL in the trigger.

  • GonçaloSX Profile Picture
    6 on at

    Hi @Matthy79 
    So if i dont have access to the "when a http request is received" trigger i cannot achieve what i want to do? 

  • Matthy79 Profile Picture
    4,188 Super User 2024 Season 1 on at

    Yes, that’s correct. You will need a premium license.

  • GonçaloSX Profile Picture
    6 on at

    **bleep**,that sucks
    oh well guess ill have to figure something out,thanks for taking the time to explain it to me tho!

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