Skip to main content

Notifications

Power Automate - Using Connectors
Answered

send email error in flow

(0) ShareShare
ReportReport
Posted on by

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.'.
 
Capture.PNG
  • Verified answer
    v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: send email error in flow

    Hi @Anonymous ,

     

    I guess this is because you added a Gmail connector-related action to an existing Flow to see a similar problem.

    Please try to export the Flow as a .zip file and re-import it as a new Flow. After configuring the connection, Flow will work.

    Please take a try and let me know if issue still exists.

     

    Best Regards,

  • Re: send email error in flow

    Capture.PNG

    here is what i have inside the send email.

  • Brad_Groux Profile Picture
    Brad_Groux 4,556 on at
    Re: send email error in flow

    As this looks to be a formatting or syntax error - please provide an expanded screenshot of your Flow and steps  so that we can better assist you. Thanks.

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics