Data in Autto is held in [square_brackets]. Each [square_bracket] will be one of several choices of types which reflects the kind of information being held - for example, a piece of Text or a Date. Different Data Types have different types of functionality associated with them in the Condition Editor and you can only map information from one common Data Type to another.
This article discusses data types in more detail.
Table of Contents
- What are Data Types?
- The Different Data Types in Autto
- How Data Types Work in the Condition Editor
- How Data Types Work in Data Tables, API Responses, and Elsewhere in Autto
- Related Articles
What are Data Types?
Data types in Autto hold data from various sources, including the following:
- Answers to questions in Actions, including those asked in Form actions
- IF-ELSE statements in Conditions, including those defined in a Condition Editor, and Condition and Conditional  actions
- Columns in data tables
- Responses to API calls
Data types are used throughout Autto. They can be called from data tables or square brackets for use elsewhere in a workflow.
The Different Data Types in Autto
Data types may offer a choice between several values, accept string inputs, and be saved into square brackets. The different data types in Autto and their defining characteristics are seen in the table below.
|DATA TYPE||CHOICE?||ALLOWS STRING INPUT?||ALLOWS SAVING INTO SQUARE BRACKET?|
|Number (including Rating and Calculator)||No||Yes||Yes|
|Date||No||From Date Picker||Yes|
|Time||No||From Time Setter||Yes|
|Value (Multiple Choice, Dropdown, and Country Questions WITHOUT Multiple answers)||Yes||No||Yes|
|List (Multiple Choice, Dropdown, and Country Questions WITH Multiple answers)||Yes||No||Yes|
NOTE: The Value and List data types will only accept the range of values defined within them. Anything outside the defined range will not be saved in Autto.
How Data Types Work in the Condition Editor
Data types may have different operators when called from the Condition editor, which runs anywhere in Autto where conditional statements are used. For example, in a Condition action, the Condition Editor allows creation of the IF-ELSE statements applicable to the condition.
The table below shows the different data types and their operators when used in the Condition Editor.
|Number (including Rating and Calculator)||MORE THAN, LESS THAN, EQUAL TO, IS NODATA|
|Yes/No||IS, IS NOT, IS NODATA|
|Date||BEFORE, AFTER, IS NODATA, need to add IS/EQUAL TO|
|Value (including Multiple Choice, Dropdown, and Country Questions WITHOUT Multiple Answers)||IS, IS NOT, IS NODATA|
List (including Multiple Choice, Dropdown, and Country Questions WITH Multiple Answers)
|INCLUDES ONE OF, INCLUDES ALL OF|
How Data Types Work in Data Tables, API Responses, and Elsewhere in Autto
Data types correspond to the column types in data tables (see Managing Data Tables). When used in actions that update a data table (for example, the Update Data Table action), the data type that will be used in adding a new row or editing an existing one in the data table must match the column type.
For example, in a Data Table with an Email column, the data type used in updating the Email column must also be an Email data type. If this requirement is not met, an error will be displayed and the data table will not be updated.
Data types in API responses (see Using the Autto API Manager) and elsewhere generally follow this same rule.