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 / Create a flow that sen...
Power Automate
Answered

Create a flow that send email and if I don't receive asnwer sending again

(0) ShareShare
ReportReport
Posted on by

Hello I need Help.

 

I'm working on the service desk app and I need to do the fallowing action , when I create a work order I need to send an email to said work order was created but if the recipient don't answer the email , then resend the email again . until I receive an asnwer that the person has reply the emial . 

 

Thank 

 

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @wconstanza,

     

    Could you please show a bit more about the work order that you mentioned?

    Is it the work order in Dynamics 365?

     

    I suppose that the work order that you mentioned is the work order in Dynamics 365, is it true? I have made a test on my side, when a new work order is created, send an email to the recipient, if the recipient doesn't answer the email in 5 minutes, then resend the email again. 

     

    I assume that the email has a unique Subject, please take a try with the following workaround:

    • Add a proper trigger, here I use Flow Button trigger for testing (On you sider, you should modify it into "When a record is created" trigger).
    • Add a "Do Until" action, click "Edit in advanced mode", type the following formula:

     

    @not(empty(body('Filter_array')))

     

     

    • Within "Apply to each" action, add a "Send an email" action, specify recipient within To field of "Send an email" action. Add a "Delay" action, Count set to 5 and Unit set to Minutes. Then add a "Get items" action.

             Add a "Filter array" action, From set to output of "Get emails" action, click "Edit in advanced mode", type the following formula:

     

    @and(equals(item()?['From'], 'Test3@xxxxxx.onxxxxxxxxx.com'),contains(item()['Subject'], 'Re: A new work order is created'))

    Note: The 'Test3@xxxxxx.onxxxxxxxxx.com' represents the email address of the recipient, the 'A new work order is created' represents the subject of the email.

     

     

    Image reference:20.JPG

     

    21.JPG

    The flow works successfully as below:19.JPG

     

     

    Best regards,

    Kris

     

     

     

     

  • WC-23071516-0 Profile Picture
    on at

    Thank you 

     

     

     

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
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard