Returning a profile attribute from with certain conditions in an array object
Hi there,
We are looking to send our customers a SMS based on their phone numbers in their profile. However, for our org identity structure, a profile can have multiple accounts, the data looks like this:
"ContactNumbers": [
{
"Account": "1",
"PhoneNumber": "111",
"AccountType": "Class A"
},
{
"Account": "2",
"PhoneNumber": "222",
"AccountType": "Class B"
},
{
"Account": "3",
"PhoneNumber": "333",
"AccountType": "Class c"
}
]
Is it possible in the Advanced Mode of an expression, put conditions in there? In English, "return me the phone number in the array position where AccountType is "Class C""
Thanks!