How would I build a "Do Until" loop to only exit once an email with a specific subject line has been received? If I do a "Get email" within a "Do Until" and I feed the subject line in the "Value is equal to" field, it auto adds an "apply to each" condition due to the fact that it is checking for like 25 emails.
But it wont save and run like that due to "Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The inputs of template action 'Apply_to_each' at line '1 and column '1999' cannot reference action 'Get_emails_(V3)'. Action 'Get_emails_(V3)' must either be in 'runAfter' path or within a scope action on the 'runAfter' path of action 'Apply_to_each', or be a Trigger.'.'."