web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Verify EMail using Flow
Power Automate
Unanswered

Verify EMail using Flow

(0) ShareShare
ReportReport
Posted on by 285

Hi,

I need a flow which takes input from excel sheet, verifies the given email with outlook and if email is not found or blank then shoots a mail mentioning about the issue.

Sam70_0-1698412963825.png

I am not fluent with Power Automate, hence would request a flow which satisfies my requirement.

 

Regards

 

Categories:
  • abouchaalaBAIT Profile Picture
    932 Moderator on at

    Hi, 

    Solution 1: 

    You can try to send and email to the Auditee Email and if the email action throw and error, you send an email to the admin, by configuring the run after "Has Failed" like shown in the screenshots 

    abouchaalaBAIT_0-1698413590497.png

    abouchaalaBAIT_1-1698413641597.png

     

    Solution 2: 

    Just if the email is Empty 

    abouchaalaBAIT_2-1698413841384.png

     

    Here are the code that you can copy and paste to Your Clipboard

    Solution 1: 

    {"id":"c71c7980-ba9e-4543-9fa5-d1798c1f8ec2","brandColor":"#8C3900","connectionReferences":{"shared_office365":{"connection":{"id":"/providers/Microsoft.PowerApps/apis/shared_office365/connections/shared-office365-f187c59e-1d4c-4082-ba1b-d8115ebc0f35"}}},"connectorDisplayName":"Control","icon":"data&colon;image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KIDxwYXRoIGQ9Im0wIDBoMzJ2MzJoLTMyeiIgZmlsbD0iIzhDMzkwMCIvPg0KIDxwYXRoIGQ9Im04IDEwaDE2djEyaC0xNnptMTUgMTF2LTEwaC0xNHYxMHptLTItOHY2aC0xMHYtNnptLTEgNXYtNGgtOHY0eiIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=","isTrigger":false,"operationName":"Scope_Solution_1","operationDefinition":{"type":"Scope","actions":{"Compose_-_email_to_be_tested":{"type":"Compose","inputs":"test@test.com","runAfter":{}},"Send_an_email_(V2)":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"@outputs('Compose_-_email_to_be_tested')","emailMessage/Subject":"test","emailMessage/Body":"<p>test</p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{"Compose_-_email_to_be_tested":["Succeeded"]}},"Send_an_email_(V2)_2":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"Admin@admin.com","emailMessage/Subject":"@{outputs('Compose_-_email_to_be_tested')} is not a valid email","emailMessage/Body":"<p><br></p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{"Send_an_email_(V2)":["Failed"]}}},"runAfter":{}}}

     

    Solution 2: 

    {"id":"51b3a9b4-b931-4a1f-9f36-b00c51c2b39a","brandColor":"#8C3900","connectionReferences":{"shared_office365":{"connection":{"id":"/providers/Microsoft.PowerApps/apis/shared_office365/connections/shared-office365-f187c59e-1d4c-4082-ba1b-d8115ebc0f35"}}},"connectorDisplayName":"Control","icon":"data&colon;image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDMyIDMyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KIDxwYXRoIGQ9Im0wIDBoMzJ2MzJoLTMyeiIgZmlsbD0iIzhDMzkwMCIvPg0KIDxwYXRoIGQ9Im04IDEwaDE2djEyaC0xNnptMTUgMTF2LTEwaC0xNHYxMHptLTItOHY2aC0xMHYtNnptLTEgNXYtNGgtOHY0eiIgZmlsbD0iI2ZmZiIvPg0KPC9zdmc+DQo=","isTrigger":false,"operationName":"Scope_Solution_2","operationDefinition":{"type":"Scope","actions":{"Compose_-_email_to_be_tested_2":{"type":"Compose","inputs":"test@test.com","runAfter":{}},"Condition_-_if_email_empty":{"type":"If","expression":{"equals":["@empty(outputs('Compose_-_email_to_be_tested_2'))","@true"]},"actions":{"Send_an_email_(V2)_3":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"@outputs('Compose_-_email_to_be_tested')","emailMessage/Subject":"test","emailMessage/Body":"<p>test</p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{}}},"runAfter":{"Compose_-_email_to_be_tested_2":["Succeeded"]},"else":{"actions":{"Send_an_email_(V2)_4":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_office365","operationId":"SendEmailV2","apiId":"/providers/Microsoft.PowerApps/apis/shared_office365"},"parameters":{"emailMessage/To":"Admin@admin.com","emailMessage/Subject":"@{outputs('Compose_-_email_to_be_tested')} is not a valid email","emailMessage/Body":"<p><br></p>","emailMessage/Importance":"Normal"},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{}}}}}},"runAfter":{"Scope_Solution_1":["Succeeded"]}}}

     

    ----------------------------------------------------------
    If I have answered your question, please mark your post as Solved. 🆗✔️
    If you like my response, please give it a Thumbs Up. 👍
    You can accept more than one post as a solution.

     

  • abouchaalaBAIT Profile Picture
    932 Moderator on at

    In order to use the provided code :

    • Ctrl + C the code
    • add a new step in a blank flow
    • form my Clipboard tab
    • Ctrl v and select..

    abouchaalaBAIT_1-1698400008580.png

    ----------------------------------------------------------
    If I have answered your question, please mark your post as Solved. 🆗✔️
    If you like my response, please give it a Thumbs Up. 👍
    You can accept more than one post as a solution.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard