How to add dynamic record link (“click here”) in Flow Designer email body?

Sirri
Tera Guru

Hi Team,

I am currently working on a Flow Designer notification (Send Email action) triggered from an Incident flow.

I have a requirement to include a clickable link in the email body, where the text should appear as “click here”, and it should dynamically open the respective Incident record.

Requirement:

  • Text should display as: click here
  • On clicking it, the current Incident record should open
  • The link must be dynamic (based on sys_id)
    Please can anyone can explain with what i need to do exactly in my case.
2 REPLIES 2

yashkamde
Mega Sage

Hello @Sirri ,

 

You can use this approach :

1. Create a Flow Variable

  • Type: String
  • Name: Link
  • Value:

    <a href="/nav_to.do?uri=incident.do?sys_id=<dataPILL sys_id>">click here</a>

  • Replace your_table and yourRecord.sys_id with the appropriate table name and dynamic data pill

 

2. Set the Variable
Use the "Set Flow Variables" action to populate this variable dynamically using the record's sys_id.

 

Screenshot 2026-05-24 124943.png

 

3. Insert into Email
In the Send Email action:

  • Switch the body to HTML mode.
  • Insert the variable like this:Please review the record: @{LinkVariable}

Screenshot 2026-05-24 125042.png

 

Refer this for detailed understanding :
ServiceNow Flow Designer: Adding Record Link in "Send Email" flow action 

 

If my response helped mark as helpful and accept the solution.

Rakesh_M
Kilo Sage

HI @Sirri ,

 

I would recommend using the Send Notification action instead of the Send Email action. Notifications provide more flexibility to customize the email content as per the requirement, and built-in variables like ${URI} or ${URI_REF} can be used more effectively for dynamic record links.

Additionally, you can also use Email Scripts for further customization and dynamic content handling.