In this workflow, you'll learn to include images in business rule notifications by modifying the Email body with an HTML tag.
The workflow includes the steps below.
Step 1: Select the image
Find the image to include in the email body and get the direct URL for that image.
For example, the image below has this direct URL: https://dam.zendesk.com/m/4a25a18730907a7/webimage-Logo_Types_Primary-espresso
Step 2: Edit the trigger action
In the email body of the trigger's action, include <img src="image_url">
and replace the image's direct URL where it says image_url
.
Step 3: Test the trigger
Test your trigger to make sure everything looks correct. Add a trigger condition so the trigger only fires on your test ticket. For example, add the condition Ticket > Tags | Contains at least one of the following | testforhtml
and then check the email notification you receive.
You can also use HTML to resize the image so that it matches the rest of the email. Learn more with w3schools.