Skip to main content

Notifications

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?
  • 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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans