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 / Send email using power...
Power Automate
Answered

Send email using powerapps and planner task data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi. I am creating a flow - trigger is PowerApps and it is creating planner tasks based on some conditions. I am planning to add other actions to the flow later on.

At this point, I want to send an email notification that a new task is created. I am using the "Send and email notification" action and it is failing. When I test it outside of my final flow it works fine! But it does not work within the flow. Can't figure out what the problem is. The error message is:

 

InvalidTemplate. Unable to process template language expressions in action 'Send_an_email_notification' inputs at line '1' and column '1605': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sendmail']['connectionId']' cannot be evaluated because property 'shared_sendmail' doesn't exist, available properties are 'shared_planner'. Please see https://aka.ms/logicexpressions for usage details.'.

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a screenshot of your flow's configuration?

    The error message told that there is something wrong with your "Send an email notificaiton" action, the property "shared_sendmail" doesn't exist. 

     

    Please check if the "shared_sendmail" property exists in the output that previous action returned.

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for your response. I don't know where "shared_sendmail" is coming from. I don't have that anywhere. Here is the screenshot. I also tried moving the send email action above the first condition after the PowerApps trigger and I still get the same error.

     

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-xida-msft, this is now resolved. I had to delete the connection to the Flow from PowerApps and recreate it! Everything works fine now. Thank you.

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 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard