cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
campsyain
New Member

Create new item in Sharepoint list, from dynamic content in incoming mails

Hello, I'm new to buildng flows, and I need to create a new item in a definde Sharepoint list, with the information in any incoming mail to a defined Sharepoint library.

 

Example:

A mail is sent from any sender adressed to "sharepointlibraryadress@company.net".
The body of the mail contens the following information:
        Event: Stoppage
        Start time: 26-Jun-20 10:15 AM
        Code: 123

 

Receiving this mail, a new item should be automatically created in "Sharepoint List", with the next data:
        Event                 Start time                        Code
        Stoppage          26-Jun-20 10:15 AM        123

 

I couldn't find the answer to the specified trigger in previous posts. Please HELP!

2 REPLIES 2
ChristianAbata
Super User II
Super User II

hi @campsyain  what you need to do frist is convert the body content in html to text and then you can get the data using functions like split or lastindexof, is difficult to recommend one because I don't know your body email content.

 

htmltotext.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

Hello @ChristianAbata : the trigger "When a new email arrives" refers to a determined Outlook adress. Instead, I need to refer to any mail that arrives to an email adress of a Sharepoint library, wich is, for example  "sharepointlibraryadress@company.net".

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,438)