- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi Community,
I’m working on a Flow Designer flow in ServiceNow where I need to send an email with a clickable link that directs the recipient to a Case record.
Here’s what I’ve done so far:
- Created a Flow Variable named linkvariable using Set Flow Variables action.
- The value of the variable is:
In the Send Email action, switched the body to HTML mode and added:
<p>Please review the case: @{linkvariable}</p>
Issue:
When the email is sent, instead of rendering the link, the email shows: Please review the case: @{linkvariable}.The variable is not being replaced at runtime.
But when I manually tested the flow I can see the corrct runtime value which is redirecting to case, but not binding in the email.
Questions:
- Is there a correct way to use Flow Variables with HTML in Send Email action?
- Do I need to escape HTML or use a different approach (like a script)?
- Any best practices for sending dynamic record links in Flow Designer emails?
Thanks in advance for your help!
Regards,
swetha.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
see my blog on how to do this
ServiceNow Flow Designer: Adding Record Link in "Send Email" flow action
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
see my blog on how to do this
ServiceNow Flow Designer: Adding Record Link in "Send Email" flow action
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Thanks for your response. I followed the same steps that you've mentioned in your blog, but don't know why link is not binding in email.
fyi,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
you need to select the flow variable using the data pill
how are you adding it?
Don't do this step which you shared in question. use the data pill
In the Send Email action, switched the body to HTML mode and added:
<p>Please review the case: @{linkvariable}</p>
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
