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:
Time of request: Nov 20, 2024 11:15 am
Sitters: Eva
View Booking Appointment
Sitters: Joy
View Booking Appointment
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


Report
All responses (
Answers (