I would like that when an email is sent to a specific O365 group, it will be included on a subweb page in a sharepoint list with possible attachments.
Columns: sender, subject, sent on, text, attachments
What list do I have to create for this?
Is there a trigger for this?
Which actions do I have to choose? One or more?
Is there a manual for this?
Do you want to save body or attachments of the email to a SharePoint list when you sent email to an Office 365 group?
Or save body or attachments of the email to a SharePoint list when any email is sent to Inbox folder of specific 0365 group mailbox?
We could save the basic information (sender, subject, sent on, text and etc.) of email to columns of a SharePoint list and then add the attachments of the email to corresponding SharePoint list item. I have created a SharePoint list on my side and the data structure of it as below:
Sender Single line of text
Subject Single line of text
Sent on Date and time
Text Multiple line of text
If you want to achieve the first one, I have made a test on my side and please take a try with the following workaround:
Then Add a “Apply to each” action, Input parameter set to Attachments dynamic content of the trigger. Within “Apply to each”, add a “Add attachment” action, Id field set to ID dynamic content of “Create item” action, File Name field set to Name dynamic content of the trigger and File content field set to Content dynamic content of the trigger.
If you want to achieve the second one, please take a try with the following workaround:
Note: Create a connection with specific O365 group account to the "When a new email arrives" trigger.
here's the exact explanation of what I want.
I want to save the email message, and possible the attachments from an email, when they are sent to a Office365 group, more accurately to an email adress of a distribution list of O365.
I have a o365 group for our employees, but I send the emails to the employees to an email distribution list of o365.
The columns of my list should be:
Sent on (sorted newest at first)
Whenever an email is sent to the email address of the distribution list of o365, it should appear in the Sharepoint list.
Is this possible?
I tried your first alternative. It works. Super.
But the column text-Multiple line of text does not work. See Sreenshot.
What do I need to change?
Does this work for you that does not display HTML?
hi kris, it works.
the sender will be updated and also the text and the text preview."text html to text" had to be added for text preview.
The only thing that does not work is the display and selection of attachments
Because the text of the emails and the preview are so long, I group the incoming emails by date. It's good.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!