Outline of Functions

A function is a structured piece of code, that can execute a task when a button is clicked or when a form is submitted. The idea behind a function is to simplify workflows by providing accessibility to applications within the chat interface.   

How to create a function?

1. Click the Integrations icon in your Cliq dashboard.

2. Select Functions and click Create Function. The necessary field and their description is listed below:

  • Name: Name of your choice for the function.
  • Description: Brief explanation about the functionality.  
  • Function Type: Select the function type based on your implementation. If you're function is associated with a form then select the form function and if you're function is associated with a button, then select the button function.

Functions View

List of functions

Form Function Preview

Form function preview


Button Function Preview

Button function preview


Edit a function:

Click the function name and select the Edit Configuration option in the function preview. Edit Configuration allows you to edit all the fields filled while creating the function. The function preview also displays the function code.

Edit a function by hovering over the function name and clicking Edit Code to edit the function code in a deluge editor. Click Edit Configuration to edit the function name and description.

Editing a function 

Delete a function:

Delete a function by clicking on the function icon present next to the function name. But keep in mind that once a function is deleted, it cannot be retrieved back. 

Deleting a function

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: