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 Platform Community / Forums / Power Automate / "undefinedUnable to pr...
Power Automate
Unanswered

"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

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

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard