Highlights of what Cliq launched in 2025’s first half - Register now

Skip to product menu
close
  • Recent Launches
    Press Space or Enter to display list of options
EXPLORE ALL PRODUCTS

Recent Launches

New

Easy domain registration, transfer, and secured DNS management.

Try now
New

Payroll software with automated tax payments and filing.

Try now
New

Low-code IoT platform and solutions for connected businesses.

Try now
New

Business formation service to launch and grow your businesses.

Try now
New

Unified payment solution built for all businesses.

Try now
New

Comprehensive email security and archiving for every business.

Try now
Suites

Cloud-based qualitative data analysis tool.

Try now
New

Online community platform for individuals and businesses to grow their network and brand.

Try now
New

Modern retail POS to sell better, manage your entire business, and join the digital revolution.

Try now
SuitesNew

Unified project management platform for intelligent, data-driven work.

Try now
Suites

Unified platform for customer service and support teams.

Try now

Sales

CRM

Comprehensive CRM platform for customer-facing teams.

CRM
Voice

Cloud Contact Center Software for businesses.

Voice
Sign

Digital signature app for businesses.

Sign
Forms

Build online forms for every business need.

Forms
Bigin

Simple CRM for small businesses moving from spreadsheets.

Bigin
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
Bookings

Appointment scheduling app for consultations with customers.

Bookings
RouteIQ

Comprehensive sales map visualization and optimal route planning solution.

RouteIQ
Thrive

Complete loyalty and affiliate management platform.

Thrive
Suites
CRM Plus

Unified platform to deliver top-notch customer experience.

CRM Plus

Marketing

Campaigns

Create, send, and track targeted email campaigns that drive sales.

Campaigns
Voice

Cloud Contact Center Software for businesses.

Voice
Sign

Digital signature app for businesses.

Sign
Forms

Build online forms for every business need.

Forms
Social

All-in-one social media management software.

Social
Survey

Design surveys to reach and interact with your audience.

Survey
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
Sites

Online website builder with extensive customisation options.

Sites
Backstage

End-to-end event management software.

Backstage
PageSense

Website conversion optimization and personalisation platform.

PageSense
Marketing Automation

All-in-one marketing automation software.

Marketing Automation
LandingPage

Smart landing page builder to increase conversion rates

LandingPage
Webinar

Webinar platform for webcasting online webinars.

Webinar
NEW
LeadChain

Sync, manage, and convert leads across channels seamlessly.

LeadChain
NEW
Domains

Easy domain registration, transfer, and secured DNS management.

Domains
NEW
CommunitySpaces

Online community platform for individuals and businesses to grow their network and brand.

CommunitySpaces
Thrive

Complete loyalty and affiliate management platform.

Thrive
Publish

Manage all your local business listings on a single platform.

Publish
Suites
Marketing Plus

Unified marketing platform for marketing teams.

Marketing Plus

Commerce and POS

Commerce

eCommerce platform to manage and market your online store.

Commerce

Service

Desk

Helpdesk software to deliver great customer support.

Desk
Assist

Remote support and unattended remote access software.

Assist
Voice

Cloud Contact Center Software for businesses.

Voice
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
Bookings

Appointment scheduling app for consultations with customers.

Bookings
FSM

End-to-end field service management platform for service businesses.

FSM
Lens

Interactive remote assistance software with augmented reality.

Lens
Solo

The all-in-one toolkit for solopreneurs.

Solo
Suites
Service Plus

Unified platform for customer service and support teams.

Service Plus

Finance

Books

Powerful accounting platform for growing businesses.

Books
Expense

Effortless expense reporting platform.

Expense
Sign

Digital signature app for businesses.

Sign
Inventory

Powerful stock management and inventory control software.

Inventory
FREE
Invoice

100% Free invoicing solution.

Invoice
Billing

End-to-end billing solution for your business.

Billing
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
Commerce

eCommerce platform to manage and market your online store.

Commerce
Checkout

Collect payments online with custom branded pages.

Checkout
Practice

Practice management software for accounting firms.

Practice
Solo

The all-in-one toolkit for solopreneurs.

Solo
NEW
Payments

Unified payment solution built for all businesses.

Payments
Suites
Finance Plus

All-in-one suite to manage your operations and finances.

Finance Plus

Email, Storage, and Collaboration

Mail

Secure email service for teams of all sizes.

Mail
Voice

Cloud Contact Center Software for businesses.

Voice
Sign

Digital signature app for businesses.

Sign
WorkDrive

Online file management for teams.

WorkDrive
Bookings

Appointment scheduling app for consultations with customers.

Bookings
Cliq

Stay in touch with teams no matter where you are.

Cliq
Notebook

Beautiful home for all your notes.

Notebook
Meeting

Online meeting software for all your video conferencing & webinar needs.

Meeting
Connect

Employee experience platform to communicate, engage, and build positive employee relations.

Connect
Learn

Knowledge and learning management platform.

Learn
Office Integrator

Built in document editors for web apps.

Office Integrator
Writer

Word processor for focused writing and discussions.

Writer
TeamInbox

Shared inboxes for teams.

TeamInbox
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
Show

Create, edit, and share slides with a sleek presentation app.

Show
Tables

Work management tool to connect people, processes, and information.

Tables
Sheet

Spreadsheet software for collaborative teams.

Sheet
Office Suite

Powerful collaborative work platform for teams.

Office Suite
Calendar

Online business calendar to manage events and schedule appointments.

Calendar
ToDo

Collaborative task management for individuals and teams.

ToDo
FREE
PDF Editor

Collaborative online PDF editing tool.

PDF Editor
Suites
Workplace

Application suite built to improve team productivity and collaboration.

Workplace

Human Resources

Expense

Effortless expense reporting platform.

Expense
Recruit

Intuitive recruiting platform built to provide hiring solutions.

Recruit
People

Organize, automate, and simplify your HR processes.

People
Sign

Digital signature app for businesses.

Sign
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
Shifts

Employee scheduling and time tracking app.

Shifts
Workerly

Manage temporary staffing with an employee scheduling solution.

Workerly
Suites
People Plus

Comprehensive HR platform for seamless employee experiences.

People Plus

Security and IT Management

Creator

Build custom apps to simplify business processes.

Creator
Assist

Remote support and unattended remote access software.

Assist
Vault

Online password manager for teams.

Vault
Directory

Workforce identity and access management solution for cloud businesses.

Directory
Lens

Interactive remote assistance software with augmented reality.

Lens
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA
NEW
eProtect

Comprehensive email security and archiving for every business.

eProtect
FREE
OneAuth

Secure multi-factor authenticator (MFA) for all your online accounts.

OneAuth
Toolkit

Complete resource for any admin-related lookup queries.

Toolkit

BI and Analytics

Analytics

Modern self-service BI and analytics platform.

Analytics
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep
NEW
IoT

Harnessing IoT analytics for real-time operational intelligence.

IoT
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI

Project Management

Projects

Manage, track, and collaborate on projects with teams.

Projects
Sprints

Planning and tracking tool for scrum teams.

Sprints
BugTracker

Automatic bug tracking software for managing bugs.

BugTracker
Solo

The all-in-one toolkit for solopreneurs.

Solo
Suites
Projects Plus

Unified project management platform for intelligent, data-driven work.

Projects Plus

Developer Platforms

Creator

Build custom apps to simplify business processes.

Creator
Flow

Automate business workflows by creating smart integrations.

Flow
Office Integrator

Built in document editors for web apps.

Office Integrator
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
Tables

Work management tool to connect people, processes, and information.

Tables
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA
NEW
IoT

Build, deploy, and scale IoT solutions for connected businesses.

IoT
Apptics

Application analytics for all apps.

Apptics
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI

IoT

NEW
IoT

Low-code IoT platform and solutions for connected businesses.

IoT

Search Result

CRM Plus

Unified platform to deliver top-notch customer experience.

Try now
CRM Plus
Service Plus

Unified platform for customer service and support teams.

Try now
Service Plus
Finance Plus

All-in-one suite to manage your operations and finances.

Try now
Finance Plus
People Plus

Comprehensive HR platform for seamless employee experiences.

Try now
People Plus
Workplace

Application suite built to improve team productivity and collaboration.

Try now
Workplace
Marketing Plus

Unified marketing platform for marketing teams.

Try now
Marketing Plus
Projects Plus

Unified project management platform for intelligent, data-driven work.

Try now
Projects Plus
All-in-one suite

Zoho One

The Operating System for Business

Run your entire business on Zoho with our unified cloud software, designed to help you break down silos between departments and increase organizational efficiency.

TRY ZOHO ONE
Zoho Marketplace

With over 2000 ready-to-use extensions across 40+ categories, connect your favorite business tools with the Zoho products you already use.

EXPLORE MARKETPLACE
Skip to main content

Bot Call Handler

Timely communication makes a huge difference during a crisis. Whether notifying the IT team about a server crash or alerting a doctor about a patient's emergency, immediate assistance is necessary in critical scenarios! Cliq's Bot Calls guarantees top priority attention in crucial cases. Get ready to learn how to set up bot calls.

Bot Calls in Zoho Cliq

Enabling Bot Calls

You can enable bot calls while creating or modifying an existing bot.

Enabling Bot calls during new bot creation
  1. Click on your profile picture, then select Bots and Tools.

  2. Check the box to enable bot calls, then click Save Bot.

Enabling bot calls during creation of bot 
 

Enabling / Disabling Bot calls to an existing bot
  • For Developers (the bot's creator)

    • Click on your profile picture, select Bots and Tools, and navigate to the bot to which bot calls need to be enabled.

    • Navigate to your bot's configuration page, then toggle the checkbox to turn bot calls on or off and save the changes.

      Enabling or Disabling bot calls to an existing bot by the developer

  • For Users (bot subscribers)

    • Click on your profile picture, select "Bots and Tools", and navigate to the bot to which bot calls need to be enabled/disabled.

    • Switch the toggle for bot calls to turn on/off based on the requirements.

       

      Enabling or disabling bot calls for bot users i.e subscribers

     

  • For Admins

    Admins can enable/disable bot calls for the whole organization via the Resource Management in the Cliq Admin Panel.

    • Click on your profile picture and navigate to the Admin Panel under the My Organization section.

    • Hover to the Resource Management option and choose Internal Tools.

    • Under the internal tools section, navigate to the bot to which bot calls must be enabled or disabled.

    • Under Permissions for the selected bot, you can enable, disable, or lock the permissions for users to enable or disable the bot calls for the whole organization.

       

      Bot calls management in Admin Panel


Note :

Admins can disable the call setting (i.e. calls will be restricted) and mandate the call (i.e. even if a user turned off their call notification, they'll still receive it).All calls will override users Do Not Disturb settings and ensure they receive notifications. 
 

Call Handler

The Call Handler lets you control how your bot responds to different call states and events. By editing the Call Handler, you can customize the bot's behavior based on specific call events, defining the bot's responses accordingly. The Call Handler triggers specific call events such as ringing, declining, or answering.

Call Handler navigation in Edit Handlers 
 

Call handler attributes  

The list of attributes that are passed when the call handler is triggered is given below:

Attribute

Value 

Description

operation

String

Expected Values : 
ringing | answered | ended | declined | missed | offline | busy

The operation attribute defines the specific event or action that occurs during a bot call.

dataMap

Details of the call event. which contains the call ID ( unique ID of the triggered call in Java UUID format ), time of execution (in Unix timestamp format) and retry count.

userMapDetails of the user for whom the call was triggered
environmentMapDetails of the data center to which the user belongs.
accessMap

Details of the user's web client.

Example response of data attribute in call handler : 

{"call_id":"5c1cbd04-1396-42ba-aed1-4056a0350148","time":1728036292030,"retry":1}
 
The operation attribute  

The operation attribute defines the specific event or action that occurs during a bot call. It allows you to control the bot's response to each event, helping you customize its behavior based on the call's state. The bot's call handler is triggered by the following operations:

Operation type

Description

ringing

When the call starts ringing.

answered

When the call is answered by the user.

ended

When the call is ended by either party.

declined

When the user declines the call.

missed

When the user misses the call without answering.

offline

When the user is offline and cannot receive the call.

busy

When the user is engaged in another call

How to trigger a bot call? 

To trigger a bot call, you need to use Cliq REST API to send a voice alert to specific users via bot.

POST
https://cliq.zoho.com/api/v2/bots/{BOT_UNIQUE_NAME}/calls


Quota Limit :  The quota limit for this API is 10 calls for 5 minutes.The lock period is 30 minutes.

Authentication : This API can be accessed with the OAuth scope : ZohoCliq.Webhooks.CREATE or zapikey.

Parameters: 
The following parameters are passed when a voice alert is triggered:

Request Body :

Attribute

Value

Description

text*

String 

Max Length : 500

The message to be dictated during the call.

user_ids

Json Array 
Max Size : 1 - 10

List of user ZUIDs or emails.

retry

Integer 
Max Tries : 3

Number of retries if the user misses the call (we call again in 2 mins) 

loop

Integer 
Max Tries : 3

Number of times the message will be dictated during the call.

actions

Json Array 
Max Limit : 5

List of actions to be displayed as buttons during the call. Each action includes a label and a specific action.

* Mandatory inputs

 Action Button Attributes 

Attribute Name

Value

Description

label

String

Maximum number of characters allowed : 20

Display text of the button. 

hint

String 
Maximum number of characters allowed : 100

A tool tip indicating the button's function while hovering over. 

icon

 

Icon to indicate the action button

type*

Allowed values: invoke.function | system.api | open.url

Specify the type of action the button should perform. 

 Trigger Bot Call - Deluge Task

The zoho.cliq.triggerBotCall task can be used to trigger bot calls. This task requires you to provide the bot's unique name, message to be dictated as voice, and connection name.

Syntax: zoho.cliq.triggerBotCall(<bot_unique_name>, <bot_call_payload_map>, <connection_name>);


Example :

alertInfo = Map();
alertInfo.put("retry",1);
alertInfo.put("loop",2);
alertInfo.put("text","Alert! Immediate attention required to restore critical services.");
zoho.cliq.triggerBotCall("serveroutagealert",alertInfo,"oauthforbotcalls")


Usecase

Here’s a practical example of bot calls and call handlers in real life. 

Bot calls can be used to trigger an emergency alert if maintenance engineers are unavailable in the event of server outages or network disruptions. This process ensures that the responsible engineer is notified quickly, acknowledges the critical issue, and immediately resolves it, preventing further damage.

Server Outage Alert bot

  • A developer or user can execute the /notifyseveroutage slash command during downtime.  This command triggers a bot call to notify a randomly selected engineer from a database named Engineer details, which contains details such as the engineer's name and ID.

    Slash command to notify server outage with platform database

 

/notifyseveroutage  - Slash Command

Pre-requisite

Before beginning to script the code below, we must create a connection in Cliq. You can use created connection in Deluge integration tasks and invoke URL scripts to access data from the required service. Create a Zoho Oauth default connection with a unique name - oauthforbotcalls , with the scope - ZohoCliq.Webhooks.CREATE.

response = Map();
chatId = chat.get("id");
alertInfo = Map();
alertInfo.put("retry",1);
alertInfo.put("loop",2);
alertInfo.put("text","Alert! Server outage detected. Immediate attention required to restore critical services.");
actionButtons = List();
acknowLedgetButton = {"label":"Acknowledge","hint":"Confirming your availability for assistance.","icon":"tick","action":{"type":"invoke.function","data":{"name":"serveralertbuttonfunction"}},"key":chatId};
delegateButton = {"label":"Delegate","hint":"Redirect to another available server support engineer immediately.","icon":"headset","action":{"type":"invoke.function","data":{"name":"serveralertbuttonfunction"}}};
escalateButton = {"label":"Escalate","hint":"Escalate the alert to senior engineers or the next-level team","icon":"team","action":{"type":"invoke.function","data":{"name":"serveralertbuttonfunction"}}};
viewReportButton = {"label":"View Incident Report","hint":"View detailed report to understand the nature of the outage.","icon":"preview","action":{"type":"invoke.function","data":{"name":"serveralertbuttonfunction"}},"key":chatId};
triggerBackupButton = {"label":"Trigger Backup","hint":"Trigger backup systems to minimize downtime until the issue is resolved","icon":"add","action":{"type":"invoke.function","data":{"name":"serveralertbuttonfunction"}}};
actionButtons.add(acknowLedgetButton);
actionButtons.add(delegateButton);
actionButtons.add(escalateButton);
actionButtons.add(viewReportButton);
actionButtons.add(triggerBackupButton);
alertInfo.put("actions",actionButtons);
triggerBotCallAPI = invokeurl
[
 url :" https://cliq.zoho.com/api/v2/bots/serveroutagealert/calls"
 type :POST
 parameters:"" + alertInfo
 connection:"oauthforbotcalls"
];
info triggerBotCallAPI;
return response;

Bot calls across all devices

  • When the engineer answers the call, they'll receive an automated explanation of the server outage. Throughout the call, the engineer can use action buttons to:

    • Acknowledge : The maintenance engineer can click this button to confirm that they’ve received the alert and are working on the issue.

    • Delegate : If the engineer is unavailable,they can use this button to assign the task to another engineer.

    • Escalate : If the issue is critical and requires higher-level support,clicking this button can escalate the alert to senior engineers or the next level team.

    • View Incident Report : This button posts a detailed incident report,helping the team understand the nature of the outage.

    • Trigger Backup Systems : If configured,the maintenance team can click this button to automatically trigger backup systems to minimize downtime while resolving the issue.

Action buttons in Bot calls for tailored operations during and after a bot call

  • Use action buttons with clear,intuitive icons tailored to specific use cases and user interfaces. Copy and paste the icon ID into your code to render them. For further information,please refer to the Icons in Cliq.

Icons in Cliq for Developer tools

Actions initiated by clicking a button can be specified within a Cliq button function. Example: `serveralertbuttonfunction` in this case.

serveralertbuttonfunction - Button Function

key = arguments.get("key");
if(target.get("name").equalsIgnoreCase("Acknowledge"))
{
 response = {"text":"The IT team is working on resolving the server outage and restoring service as soon as possible.","card":{"title":"Alert acknowledged","thumbnail":"https://cdn.dribbble.com/users/662779/screenshots/5122311/server.gif","theme":"prompt"}};
 zoho.cliq.postToChat(key,response);
}
else if(target.get("name").equalsIgnoreCase("Escalate"))
{
 response = {"text":"The maintenance engineer is currently unavailable. The server outage case has been reassigned to another available engineer for assistance","card":{"thumbnail":"https://i.imgur.com/Y2Nf4zS.png","theme":"prompt"}};
 zoho.cliq.postToChat(key,response);
}
else if(target.get("name").equalsIgnoreCase("Delegate"))
{
 response = {"text":"The issue has been escalated to senior engineers for immediate attention. A response team is now assigned to handle the critical case.","card":{"thumbnail":"https://i.imgur.com/Y2Nf4zS.png","theme":"prompt"}};
 zoho.cliq.postToChat(key,response);
}
else if(target.get("name").equalsIgnoreCase("View Incident Report"))
{
 response = {"text":"A critical outage was detected on Server 12. This affected core services, including user authentication and data storage access. The system experienced a sudden CPU overload leading to service failure.","card":{"title":"🌐 Incident Report - Server Outage","theme":"modern-inline"},"slides":{{"type":"table","title":"","data":{"headers":{"Incident Report","Details"},"rows":{{"Incident Report":"Incident ID","Details":"#1023"},{"Incident Report":"Date/Time","Details":"October 4 , 2024"}}}},{"type":"text","title":"⚙️ Root Cause","data":"Preliminary investigation indicates a spike in CPU usage due to a misconfigured scheduled task. The task led to an unhandled process overload, consuming excessive resources and resulting in server crash."}}};
 zoho.cliq.postToChat(key,response);
}
else if(target.get("name").equalsIgnoreCase("Trigger Backup Systems"))
{
 // Insert code to trigger backup systems
}
return Map();
  • The call handler manages responses based on the user's actions during a bot call, such as declining or answering. Suppose the engineer is offline or declines the call. In that case, a message will be posted to notify you that the case has been reassigned to another available engineer. You can also configure it to trigger another bot call in case the engineer is unavailable.

     

Call Handler - Server Outage Alert Bot

if(operation.equalsIgnoreCase("answered"))
{
}
else if(operation.equalsIgnoreCase("declined") || operation.equalsIgnoreCase("missed") || operation.equalsIgnoreCase("offline"))
{
 response = {"text":"The maintenance engineer is currently unavailable. The server outage case has been reassigned to another available engineer for assistance","card":{"thumbnail":"https://i.imgur.com/Y2Nf4zS.png","theme":"prompt"}};
 zoho.cliq.postToBot("serveroutagealert",response);
}

 

The above workflow ensures a timely response, helping to avert downtime crises by efficiently utilizing Cliq platform components.

Call Management

To manage your bot calls:

 

  1. Navigate to History > Direct Calls to view your call logs.

  2. Here, you can track, review, and manage all bot calls. You can also access detailed transcripts and call recordings for further analysis.

  3. Use the available action buttons to perform specific tasks related to each call.

  4. After a bot call concludes, you can access the call transcript and use the action buttons to respond accordingly.