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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "undefinedUnable to pr...
Power Automate
Answered

"undefinedUnable to process template language expressions in action" when extracting email address

(0) ShareShare
ReportReport
Posted on by 9

I built a Flow to extract an email address and message from an automated email from Smartsheet to send an email automatically to the email address extracted. It was working for me during testing and now that I have rolled it out for my team to use, it stopped working at the Email Address extraction step. The run details say:

 

Unable to process template language expressions in action 'Email_Address' inputs at line '0' and column '0': 'The template language expression 'last(split(outputs('Split_Body_Text')[6],':'))' cannot be evaluated because array index '6' is outside bounds (0, 0) of array. Please see https://aka.ms/logicexpressions for usage details.'.

 

This has been working until today so I don't understand what changed.

 

Here are the Expressions for each of my Compose functions:

Split Body Text:

split(body('Html_to_text'),outputs('EnterKey'))
 
Email Address (the point of failure):
last(split(outputs('Split_Body_Text')[6],':'))
 
Email Body:
 first(split(last(split(outputs('Html_to_text')?['body'],'text')),'End'))

 

Screenshot 2024-05-25 135740.pngScreenshot 2024-05-25 140002.png

Categories:
I have the same question (0)
  • Verified answer
    KRASR001 Profile Picture
    9 on at

    I ended up finding a video that helped- https://www.youtube.com/watch?v=0Tsb_BMuwpw

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard