Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

When i get mail attachment ,Power automate replace the file in SharePoint .

(0) ShareShare
ReportReport
Posted on by 367

Hi

 I am new to power automate . and I am trying to build a flow that when I get attachment file through mail, flow should run and and replace the file in SharePoint library . it shouldn't save . it need to replace every time

  • Yoursnani Profile Picture
    367 on at
    Re: When i get mail attachment ,Power automate replace the file in SharePoint .

    Hi@v-qiaqi-msft 

    My exact scenario is .

    I will receive every day mail with attachment from xxxx@xxxx.com, it's subject is "CAD20220103", 

    attachment file name : it will varying name

    I want to trigger flow when mail come with attachment .

    Flow need to find in library folder that has any file with xxxxx20220103,( last 8 numbers should match with subject, if subject previous file match than flow will replace with new file, if not match previous file it will create a new file XXXXX+subject )

    This what I am trying too

    Could you please help

    Thank you 

     

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: When i get mail attachment ,Power automate replace the file in SharePoint .

    Hi @Yoursnani,

    Could you please tell me what your trigger is?

    Do you want to sync the library file with Email attachment?

     

    Not sure how could you define that which item you want to update with the attachment from the email. If you want to update a specific attachment every time you receive an email with an attachment, I think you should find the identifier firstly. 

     

    A file within the Document library could not be updated but only covered, which means you could only delete an existing file and then create a new file based on the attachment from the email.

     

    So, please provide more details about your scenario.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >