For templates to work correctly (if they contain a link), you need to disable the built-in link shortening in Kommo.Go to the "Settings" -> "Chat settings" -> Turn off the "Track link clicks" toggle.