This guide explains how to configure ServiceDesk Plus to automatically open the Zia Bot for requesters upon login using the Page Script feature.
Zia BOT - Default OpenUnder Actions, select Execute Script.
Add the following JavaScript code in the script editor:
setTimeout(function() {
if (window.location.href.includes("HomePage.do")) {
jQuery('#ziabot_icon').trigger('click');
}
}, 2000);
Click Save to apply the changes.
setTimeout if the page takes longer to load.F12 → Console tab).Would you like me to format it differently or add more details? 🚀