I need to send an email notification through SharePoint designer workflow and the body of the template will be dynamic it is coming from list.
3 Answers
You can simply add the list data from ADD or Change Lookup button after the below email template body.Pleas see below image.
This is the example where i added few list column names with their values coming from list.
UPDATED
You can see below image to get better idea.
- Thanks for the solution.but I have list with specific column with html format.how can we achive itjyoshika– jyoshika2016-06-15 19:10:42 +00:00Commented Jun 15, 2016 at 19:10
- Is this fine for you? Or do you need something else?Hardik– Hardik2016-06-15 19:11:40 +00:00Commented Jun 15, 2016 at 19:11
- In <html><td>...phone number </td></html> some thing like thisjyoshika– jyoshika2016-06-15 19:13:28 +00:00Commented Jun 15, 2016 at 19:13
- Yes you can put HTML content to the body. It will accept it.Hardik– Hardik2016-06-15 19:14:05 +00:00Commented Jun 15, 2016 at 19:14
- Did you get the idea how to use dynamic data from list?Hardik– Hardik2016-06-15 19:21:09 +00:00Commented Jun 15, 2016 at 19:21
If you would like to customize the email body with html using SPD, I would suggest selecting Advanced Properties on the email action and add your HTML template into the body section.
Putting the html directly into your email like this WON'T WORK:
Instead, you need to create a string variable to hold your html, including any fields you want to include (with no spaces anywhere in the html) and use that variable in the email:





