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 / Saving email attachmen...
Power Automate
Answered

Saving email attachment from shared mailbox to server file share

(0) ShareShare
ReportReport
Posted on by

Hi,

I am wanting to setup a flow for the following.

When an invoice arrives as an attachment from a specific supplier into a shared mailbox, the attachment is copied into a specific folder matching the supplier name.

I have setup a test flow which I have attached.

My question / issue is the folder connection.

  • I will need to create a flow per supplier which is fine.
  • Do i need to create a new data connection per supplier or can I have a top level folder for example Invoices and then as I create a new Flow in the folder path simply put \supplier name as the path
  • Folder Path.JPG

     

    mail test.JPG

     

    Many thanks in advance
Categories:
  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @dancarter1220 ,

     

    You might consider putting the supplier name in the subject of your email.

    I have made a test for your reference.

     

    1. Here is my Folders.

    vyujincuimsft_0-1647244839350.png

    2. Here is my Flow.

    first(split(triggerOutputs()?['body/subject'],'-'))
    concat('\\*****(root folder path)***********\Invoices\',outputs('Compose-suppliername'))

    vyujincuimsft_1-1647245441250.png

    Result Screentshots:

    vyujincuimsft_2-1647245594277.png

    vyujincuimsft_3-1647245664435.png

    vyujincuimsft_4-1647245826847.png

     

     

    Best Regards,

    Charlie Choi

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 233 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 178

Last 30 days Overall leaderboard