getSmartLink get the Smart Link URL from the Templates / Smart Link menu.


Minimum number of  arguments for this method is two. The first argument is the URL of the smart link. The second is a condition to shorten the smart link or not. Default is false

Structure of the method:

getSmartLink('Smart Link Alias', Shorten Link Condition)


Smart Link Alias— The alias of the smart link like shown below.

Shorten Link Condition — Defaults to false; If set to true will shorten the smart link.


In the example below, we generate a short link and then we are sending it by email to a lead.

We can create workflows to listen to the click of this smart link and choose actions like redirect to another link.

To stay updated with the latest features, news and how-to articles and videos, please join our group on Facebook, Flexie CRM Academy.