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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get data from a table ...
Power Automate
Unanswered

Get data from a table in outlook event into a SharePoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi there I am buliding a flow to automate the following procedure:

 

when a event is created in outlook and a rescource is booked. its generate a element in a SharePoint list called "Forplejning - Test" contaning the subject, start time from the event - and some custom columns.

 

flow - when a new event is created.JPG

 

 

And the element is created like this:

My SharePoint listMy SharePoint list

My question is then. How do i get the values from the table below (Kildevand: 10 & sodavand: 20) in my flow, and into my list (in the custom columns called: Kildevand and Sodavand)?

 

 

When a event i createdWhen a event i created

Thank you very much! 😉

 

Categories:
I have the same question (0)
  • PieterVeenstra Profile Picture
    33 on at

    You would have to collect the body of the email and do textual splits. Not always an easy task.

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you want to extract Antal value of each Vare and save them back to SharePoint list?

    Please take the following configuration for a reference.

    Add a trigger When a new event is created.

    Add the action HTML to text to convert the body to text.

    Add compose2 use the following code to get the starting position of Kidevand:

    indexOf(body('Html_to_text'),'Kildevand:')

     Add Compose3 to get the starting position of Antal value of each vare:

    add(outputs('Compose_2'),10)

     Add Compose4, get starting position of Sodavand:

    indexOf(body('Html_to_text'),'Sodavand:')

     Add Compose5, get Antal value of Kidevand:

    substring(body('Html_to_text'),outputs('Compose_3'),sub(outputs('Compose_4'),outputs('Compose_3')))

     Add Compose6 to return Antal value of Sodavand:

    substring(body('Html_to_text'),add(outputs('Compose_4'),9),2)

     1.PNG

    Hope it could be your reference.

     

    Best regards,

    Mabel

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hi @v-yamao-msft

     

    Thank you very much for your reply! actually last night I managed to use the following code and get the values right: 

     

    substring(body('Html_to_text'),add(lastIndexOf(body('Html_to_text'),'Kildevand: '), XX),X)

     

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Thanks for updating.

    I am glad to hear that you have figured out a solution.

     

    Best regards,

    Mabel

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard