The custom field type List of strings supports multiple values provided as a comma-separated list.
You can use this to record a custom list of your contacts' interests or preferences.
Note: You can only update this field via API, not via CSV or in the single customer view.
Example:
If your custom field is "Favourite brands" you can send Ometria a list of brands like this: ["Nike", "Puma", "Reebok"]
Then you can use the customer filter to search for customers who like Nike, or Puma, etc.
Example payload
[
{
"@type": "contact",
"id": "list_of_strings",
"timestamp": "2025-03-01T17:28:10+00",
"email": "david@example.com",
"@merge": true,
"properties": {
"list_field": ["one", "two","three"]
}
}
]
Finding contacts based on their list of strings
Open the customer filter and search for:
- [List field] > which contains - [preference 1]
E.g.
- Favourite brands > which contains - Reebok
This filter searches for individual strings in an array, e.g. all contacts with the tag 'Reebok', including those with additional preferences like 'Nike'.
Comments
0 comments
Article is closed for comments.