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 / Reading an email conta...
Power Automate
Answered

Reading an email containing changing amount of info

(0) ShareShare
ReportReport
Posted on by 21

Hi,

 

I have an email that I get from a booking system that I need to log into sharepoint.

No problem when its one entry, but when there are multiple people it sends them in one email. So I will get 

 

 

Name: Tony Test
Email: tony.test@test.com
Mobile Number: 41546974
Job Title: Super Dude
Company: This is a test please do not process
Dietary Requirements:
Street Address: 112 Test St
Suburb: DULWICH HILL
Postcode: 2203
State: NSW

Name: Geoff Test
Email: geoff.test@test.com
Mobile Number: 61293473666
Job Title: Frog Man
Company: This is a test please do not process
Dietary Requirements: Food
Street Address: 2 Hand Parade
Suburb: SYDNEY
Postcode: 2000
State: NSW

Name: Jarrod Test
Email: rtest@test.com
Mobile Number: 61414236544
Job Title: Space Man
Company: NASA
Dietary Requirements: Frogs
Street Address: 123 Fake St
Suburb: ROOTY HILL
Postcode: 4000
State: NSW

I'm fairly new to this but I have used my flow to convert it from HTML to Text, then using Compose actions to get the items from the first entry, but how would I go about doing this for the other items with the consideration it could be one, two, three or many more entries in an email?

 

Any help or pointers to some examples would be much appreciated.

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @TonyB,

     

    Please refer to these steps:

    Step 1: Initialize a variable named Tab by clicking twice the "Enter" button.

    Step 2: Add an Apply to each action, then split the variable  Email by the variable Tab.

    split(variables('Email'),variables('Tab'))

    Annotation 2019-08-29 181313.png

    Run results:

     

    Annotation 2019-08-29 182054.png

    Please have a try, I hope it can help you.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • TonyB Profile Picture
    21 on at

    Thanks! That helped me get where I needed. Using this, some varibiables to select from the array got me fixed. 

     

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard