cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Kingpin
Kudo Kingpin

Approval Flow sends email for every response

I am trying to build an approval email Flow which sends an email for every response.

I have built the following steps - manually trigger a flow - start and wait for an approval - apply to each response - send an email 

 

I receive actionfailed at apply to each action with the following errors; 

ActionFailed. An action failed. No dependent actions succeeded.
 
Send an email error; 
InvalidTemplate. Unable to process template language expressions in action 'Send_an_email' inputs at line '1' and column '2565': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_office365']['connectionId']' cannot be evaluated because property 'shared_office365' doesn't exist, available properties are 'shared_approvals'. Please see https://aka.ms/logicexpressions for usage details.'.
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Hi @Basic_User007 ,

 

I guess you might have added Send_an_email action to the previously configured Flow to get this error.

Following method is generally used to solve similar errors.

Please try to export Flow as a .zip file, then re-import it as a new Flow and configure the relevant conenction so that the problem can be solved.

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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

1 REPLY 1
Highlighted
Community Support
Community Support

Hi @Basic_User007 ,

 

I guess you might have added Send_an_email action to the previously configured Flow to get this error.

Following method is generally used to solve similar errors.

Please try to export Flow as a .zip file, then re-import it as a new Flow and configure the relevant conenction so that the problem can be solved.

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

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