Welcome to Portal

?Unknown\pull-down

Welcome to Zoho Cares

Bienvenido a Soporte de Zoho

Search our knowledge base, ask the community or submit a request.

Button Click functions


The custom buttons can be created by defining the "button" card in the Execution function. Button Click functions are used to configure the business logic for those custom buttons when they are clicked.

Invocation Point

Once the custom button configured in the Execution Handler response is clicked, the corresponding button click function configured for that button would be invoked.

Input Arguments

In addition to the system defined input arguments, the below input argument is also available for the button click function.

Argument
Deluge data type
Description
data
Map
The value set to the "data" key for the "button" card in the Execution function.

Return Value

Button click functions must return a map that should be in the following format.

{
        “message” : “The reply message.”,
        “card” : { },
        "broadcast" : { },
        "followup" : { }      
}
Read this article to know more about the above keys that can be present in the map that would be returned from the Button Click functions.

Note: A maximum of three "Button Click Functions" can be configured for an action.



Helpful?10
Updated: 1 year ago
Share :