Wednesday, May 28, 2014

Add Image into a SharePoint Designer Workflow Email

Here I am just sharing a quick tip to embed an image inside an email body.

Below are the steps 
  •  Upload the image to SharePoint site. Here I  have uploaded the image to site assets library
  •  Open SharePoint Designer and create a workflow variable using "Local variable" option.
      Here the name is _VarImage, 
  •  Add an action "Set Workflow Variable" 
  • Select the variable from "Add or Change Look up". Then copy the url of the image from SharePoint library and paste in the string builder as below
    • Next, add a "Send an Email" action.  Open the "Define E-mail Message" window and select to "Add or Change Look up".  Select the workflow variable for which you just assigned a value.
    When you are done, your workflow email should look something like this .

    •  Save and publish the workflow.

    After that ensure your email client is downloading images from Outlook. Add SharePoint email to the safe senders list. Then you will get a pretty image in your Outlook email

No comments: