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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extracting multiple ap...
Power Automate
Unanswered

Extracting multiple appointment details from email and upload them to an excel table

(0) ShareShare
ReportReport
Posted on by 34
Hello Again! 

I am trying to extract the appointment details from an email and upload the details to an excel table. The tricky part is that there are multiple appointments in the email (see screenshot):


The html to text the output looks like this: 
    
A New Bulk Booking Has Been Submitted!
 
New Bulk Requests from the TEST family
Time of request: Nov 20, 2024 11:15 am
 
Appointment: Nov 23, 2024 19:30 pm - Nov 23, 2024 22:30 pm
Sitters: Eva 
View Booking Appointment
 
Appointment: Dec 15, 2024 09:00 am - Dec 15, 2024 14:00 pm
Sitters: Joy 
View Booking Appointment
 
Appointment: Dec 17, 2024 15:00 pm - Dec 17, 2024 18:00 pm
Sitters: Julia
View Booking Appointment
 


 I would like the table to look like this (see screenshot): 


I can easily complete this operation when only 1 appointment is booked with the expression trim(first(split(last(split(body('Html_to_text'),'appointment:')),'sitter:'))) 

The other part that adds a curve ball is that the amount of appointments that come through could be anywhere between 2 and 30 appointments. 

Any advice would be greatly appreciated! 

Regards,
Sitter Wizard
Categories:
I have the same question (0)
  • Verified answer
    SitterWizard Profile Picture
    34 on at
    Extracting multiple appointment details from email and upload them to an excel table
    I was able to accomplish what I wanted to do, but it seems redundant. 


    I simply used the Select and Parse JSON actions for when multiple appointments are booked. Not sure if this is the most efficient way to get the info, but it works!  Like I said, Single appointments are a piece of cake. 

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard