.performCustomAction()

This API lets you initiate a trigger upon an action, like clicking a button in your mobile app.

Parameters:

  • actionName - Name of the action performed by the visitor.
  • shouldOpenChatWindow (optional) -
    • True - When the shouldOpenChatWindow parameter is set to true, the Zoho SalesIQ chat window in the user's app will open directly when the API is triggered.
    • False (Default) - When the shouldOpenChatWindow parameter is set to false, an in-app notification will be sent to the user's mobile device when the trigger is activated.

Note: the shouldOpenChatWindow parameter is supported from version 5.3.0 and above.

Syntax

CopiedZohoSalesIQ.performCustomAction(actionName: string, shouldOpenChatWindow: boolean)

Example

CopiedZohoSalesIQ.performCustomAction("Navigated to Zylker", true/false);