April 27, 2024

MoDCore

Welcome to the core

Email to Call block

This handy bit of code will let you email someone defined or selected and have them come into a call block directly from the link
^GetRespondentUrl(“CALLBLOCKNAME“,true)^
 
^GetRespondentUrl(“SecondUser”,true)^
This works well for approval type of back and forth.
If you wanted to take this a step further, without having the large URL in the email you can use a function to build it.
Script node –
function urlBuilder()
{
var buildURL = “<a href=”;
buildURL += GetRespondentUrl(“callblockname“,true);
buildURL += “>Click here</a>”;
return buildURL;
}
 
Then in the email you can have this – 
 
^urlBuilder()^
 
 
This would then show a simple “Click here” for a call block link. 
Copyright © All rights reserved. | Newsphere by AF themes.