cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

send email error in flow

Capture.PNG

I always get this error. I do not understand what it is for. I think it is related to connection but i redidi my connection but it gives the same alert.

 

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

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @Anonymous ,

Could you please share a bit more about the the whole screenshot of your flow's configuration?

How do you fire your flow? Do you fire your flow from a canvas app?

 

If the issue occurs when you fire your flow from a canvas app, I think this issue may be related to the flow connection you added in your app.

The user @Anonymous has faced similar issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/flow-launched-from-powerapps-error/td-p/43399

 

On your side, please consider remove the flow connection from your app, then re-add it again, re-publish your app, check if the issue is solved.

 

Based on the issue that you mentioned, I think there is something issue with the connection to your Gmail connector in your flow.

Please check if you have created a connection to your GMail connector with a proper credential.

Please consider re-create a new connection to the GMail connector using your proper credentials, then save your flow, check if the issue is solved.

 

If the issue still exists, please consider re-create a new flow to fix this issue.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
LRVinNC
Resident Rockstar
Resident Rockstar

You will get a much quicker and more robust answer if you post flow questions in the Flow Community, not here. 

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Anonymous
Not applicable

okay thanks!!!

v-xida-msft
Community Support
Community Support

Hi @Anonymous ,

Could you please share a bit more about the the whole screenshot of your flow's configuration?

How do you fire your flow? Do you fire your flow from a canvas app?

 

If the issue occurs when you fire your flow from a canvas app, I think this issue may be related to the flow connection you added in your app.

The user @Anonymous has faced similar issue with you, please check my response within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/flow-launched-from-powerapps-error/td-p/43399

 

On your side, please consider remove the flow connection from your app, then re-add it again, re-publish your app, check if the issue is solved.

 

Based on the issue that you mentioned, I think there is something issue with the connection to your Gmail connector in your flow.

Please check if you have created a connection to your GMail connector with a proper credential.

Please consider re-create a new connection to the GMail connector using your proper credentials, then save your flow, check if the issue is solved.

 

If the issue still exists, please consider re-create a new flow to fix this issue.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,706)