@yashag2255
This is what I have.
When a new email arrives (V3)
Folder Inbox
Html to text (Preview)
Content Body
Compose
length(body('Html_to_text'))
Compose 2
add(indexOf(body('Html_to_text'),'End time'),10)
Compose 3
substring(body('Html_to_text'),outputs('Compose_2'),sub(outputs('Compose'),outputs('Compose_2')))
Compose 4
add(indexOf(body('Html_to_text'),'Subject'),9)
Compose 5
indexOf(body('Html_to_text'),'Start time')
Compose 6
substring(body('Html_to_text'),outputs('Compose_4'),sub(outputs('Compose_5'),outputs('Compose_4')))
Create event (V4) 2
Calendar id Calendar
Subject Outputs
Start time formatDateTime(triggerOutputs()?['body/Start time'])
End Time Outputs
Time zone (UTC-05:00) Eastern Time (US & Canada)