Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to include sender's email signature in workflow-sent emails?

(0) ShareShare
ReportReport
Posted on by

I have an email template that I want to send to Contacts, driven by a workflow. The workflow specifies the owner of the Contact to be the sender. I need the email to include the email signature from the sender/owner. 

Seems like a pretty basic request, but there doesn't seem to be an OOB way of doing this. 

I created a workaround in the past by adding a workflow step to copy Owner data to fields on the Contact record so that I could use them in the email template as a signature, but I now need to include an image as well (different images in each signature). I set up signatures to handle the image files and they work great when sending manually, but the workflow-sent emails are giving me a headache. 

Any advice would be greatly appreciated. 

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: How to include sender's email signature in workflow-sent emails?

    Note: by "Chrome inspector" above, I meant Chrome Dev Tools...

    It looks like my src tag {!contact:po_ownerimageurl} is automatically being encoded as a URL, despite that it is not a URL yet. I tried to get around this by using a getElementByID script: 

    <img src="" id=image>
    
    <script>
    document.getElementById('image').src = "{!contact:po_ownerimageurl}";
    </script>

    But when I save the template, Dynamics strips out the script step. Is there way to set the image src dynamically without using a script? Sorry  - I know this is an HTML/JS question, not a Dynamics question - I'm just hoping there's some workaround that will do the trick.

  • Community Member Profile Picture
    on at
    RE: How to include sender's email signature in workflow-sent emails?

    Hi Adrian - thanks! I can see how this method would work for developers. Unfortunately, this method (writing a custom workflow assembly) is over my head. I'm not a developer, unfortunately. I know how to install workflow assemblies...I just can't write them. :)

    Another approach: Is it possible to alter the URL of the linked image in a template dynamically? I tried to use a modified version of this method (https://www.linkedin.com/pulse/ms-crm-how-modify-image-url-workflow-email-signature-using-olena) to alter the URL of the image dynamically in the template, but can't seem to get it to work. 

    I created a text field on the contact record called with the name "po_ownerimageurl". If I insert the field in a template, it shows up in Chrome inspector as "{!contact:po_ownerimageurl}" and when the template is sent, the URL appears in the email. So I inserted an image into the template, and then using inspector, edited the image source attribute to equal {!contact:po_ownerimageurl} as follows:

    ownerimageurl-after-save.jpg

    But then after saving the template, the brackets and everything are swapped out with encoded text - which seems to kill the reference in CRM:

    ownerimageurl-after-save.jpg

    If I just hardcode the URL using inspector, I can easily change the image and it works - but I can't get it to work when referencing a dynamic field. Any suggestions? 

  • Suggested answer
    Adrian Begovich Profile Picture
    1,025 Super User 2025 Season 1 on at
    RE: How to include sender's email signature in workflow-sent emails?

    Hi dannye770,

    This article outlines a method of setting the email signature.

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 Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans