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 / Save email attachment ...
Power Automate
Unanswered

Save email attachment to SharePoint Document Library and autofill metadata

(0) ShareShare
ReportReport
Posted on by 8

hi everyone,

 

I am creating a flow where, when I get an email with subject line containing "payment overview" and an attachment, the attachment gets autosaved into a particular document library in SharePoint with the metadata info filled out and then the person who emailed me gets notified that it has been added to sharepoint doc library. I am able to get the document into the library successfully but need help with the next step of filing in the metadata in the document library and notifying the email sender back.

This is what I have so far:

 

MLTSD_OPS365_0-1704837131154.png

 

this is the sharepoint document library metadata that I am trying to autofill: 

MLTSD_OPS365_1-1704837267935.png

 

if someone could please help me with the next steps, I would appreciate that.

 

thank you, 

Categories:
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @MLTSD_OPS365 ,

     

    Did you add these columns manually? If you want to update the contents of these columns after the file is created, you can add update file properties action.

     

    Here's my test for your reference:

    vmengmlimsft_0-1704850016734.png

     

     

    If I miss something, please include more details in next reply so that I can understand your needs.

     

    Best regards,

    Rimmon

     

  • MLTSD_OPS365 Profile Picture
    8 on at

    @v-mengmli-msft 

     

    Hello, thank you for your help. I followed the steps you showed and the flow works, except the attachment is not being downloaded properly, instead, the flow is downloading an image and not the PDF file:

     

    MLTSD_OPS365_0-1704917157522.png

     

    I made sure to specify Attachment Contents in my Flow but when I checked my flow, the value got changed to this, every time I change back to Attachment Contents, it keeps reverting back to this

     

  • Eider Profile Picture
    71 on at

    Hola @MLTSD_OPS365 

     

    En el "File Content" te falta añadir '.pdf' después del Attachment. 

     

     

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    If your attachment file is not a PDF, you will need to convert the file to PDF format first.

    1.Save attachments to a folder;

    2.Convert file to PDF;

    2.Save above PDF to destination.

    vmengmlimsft_0-1704957865260.png

     

  • MLTSD_OPS365 Profile Picture
    8 on at

    @v-mengmli-msft  the attached file can either be a PDF, or excel or Word, any attached file needs to be added to the sharepoint. The problem is, instead of saving the attachment, the flow is saving the email signature of the person 

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard