Formatter
Kissflow Low-code JavaScript SDK
Kissflow lets you extend your integrations and run server side functions using the Run Script connector. You can use the Kissflow SDK inside the connector to get application and account details and make API calls.
1. Get context
This function retrieves your account and application’s context information, such as the account ID and application ID.
2. Get API via Kissflow Low-code SDK
This function lets you retrieve any external or Kissflow APIs. To access an internal Kissflow API, use an absolute URL, (i.e., https://{your_sub_domain}.kissflow.com/user/2/{account_id}). The Access key secret must be passed in the header. Refer Access keys to know how to locate your Kissflow API key and secret. Refer the developer guide to know more about our APIs.
Note: The API call timeout for this method is 10 seconds.
3) Formatter functions
Convert to Kissflow date format
This function lets you transform your date into Kissflow’s date format. This conversion is based on the date format specified in your Kissflow account format settings.
Convert to Kissflow DateTime format
This function lets you transform your date and time into Kissflow’s DateTime format. This conversion is based on the time zone and date format specified in your Kissflow account format settings.
Convert to Kissflow number format
This function lets you transform your number into Kissflow’s number format.
Convert to Kissflow currency format
This function lets you transform your current values into Kissflow’s currency format.
Convert to boolean
This function converts your value to a boolean value.