Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

external link as dynamic link

Apaul
Tera Contributor

How to add an external link as dynamic link in servicenow email template in flow designer? I am sending  an email and the link in the email body which is attached should be dynamic which is not a servicenow link

2 ACCEPTED SOLUTIONS

Mohammed8
Mega Sage

Hi @Apaul 

You can refer to this solution and tweak as per your requirement:

https://www.servicenow.com/community/developer-forum/add-ritm-hyperlink-in-send-email-action/m-p/321...

 

Regards,

Mohammed Zakir

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@Apaul 

check my blog and enhance for your requirement.

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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

RaghavSh
Mega Patron

Try blow in flow designer email body script (select script instead of plain text).

 

var emailBody == "your email body";

var url = "dynamic url"; // build the dynamic URL based on your requirements.

 

return emailBody + "<a href =" +url+"> click here </a>";


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

@Apaul Did this answer your query?


Raghav
MVP 2023
LinkedIn

Apaul
Tera Contributor

the react portal is down, once it starts working, i will test it. Just waiting for the confirmation. From Snow end it seems fine, but lets see how it is gonna behave there. Also I used flow variable, if in end portal that doesn't work, I will use this script.

Mohammed8
Mega Sage

Hi @Apaul 

You can refer to this solution and tweak as per your requirement:

https://www.servicenow.com/community/developer-forum/add-ritm-hyperlink-in-send-email-action/m-p/321...

 

Regards,

Mohammed Zakir