Once you know how to add a script and apply the script to a campaign there are some additional options you might want to build as scripts.
Create Script button for Transfer presets
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
</head>
<body style="color: rgb(53, 72, 242); background-color: rgb(255, 255, 255);">
<p style="font-family:'lato'"><span style="font-size: 30px;">This is an<strong> <u>EXAMPLE</u> </strong>for you. </span></p>
</body>
</html>
<!--This is your button for transfers you will need to add your company name,
Source ID - This can be any ID and shows up in the database,
You can also use SOURCE_ID,
username - API User created for the system
password - API User created for the system
INGROUPID -
consultative - OPTIONAL, when you want to do a consultative transfer with your customer and another ytel agent, 'YES' and 'NO' are valid options, you can only use this with DIAL_WITH_CUSTOMER or PARK_CUSTOMER_DIAL
NAME OF BUTTON
-->
<button style="font-size:20px;font-family:lato;color:#FFFFFF;background-color:#60ac1a;height:45px;width:200px;border-radius: 6px;border-color: #60ac1a;" href="#" onclick="var ajax;if(window.XMLHttpRequest){ajax=new XMLHttpRequest();}else{ajax=new ActiveXObject('Microsoft.XMLHTTP');}if(ajax){this.disabled=true;this.style.opacity='0.5';var
urls=['https://YOURCOMPANYNAME.ytel.com/agc/api.php?source=XXXXbutton&user=XXXXXXXX&pass=XXXXXXXX&agent_user=--A--user--B--&function=transfer_conference&value=DIAL_WITH_CUSTOMER&ingroup_choices=INGROUPID&consultative=YES'],i=2;while(i--){setTimeout(function(ajax,url){ajax.open('GET',url,true);ajax.send();},(i*2000),ajax,urls[i]);}setTimeout(function(node){node.style.opacity='1';node.disabled=false;},10000,this);}">NAME OF BUTTON</button>
<!--These example buttons will work with the above Transfer button or buttons. This first button is an example of a Transfer and then hang up button-->
<button id="bnt_ExampleHangupXfer" style="color:#FFFFFF;background-color:#598ac8;height:35px;width:200px;border-radius: 6px;border-color: #598ac8;" onclick="xfercall_send_hangup();return false;"><b>NAME OF BUTTON</b></button>
<!--This is an example of a Transfer and then hang up button-->
<button id="bnt_ExampleHangupBoth" style="color:#FFFFFF;background-color:#C24136;height:35px;width:200px;border-radius: 6px;border-color: #C24136;" onclick="bothcall_send_hangup();return false;"><b>NAME OF BUTTON</b></button>
<!--This is an example of 3-way call and then hang up button-->
<button id="bnt_ExampleLeave3Way" style="color:#FFFFFF;background-color:#0d66cd;height:35px;width:200px;border-radius: 6px;border-color: #0d66cd;" onclick="leave_3way_call('FIRST'); return false;"><b>NAME OF BUTTON</b></button>