Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

e-mail template & send e-mail workflow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,
I've created a workflow to create email entity automatically,

Is possible associate a email template created previously to the new workflow?

Thanks,

JuanMa

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: e-mail template & send e-mail workflow

    Hi Rajkumar,

    This way works very good, and i can replace the subject and body, but this method has a bit problem. If you has a template with variables, for example: "Dear Mr. [quote!contact] you must do the maching by code.

    So, this is a very good solution.

    Thank you very much

    JuanMa

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: e-mail template & send e-mail workflow

    Hi Chitrarasan, I would like to do that but by plugin

  • Royal King Profile Picture
    Royal King 27,686 on at
    RE: e-mail template & send e-mail workflow

    If you want to use template after creating email its very simple .. all you to do is click on insert template and choose the right temple to apply

    3348.Capture.PNG

  • Verified answer
    RE: e-mail template & send e-mail workflow

    Is this what you are looking for?:

    nishantrana.me/.../sample-code-to-use-templates-content-while-sending-mail-using-sendemailreuquest-in-crm-2011

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: e-mail template & send e-mail workflow

    Thanks Chitra, this example sounds good, but the process that i'm implementing is a bit different.

    I set a new button in the quote form for sending a email. This button create a new entity email, but not sends the email. (The user will send the email after).

    I've deployed a plugin (postcreate emial) that does several actions in the email, in this moment is when i would like to change the template.

    Meaning, the email is created when i want to change the template.

    Thank you very much

    JuanMa

  • Royal King Profile Picture
    Royal King 27,686 on at
    RE: e-mail template & send e-mail workflow

    There is no way to choose template if you are creating email entity using OOB. But you can write custom workflow step to create email using template.

    Find sample code in below link to create email using template..

    https://msdn.microsoft.com/en-us/library/hh210212.aspx

     

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: e-mail template & send e-mail workflow

    Thank you very much,

    This solution fixes when you create a send email step, but I'm creating a create entity email, because I don't send the email in the proccess.

    I don't know if I can create a send email step and don't send the email.

    Thanks,

  • Suggested answer
    Royal King Profile Picture
    Royal King 27,686 on at
    RE: e-mail template & send e-mail workflow

    In your workflow rather than choosing create new email select "Use template" option that will let you add the template you want to use to send out email

    Select "Use Template" from drop down then click on the properties to select your template

    0825.Untitled.png

    2.You will see all the email template related to the entity here.From the list choose the one you want use. Make sure you change the template type from global to your entity, to see all related templates

    0825.Untitled.png

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans