Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Dynamic Path file depending on e-mail sender

(0) ShareShare
ReportReport
Posted on by 5

Hello everyone!

I just started using flow and I am getting really into to it by their solutions!

This is my very first post here, so sorry if I didn't found a solution for this in the search tab or something.

 

I am building a flow that paste the attachment from the e-mail from a defined list of sender and sorts it out into defined paths (a unique path for each sender) into the Sharepoint or into the File System. A sort of "look up" between sender and file path.

Example of the excel

 Capture.PNG

 

The problem is that I want to link this to an Excel file, so I could manage the updates of the e-mails of the senders more quicker and way more nicer than creating one flow for each sender, or something like this. (i have to manage to sort more than 100 email's monthly just with the data)

 

 

I was already able to create the beginning of the logic, but when I try to apply this with the Excel...then is this starts to get fuzzy, because I don't even know if this is possible or not. (I knew that I could this through some VBA, but because of reasons, I need to do this through flow).

 

Here is what i've done so far...

Capture1.JPG

 

Can someone enlight if this is possible? And how is actually the way to go?

 

Thanks in advance!

 

 

 

 

  • Guip Profile Picture
    5 on at
    Re: Dynamic Path file depending on e-mail sender

    I am getting a error when I try to open a document that was save using microsoft flow.

     

    This is what i am getting: 

    Capture.JPG

    Any idea what's happening? I didn't make any changes from your template that you gave to me.

  • Verified answer
    v-yuazh-msft Profile Picture
    on at
    Re: Dynamic Path file depending on e-mail sender

    Hi @Guip,

     

    I have made a test on my side,please create the excel table as below and save it in your Onedrive for business:

    Capture.PNG

     

     

    You could  refer to screenshot below to create the flow:

    Capture.PNG

    Capture.PNG

     

     

    Best regards,

    Alice

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1