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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Reading an email conta...
Power Automate
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard