How to embed a link to a specific record in an email from within Flow Designer

carlavanskaik
Giga Contributor

I need to add a link to a specific record within email notifications distributed via Flow Designer.  If this requires inline scripting experience, I unfortunately have no scripting experience. 

Can anyone from the Community provide guidance?

For example, the distributed email should display the following text:

For more information, click the link to view the GRC Request: LINK

(Trigger + Requests Record + Sys ID)

1 ACCEPTED SOLUTION

Kieran, 

We were able to successfully implement use of the Link Generator.  This seems to provide potential for future use as well as for our current use case. 

Thank you so much for the extra guidance and assistance!

View solution in original post

34 REPLIES 34

Good stuff, this worked for me! Only thing I need to figure out is how to edit the font so that the generated link matches the formatting of the rest of the email 🙂

Keiran, I know this is an older post, but I've just moved over your link generator update set to my pdi...but that pdi is in the new Workspace Studio for Washington DC. My agency hasn't moved up to that release yet, but are shortly. The action appears to work as intended in my pdi...will there be an updated release of your link generator action? Or do you think it'll translate over ok to the new Workspace Studio?

Hi @Stephanie Barne , the link generator uses pretty basic functionality, so should be compatible without issue. I've not used the new workspace studio, however I don't believe it changes any older capabilities

Deepen Shah
Kilo Guru

Hi

are you using notification step or send email step? 

If you are using notification step then you need to write Notification Email Script to generate this link.

Now if you are using Send Email step then do something like below in body ,

find_real_file.png

Replace 'myinstance' with your instance name and 'sys_user' with your table name.

And drag 'sys_id' data pill from trigger > Request Record in the body and drop beside 'sys_id=' part.

 

Please mark correct & helpful if that works for you.

Regards
Deepen shah
aavenir.com

Deepen, 

Thank you for responding, and I apologize for my delayed response!

We attempted to use similar functionality.  First in the Flow Designer we generated a link to Table Record.

find_real_file.png

Then, in the body of the send email, we used the 1+link pill.  

find_real_file.png

The actual distributed email displays the following:

For more information, click the link to view the GRC Request:  [code]GRC_REQ0001013[/code]

How do we avoid [code] and [/code] from displaying in the email message?