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 / HTTP Request Does Not ...
Power Automate
Unanswered

HTTP Request Does Not Work In Loops

(0) ShareShare
ReportReport
Posted on by

I am trying to write a flow that loops through emails in an inbox, and makes a http get request based on the subject of the email. My get request works fine, but it gets skipped when put inside a loop (I have tried "Apply to Each" and "Do Until" loops).

 

The http request skips even when I only select the top "1" email, so it shouldn't be a delay issue. I have read that when an action is skipped and is faded, it means that proper input wasn't given. But in my examples, everything within the request is hardcoded, so there shouldn't be an issue of no input. 

 

Any advice would be greatly appreciated.

 

Looped get request:

Looped HTTP request.png

 

Un-looped get request:

Un-looped HTTP Request.png

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

    Hi @Anonymous ,

     

    How strange.

     

    Are you sure that there are emails being returned?  Could there be some filters set or folders selected which is causing no emails to be returned and hence, not looping? 

     

    As a test, add a Compose action after Get Actions and use the below expression to verify emails are being returned

     

    length(outputs('Get_emails_(V3)')?['body/value'])
     
    ericcheng_0-1659003914801.png

     

    I tested adding a HTTP action inside a loop with a public API and it should be working.

     

    ericcheng_1-1659004026306.pngericcheng_2-1659004056077.png

     

     

     

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

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @eric-cheng , thank you for your help. I tried the compose action, and it does return a length of 1. 

     

    I don't think it's an issue with the email, because I have the same problem when I use a "Do Until" loop as well, without using any of the outputs of the "Get Emails" action.

     

    SoAZ_0-1659126142380.png

     

     

     

  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    Very strange.

     

    Can you try switching your HTTP to a GET request and putting the below endpoint in and see if it does anything (similar to my screenshot)? Dont think it would make a difference but worth checking out.

     

    https://pokeapi.co/api/v2/pokemon/ditto

     

    PokéAPI (pokeapi.co)

  • NiteshSharma Profile Picture
    4 on at

    If you remove # from the Step title, it will work 🙂

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