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 / Look For Email with at...
Power Automate
Answered

Look For Email with attachment and Send a second request for email without attachment

(0) ShareShare
ReportReport
Posted on by Super User 2024 Season 1

Hi,

I already have a script where I can go out to each client mailbox, grad those attachments and bring them to my folder.  Now I want for the script also look for the each client domain/email, if I don't have an attachment to send them a second request.  Thank you for the help.

 

TTC_0-1680784120300.png

 

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @TTC 

     

    To confirm, you want a power automate desktop flow, which checks each mailbox for each domain/email and see whether there are emails with no attachments , right ?

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    That's correct Nived!  if there's an attachment I want to download them to a folder, if there's none, I want the PAD send the client a second request as a reminder.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at
  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Hi Super User,

    Your link solution is totally different then what I am looking for.  Also it's a better if you can demonstrate your solution by using the PAD script so I case see the step instead write the solution.

    I already know how to retrieve the email.  I want to send the client a second request if I did not receive his/her attachment on the first attempt.  Thank you!

     

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @TTC 

     

    I hope this design flow helps you 

    Nived_Nambiar_0-1680834764238.png

     

    Here I am looping through a list of mailaddress (which is List variable) and then retriving mails from each and checking if attachments is there , if it is no present, bot will send a reminder via send email action (hope that is what you expects).

     

    For emails having attachments it will downloads to a folder specified under download_path variable

    Nived_Nambiar_1-1680834905719.png

     

     

    Hope this helps you 🙂

     

    Mark it as solution if it resolves your query 🙂

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    Hi Nived,

    It did not send the second email where there's no attachment.  I am debugging the script and It keeps skipping the send email step. I assume if it did find an attachment on the first email it should skip the send email step, but if it did not find an attachment on the second email it should read the send email step, and send a second request to the client right?

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    after it reads the IF statement and then it skips the 'Sent Exchange email message' and go to End process.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @TTC 

     

    Could you check this 

     

    use display message action before if condition to check the subject of mail.

     

    Just need to confirm whether it is only picking up emails with attachments only 

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Yes that's how it should work 

  • TTC Profile Picture
    Super User 2024 Season 1 on at

    yes, it did pick up an email with attachment and download it in my folder.  but it skip the send email with no attachment. Below are the files that was download.

     

    TTC_0-1680842635298.png

     

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 210 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 175

Last 30 days Overall leaderboard