Skip to main content

Notifications

Power Automate - Using Flows
Unanswered

I need to download attachments which are pdf from different domains however the subject is still the same.

(0) ShareShare
ReportReport
Posted on by 2

I have a worklfow where I need to download the attachments which are coming from 2 different domains. I cannot add the From in the When a new mail arrives since there are 25 to 30 users are there from each domain so I have added a control check with From contains as @xxxxx.com or @yyyyyy.com

 

This workflow is not working what can be done achieve this workflow. Appreciate your feedback 

  • manjeshjk Profile Picture
    manjeshjk 2 on at
    Re: I need to download attachments which are pdf from different domains however the subject is still the same.

    Hello @FLMike 

    What I am trying to achieve is that .

     

    1) I am donwloading mails with attachments and a subject XXXXXX - Step is ok.

    2) Loop through each attachment. - Step is ok.

    3) I am checking for a condition where I am checking for email domain name in FROM parameter which I want is @xxxx.com OR @yyyyy.com - Here the expression result is false (attached screenshot).

    4) If it is TRUE then check if the file extension is .pdf, however since there is an error in this step  (Screenshot attached)

     

    ActionBranchingConditionNotSatisfied

    The execution of template action 'Check_if_file_extension_is_pdf' skipped: the branching condition for this action is not satisfied.
     
    Appreciate your support for the same. Let me know if there is any information that is required.
  • FLMike Profile Picture
    FLMike 31,580 on at
    Re: I need to download attachments which are pdf from different domains however the subject is still the same.

    Hi @manjeshjk 

     

    Can you please explain in more detail what the flow is supposed to be doing.

     

    Also you haven't actually explained what is not working. Can you please explain what is failing and also provide a screen shot of a flow Run, and look at the inputs and outputs of each action to see why.

     

    Your flow itself seemed accurate to me so I would need to see more details.

     

    Like are you sure its triggering the "Yes" side????? 


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard

Featured topics

Restore a deleted flow