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 / Outlook Email and Shar...
Power Automate
Answered

Outlook Email and SharePoint

(0) ShareShare
ReportReport
Posted on by 9

Hi all,

 

Super new to Microsoft Flow and have some questions. I have attached a picture of my current flow for reference. 

2019-07-04 16_29_46-Edit your flow _ Microsoft Flow - Internet Explorer.png

 

 I have created a flow that is triggered on new emails received by an Outlook account. It looks to see if the attachments within the email are greater than 1, in which case it does nothing (hence nothing under yes). If the attachment is exactly 1, it will take that attachment and add it to a SharePoint document library.

 

Now, I am trying to do the following:

  1. I want Flow to be able to read the Subject of the email mentioned above and compare that string to a column within a SharePoint list (kind of like a lookup).
  2. If there is a match between the Subject string and value in the column of the SharePoint list, I want to be able to write that value back to a column in the SharePoint Document library that I am adding the attachment to.
  3. If there isn't a match, the flow would just carry along with the next step.

How do I go about doing this? I have tried to do the following, but got stuck and didn't know how to continue. Filter Query works and brings back a result, but how can I use that result in subsequent steps?

2019-07-04 16_33_08-Edit your flow _ Microsoft Flow - Internet Explorer.png

 

Categories:
I have the same question (0)
  • tfhegdbn Profile Picture
    149 on at

    Hi @ogcmstech ,

     

    You could get the field value of the matching item in the list above Condition and store it in the variable.

     

    Then in Create file action, configure Update file properties action, and use ID of Create file action to update the corresponding Library column.

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @ogcmstech ,

     

    If Commitment has a unique value in SharePoint list, you could refer to the following method to configure Flow.

    Configure Get items action directly under Create file to get the expected item in the specified list.

    Then use Item Id generated by Create file action in Update file properties action to specify the file. And use the data obtained from Get items to update the file properties.

     

    Image reference:

    38.PNG39.PNG40.PNG

    Hope it helps.

     

    Best Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard