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

MS Bookings Error

(0) ShareShare
ReportReport
Posted on by 26

Hoping someone can help me with my flow.. I am running a flow to get bookings made in MS Bookings from an Outlook calendar and creating a HTML table to send to people via email.

I have initalised the variables, done apply to each.. but I see the following error message:

 

 

 

InvalidTemplate. Unable to process template language expressions in action 'Set_Student_Name' inputs at line '0' and column '0': 'The template language expression 'last(split(first(split(outputs('Html_to_text')?['body'],'Email')),'Name: '))' cannot be evaluated because property 'body' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.

 

 

ChrisDMU_0-1676307941716.png

Any help?

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    on at

    Hi @ChrisDMU ,

     

    Could you please show me where the 'Html to text' action is? Is it in the 'Apply to each'?

    If the 'Html to text' is in the 'apply to each', you should put the set variable action into the apply to each too, cause outside the loop, an action cannot reference the output of an action inside the loop.

     

    Best Regards,

    Bof

  • ChrisDMU Profile Picture
    26 on at

    ChrisDMU_0-1676460648043.png

     

     

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @ChrisDMU ,

     

    If the 'Html to text' is in the 'apply to each', you should put the set variable action into the apply to each too, cause outside the loop, an action cannot reference the output of an action inside the loop.

    vbofengmsft_0-1676510222096.png

     

    Best Regards,

    Bof

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard