Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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

  • NiteshSharma Profile Picture
    4 on at
    Re: HTTP Request Does Not Work In Loops

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

  • eric-cheng Profile Picture
    5,171 on at
    Re: HTTP Request Does Not Work In Loops

    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)

  • Community Power Platform Member Profile Picture
    on at
    Re: HTTP Request Does Not Work In Loops

    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
    Re: HTTP Request Does Not Work In Loops

    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

     

     

     

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics