Why Condition failed- workflow to save email attachment to SharePoint

Wu, Vivian:(PECO) 20 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

Microsoft Exchange Online
Outlook
Outlook
A family of Microsoft email and calendar products.
3,901 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,740 questions
0 comments No comments
{count} votes

Accepted answer
  1. Emily Du-MSFT 46,811 Reputation points Microsoft Vendor
    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 46,811 Reputation points Microsoft Vendor
    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.