substring(body('Html_to_text'),outputs('Compose_4'),sub(outputs('Compose_5'),outputs('Compose_4')))Īdd a 'Create event (V1)' action, specify Calendar id, End time field set to output of ' Compose 3' action, Start time field set to following formula:.indexOf(body('Html_to_text'),'Start time')Īdd a 'Compose 6' action, Inputs set to following formula:.add(indexOf(body('Html_to_text'),'Subject'),9)Īdd a 'Compose 5' action, Inputs set to following formula:.substring(body('Html_to_text'),outputs('Compose_2'),sub(outputs('Compose'),outputs('Compose_2')))Īdd a 'Compose 4' action, Inputs set to following formula:.Add a 'Compose 3' action, Inputs set to following formula:.Add a 'Compose' action, Inputs set to following formula:Īdd a 'Compose 2' action, Inputs set to following formula:Īdd(indexOf(body('Html_to_text'),'End time'),10).Add a 'Html to text' action, Content field set to Body dynamic content of the trigger.Add a 'When a new email arrives' trigger.I assume that the details of your incoming email as below and you want to extract the Subject and End time content from Body of the email: I have made a test on my side and please take a try with the following workaround: You please share an example about your scenario?ĭo you want to extract content from body of the email?