I am having trouble changing the formatting of my workflow email notifications. I want to change the font, as well as add some images and generally make it look a little nicer. Does anyone have any ideas?
Which Version of Nintex Workflow are you using? And what kind of trouble do you face?
Depending on the usion Version you should have formatting buttons directly above the html body field in your workflow action or in the text ribbon after klicking into the html body field.
Hi, Its Nintex 2013. I do have all those buttons, and Ive made the changes I want, but what actually sends doesn't look like what I have set up. None of the images appear and the font isn't the font've chosen etc.. Any ideas?
Do all actions behave the same way and ignore your formatting definitions?
The behaviour that I face every time is that in the workflow designer everything is displayed in Arial font (which is the browser's default font), but when I see the same notification in Outlook everything is in Times New Roman (which is its default font).
If nothing helps, you could check if the HTML of the notification might be broken by editing the HTML of the notification and strip unnecessary elemtents. Besides this you could also try to enclose the whole HTML of the notification with a <font> tag and set it to the language you want.
Does anything of this help you with that issue?
I have the same question, however I believe the problem with images is in the way that they are being added to the email. If you edit the HTML, and use an <img> tag with a URL to the image, When you save it, it will become a relative URL, which is useless from the email client.
There are 2 ways to fix this:
1. Add images using the "Picture" button in the "Media" Group of the "Insert" tab
2. Build the URL of the image as a variable and concatenate the Server URL and the rest of the relative URL
Regarding the Font issue, I am still working on that.
I hope that helps
For what it's worth, I've experienced this similar frustration and have not figured out a pattern to its inconsistent behavior. For instance, although it lists Verdana 8pt in the formatting area and displays as such, my notifications still send in what is probably Times New Roman. To address this, I now select all the text in the editing window, select Verdana and then select the font size. Not sure why this works this way, but it's not dependable as a WYSIWYG editor.
I've also found when using variables in a table I cannot get the text the variables are delivering to display in anything but the default (Times New Roman) font.
The Nintex HTML editor is way to primative for using, so you might consider getting Notepad++ and editing your notification there. It's especially useful for table formatting, too.
Hi Joe (and others),
HTML emails are tricky even outside Nintex Workflows. Outlook, Gmail, Yahoo, etc all render html differently, so trying to format an email that looks good in all of them is tough.
However, there are a couple of bits that I can suggest that can help.
1. Put content inside a HTML Table: This is probably the smallest amount of work for the biggest gain. If you present your information inside a 700px wide table (transparent) it will render correctly in almost any size view. I've found that 700px is a good size for "mail previews" like Gmail and Outlook. I do this by having a the code (see attached text file), either first in last in your "build string" for email, OR the first thing (and last thing) in any build string repeating process (as well as the ending as noted in file. NOTE: The code also sets a consistent font type and size for anything inside of it.
2. Forget CSS use Inline Styling: Some email clients will respect CSS others won't, easiest way to cover them all is to set any styling directly inline. also, if your primary recipients email client is Outlook, there are a few more quirks, the biggest being that any table header should have "mso-table-lspace:0pt; mso-table-rspace:0pt;" in the inline style tag to make the table render correctly.
3. Treat Email Like Its a Marketing Email: All of the same tips, tricks, and solutions that marketing types use when sending emails will generally solve any issue your having with an html email sent through a workflow. Check Google, you will find a lot of tips and tricks, like this one Coding an Email Template: Tips, Tactics & Trip-ups
I hope this information is helpful, I just built a workflow to send a bi-weekly report that is built entirely in HTML and it looks pretty good, and I used the info above.
I have also had the issue with font, particularly in tables. Our preference is Arial, which isn't even an option in the font drop-down (we have Nintex 2010).
What I've done to get around this is type everything in MS Word, select all of the text and set it to the font I want (Arial, 10). When I copy the text from MS Word and paste it in the Nintex email notification it keeps the font settings.
I then run in to issues when I need to add a single line or change a table, especially when the change is to add a lookup. To get around this I copy and paste a word already in the email notification and type my additional text after the first letter of the word I copied and pasted. When I've finished typing everything I then delete the text from the copied word. You just have to be careful if you are inserting a lookup in the word to ensure you don't accidentally delete too far, which can then make the lookup text change to the default - which isn't what I went to so much trouble to use.