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
Super User

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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,779)