Remote lookup field overview
The Remote lookup field is a useful way to get data from external systems into your form.
With the ability to specify URLs, request types, headers, and data extraction methods, you can create workflows that interact with external systems and bring in the data you need to drive your business processes.
Field properties
In addition to the standard field properties (Name, Field type, Required?, Field ID, and Help text), you can configure the below additional properties.
URL
This is the field where you input the endpoint to receive or send data.
Request type
Defines whether you are retrieving data (GET) from the entered URL or sending data (POST) to it.
Headers
This property lets you provide additional information about a request or response. They can be used to specify the type of content being sent or received, authenticate the user, authorize access to a resource, or cache the response.
Each header consists of a key-value pair, where the key is the name of the header and the value is the value of the header.
Here are some examples of common HTTP Headers:
Content-Type: Specifies the format of the content being sent or received. For example, application/JSON indicates that the content is in JSON format.
Authorization: Authenticates the user. For example, Bearer YOUR_API_KEY indicates that the user is authenticated using an API key.
Accept: Specifies the types of content that the client is willing to receive. For example, application/JSON indicates that the client is willing to receive JSON responses.
Body
This property lets you define the additional key-value pairs expected by the remote lookup service.
What is the format of the response data you are working with?
This section specifies the format of the response data you are working with, which can be JSON, XML, or plain text.
JSON/XML path of value in result
This is where you can specify the JSON/XML path for extracting specific values from the output received from the endpoint. For example, $.data.Name to retrieve the Name element from the JSON response.
What kind of data are you working with?
This field appears only when you choose JSON or XML as the response format. It allows you to choose the type of data you are working with. For example, if Name is Stephen Strange, choose Text.
How should the result be chosen?
This field also appears only when you choose JSON or XML as the response format. You can specify if you want the values to be auto-populated in the remote lookup field, or in a drop-down format.
Using remote lookup data
Remote lookup field data can be extracted and used in fields and formulas to update other form field values.
Number field - Remotelookup_Fieldname.extractNumber(path, index)
Text field - Remotelookup_Fieldname.extractText(path, index)
Where,
Path refers to the text value in the output received.
Index refers to the position of the selected value.
Example of path and index
Consider a JSON response representing weather information:
{
"weather": [
{"main": "Clear", "temp": 25},
{"main": "Rainy", "temp": 18},
{"main": "Cloudy", "temp": 22}
]
}
Path: `"$.weather[*].main"` |
Explanation: This path points to the "main" attribute within the "weather" array. It selects all occurrences of "main" within the array. |
Resultant output: The output extracted using the path would be a list of weather conditions: `["Clear", "Rainy", "Cloudy"]`. |
Index: `2` |
Explanation: The index refers to the position within an array. For example, if you choose index `2`, you are selecting the third element in the array (arrays usually start counting from 0). |
Resultant output: The output extracted using the index `2` would be the weather information for the third occurrence: `{"main": "Cloudy", "temp": 22} |
FAQs
1. What are the various soft limits in Kissflow forms?
Ans) To improve performance and ensure efficient use of resources, Kissflow has put up the following restrictions on each form:
A maximum of 1000 fields per form.
A default soft limit of 10 child tables in every form.
A default soft limit of 100 columns per child table.
An upper limit of 5000 rows per child table.
An upper limit of 30 events per form (button fields not included).
2. Can I change field data types in a form with more than 5000 items?
Ans) You cannot change field data types in a form when there are more than 5000 records. This restriction is in place to prevent potential versioning issues when modifying data types for large forms. Changing data types for many values can lead to inconsistencies and performance problems.
3. Are there any field types in Kissflow forms that do not have soft limits?
Ans) Yes, certain field types in Kissflow forms are not subject to soft limits:
Rich text fields.
Grid fields.
Button fields (these have a separate soft limit of 100 buttons per form, in addition to the default form limit).
Rich text and Grid fields are exempt from restrictions as they don't contain metadata.
4. What happens if I duplicate a section with increased limits?
Ans) If a flow with increased limits is duplicated, the new flow will inherit the same incremented limits.
5. Will I receive any warnings when approaching these limits?
Ans) Yes, warnings will appear when you are close to reaching the limits. For example, when you have 990 fields and 90 columns, you will receive warnings indicating that you are approaching the limit and suggesting that you request an extension if needed.