Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Help bypassing invalid email in Form to List to Email flow

(2) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello! I have a flow built and operational that pulls the responses from a group form and puts them into a List in SharePoint, then generates an email to the user and CC's a Teams channel email and an additional email that the user can opt to include.

 

It all goes swimmingly, but the Form has an optional field to input an additional email address to be copied on the correspondence. I had one user that input "N/A" into the Form, which prohibits the email from sending (List item still gets created).

 

Is there a straightforward way of essentially bypassing the additional email (labeled "Additional Email") if it is not valid? My thought was doing a quick check if the field contains an "@" symbol, then proceeding with the flow if the email address appears to be correct.

 

Here's a basic summary of the flow (the condition checks if there are attachments):

 

vmpigott_0-1663108631066.png

 

  • MP-22072223-0 Profile Picture
    Microsoft Employee on at
    Re: Help bypassing invalid email in Form to List to Email flow

    Thanks - yes it's functional now. I had to debug the parse json flow for attached items, but it's all good now. Thank you!

  • abm abm Profile Picture
    32,472 Most Valuable Professional on at
    Re: Help bypassing invalid email in Form to List to Email flow

    Hi @v-mpigott 

     

    Run the network diagnosis from the browser and debug the issue. Also check the allocated space.

     

    Thanks

  • MP-22072223-0 Profile Picture
    Microsoft Employee on at
    Re: Help bypassing invalid email in Form to List to Email flow

    Thank you @abm - this was successful as a workaround. However, my flow now times out when attempting to add an attachment to the form (it was attaching successfully before). I'll be doing some digging on this to identify why it's timing out with a "Bad Gateway" message when it was working fine before attaching the same files.

  • Verified answer
    abm abm Profile Picture
    32,472 Most Valuable Professional on at
    Re: Help bypassing invalid email in Form to List to Email flow

    Hi @v-mpigott 

     

    Like you mentioned an IF condition with @ contains might be solution. Please see below thread to use a third party API to validate the Email address.

     

    Solved: Validate Email Address - Power Platform Community (microsoft.com)

     

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 >