Input

The input step defines what your model needs in order to return the desired result. Every model is required to have an input step.

Examples of what might be defined in an input step include:

LabelTypeExample

Date of birth

date

1982-12-25

Name

string

Bob

Number of Children

integer

2

Amount

decimal

100.00

Do you smoke?

boolean

FALSE

These are all values that will be collected from a customer via a form or API. You can define hundreds of inputs. Each needs to have an example and the type (date, string, integer, decimal, boolean, array, object) defined.

The inputs are then available to the next steps in the model.

Creating and editing an input

Label - This is what will be show in the auto generated web form. It describes the data you expect.

Output Key - This is output name that will be passed to the next step - i.e. how it will be referenced in future steps. This will be auto-generated by the label but can be amended.

Type - The data type of the outputted value.

Default Value - This is a default value. This is what the model will default to if the value is not defined by the customer.

Static - This means the input isn't asked for from the customer but is fixed. This might be a base value, commission or tax

Indicator - This is an input that can be easily search for within the quote data. This might be a name, zipcode/postcode, vehicle reg, or unique id. There is a limit to 4 indicators per model.

Last updated