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 / Action 'Send_an_email_...
Power Automate
Unanswered

Action 'Send_an_email_notification_(V3)' failed: Unable to process template language expressions in action

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I desgined a flow in which user who triggers the flow get an update about status after some steps.

For this I started the flow with "For selected file (sharepoint)" trigger since user triggers flow in sharepoint with an excel file. Then I added 'Send_an_email_notification_(V3)' steps in the different parts of the flow. 

For last three or four days I get an error in the 'Send_an_email_notification_(V3)' steps. Error message is like this: 

 

Unable to process template language expressions in action 'Send_an_email_notification_(V3)' inputs at line '0' and column '0': 'The template language expression 'triggerBody()['email']['x-ms-user-email']' cannot be evaluated because property 'x-ms-user-email' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.

 

I did some adjustment in the expression. According to this adjustments details of the error message varies. But the main problem (Unable to process template language expressions in action 'Send_an_email_notification_(V3)' inputs at line '0' and column '0') is always same.

 

Do you have any idea avout the solution?

 

Best regards,

Mert.

 

Categories:
  • VictorIvanidze Profile Picture
    13,083 on at

    Are you sure that each email has the SMTP header x-ms-user-email ?

  • mertdemirhan Profile Picture
    8 on at

    Hi Victor,

    I have this as input. By the way I use x-ms-user-emailencoded, too.

    Image_1.png

  • VictorIvanidze Profile Picture
    13,083 on at

    I just trying to say you also have to handle emails that hasn't got this header.

  • mertdemirhan Profile Picture
    8 on at

    Sorry, I dont understand what are you try to mean since I don't have any IT background.

     

    On the other hand as far as I understand "User Email" dynamic content doesn't retrieve the email from "For selected file (sharepoint)" trigger. Because when I write an email directly to the "Send_an_email_notification_(V3)" step, it works smoothly. 

    Another note from my side; every time I create a new "For selected file (sharepoint)" trigger, its name is changed automatically to "manual" even I do nothing.Picture1.png

     

     

     

    Picture2.png

     

  • VictorIvanidze Profile Picture
    13,083 on at

    >On the other hand as far as I understand "User Email" dynamic content doesn't retrieve the email from "For selected file (sharepoint)" trigger. 

    What are you talking about?  Your User email expression starts with triggerBody()

  • Expertopinionsa12 Profile Picture
    17 on at

    Hello Mert,

     

    It seems the issue lies in the expression 'triggerBody()['email']['x-ms-user-email']'. The error suggests that property selection is not supported on values of type 'String'. To resolve this, you may need to check the output of the 'For selected file (SharePoint)' trigger and adjust the expression accordingly.

     

    Ensure that the 'email' property exists at the root level of the trigger output. If it's nested within another property, you should modify the expression accordingly, like 'triggerOutputs()?['headers']?['x-ms-file-email']'.

     

    Refer to the documentation (https://aka.ms/logicexpressions) for more details on working with template language expressions or visit triotech systems they might help.

     

    Best regards,

    Rehes

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard