web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Saving email attachmen...
Power Automate
Unanswered

Saving email attachment to sharepoint folder in relation with domain name and equivalence table.

(1) ShareShare
ReportReport
Posted on by 2

Hi!

I don't know if it's possible to do that but I was wondering if it's possible to save an email attachment to a sharepoint folder that is linked to a domain name (equivalence table).  For exemple, if I receive an email from microsoft.com, save the attachment to the Microsoft Folder.  If I receive an email from vancouver.ca, save the attachment to the folder "Town of Vancouver".

 

I have an excel sheet with the domain name that are communicating often and the equivalence sharepoint folder

- vancouver.ca - sharepoint/sites/customer/City/Town of Vancouver

- microsoft.com - sharepoint/sites/customer/corporate/Microsoft

-dell.ca - sharepoint/sites/customer/corporate/dell

...

 

Thanks!

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Jean-Seb 

     

    Please follow the below steps:

     

    image.png

     

    Expression I used under the above compose is as follows:

     

    first(split(last(split(triggerOutputs()?['body/From'],'@')),'.'))
     
    Then map the Compose output inside the Apply to each steps for the folder paths.
     
    Thanks
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard