Building a Friendly URL Link in an Email Notification in Flow Designer

jmiskey
Kilo Sage

I have built a Flow that lookups multiple records from a custom table we have created.  I am then using a For each to loop through each of those records.  I would like to send an email out for each record, so I am using the "Send Email" Flow action.  In the body, I would like to include a "friendly" link to the current custom table record.  So my link would display the Number field for this record, and link back to the record.  How can I do this in the Body of this "Send Email Action"?

 

I am able build the URL for the link that I need, but I am not sure how to have this link display the Number field of the record instead of showing the whole, long URL.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@jmiskey 

check this blog where I shared approach, enhance it

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! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Thank you!  That was it!

 

I had already created the URL correctly.  The issue I was having is I was trying to add the "<a href..." part right in the email body, and it won't work that way.  However, if I add that part right into the Flow Variable, then it works!