Why Condition failed- workflow to save email attachment to SharePoint

Wu, Vivian:(PECO) 40 Reputation points
2023-12-19T17:58:46.56+00:00

I created a workflow to save attachments automatically from the certain emails that I receive to the SharePoint. Below is my flow, but I have no clue why it failed on the condition. Can anyone help?

User's image

User's image

User's image

User's image

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Outlook Windows Classic Outlook for Windows For business
Microsoft 365 and Office SharePoint For business Windows
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2023-12-21T01:57:59.2833333+00:00

    Subject Filter in the "When a new email arrives" action can filter emails in the outlook.

    So, you just need to set Subject Filter in the "When a new email arrives" action, do not need to use Condition in the flow.

    Please create a flow as following pictures show.

    1


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,836 Reputation points Microsoft External Staff
    2023-12-20T06:24:30.0233333+00:00

    Based on your description. I understand that want to save attachments in emails sent to you into the SharePoint document library, and the subject of emails contains Gas Contract Controls Weekly Schedule.

    To filter subject, in the Subject Filter of When a new email arrives action, enter Gas Contract Controls Weekly Schedule.

    Here are flow for you refer to:

    User's image

    1

    User's image

    User's image

    enter image description here

    Result:

    enter image description here

    enter image description here


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.