cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pwapp
Frequent Visitor

How to get the HTTP response status code from Flow?

Deleted
1 ACCEPTED SOLUTION

Accepted Solutions

Hey @pwapp 

 

Please have a look at the screenshots below:MicrosoftTeams-image (136).png

If you can share more details on the scenario that you are trying to build, we might be able to assist you better. 

 

Hope this Helps!

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!

View solution in original post

6 REPLIES 6

Hey @pwapp 

 

Please have a look at the screenshots below:MicrosoftTeams-image (136).png

If you can share more details on the scenario that you are trying to build, we might be able to assist you better. 

 

Hope this Helps!

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!

pwapp
Frequent Visitor

Hi @yashag2255 , 

Thank you for taking the time to reply - I figured it out in the end - very easy to access the http response object in Flow! Thank you for your help anyway. 

 

stapes
Impactful Individual
Impactful Individual

How did you get the response status code from the Flow @pwapp ?

How did you get the response status code from the Flow @pwapp ? 

I have a http request, after which I added an initialize a variable by the name of responsecode doesn't get anything. 

 

Don't show how to get response code or other headers attributes clearly

NielsHakkers
Frequent Visitor

@MWAN I may be late to the part, but the answer can be found in a different thread.

 

Use:

outputs('ActionName')['statusCode']

And replace ActionName with the name of the action block for which you are trying to get the HTTP status code.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,743)