web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Passing variable to body of Email Template using Power Automate

(1) ShareShare
ReportReport
Posted on by 19
Using Power Automate I have successfully been able to send Emails from an Email Template. Basically using the "Perform and Unbound Action" as per Elaiza Benitez video Send an email to multiple recipients using an Email Template - YouTube.
 
However I want to add the ability to pass a variable to the Body of the email. In Power Automate I have created a String variable whose value I want to add to the Body of the Email. I don't see anywhere in the Perform and Unbound Action to do this.  My only thought is it somehow can go with the Target parameter.
 
Anyone have any thoughts on how to do this?
I have the same question (0)
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Passing variable to body of Email Template using Power Automate
    Hi,
     
    The body of the marketing email template is HTML.
     
    Therefore, you need to update the body of the email template through Flow and insert the customized value into the HTML of the body.
    However, in my test, although the flow ran successfully, the template was not updated.
    That is, the inserted custom value was deleted.
    Therefore, I'm afraid your needs cannot be met.
     
    Best Regards,
    Dengliang Li
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 185

#2
Sahan Hasitha Profile Picture

Sahan Hasitha 163

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 129 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans