Select
An option from a predefined list
Select attributes are a constrained input type, where the user must pick from a predefined list.
Company has several select attributes (they are mostly enriched attributes): categories
, estimated_arr_usd
and employee_range
. strongest_connection_strength
is also available on both person and company.
Attio provides a separate API for managing the select options available.
Select attributes may be either single-select or multi-select. In the API, these two variants are represented using the same underlying type, select. However, in web and mobile clients, users will see these attributes as two separate types: select and multi-select.
Please note that select attributes cannot be configured to be unique.
Reading values
Select attribute values have an option
property, which is an object describing which select option was used:
Writing values
You can find a list of available options using the list select options API.
To write select values, pass the title of the select option as a string. If it’s a multi-value select attribute, you’ll need to pass an array.
You can also pass an object with an option
property, which references either the option_id
or the title
of the select option.
If you attempt to write a value where the ID or title cannot be found, you will receive an error rather than create a new select option.
Filtering
Select attributes can be filtered by equality, using either the implicit syntax or the explicit one:
It’s also possible to use $or
to find records which match one of several categories:
Select attributes can also be filtered based on when they were modified, using the active_from
property. This allows automations based on when the attribute was changed. This filter supports the $lt
, $lte
, $gt
, $gte
operators:
Was this page helpful?