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:
Un-looped get request:
If you remove # from the Step title, it will work 🙂
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
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.
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
I tested adding a HTTP action inside a loop with a public API and it should be working.
--------------------------------------------------------------------------
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
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492