Hey folks,
Stuck on a weird one with the GetExternalContactAction in Architect. We’re trying to pull customer data from a simple REST API before the call hits the queue. The endpoint works fine in Postman, but inside Architect, the result set is always empty.
Here’s the JSON for the action:
{
"actionType": "GetExternalContactAction",
"settings": {
"uri": "https://api.internal.com/lookup/phone",
"method": "GET",
"queryParams": {
"number": "{{contact.phone_number}}"
},
"resultMapping": {
"firstName": "$.data.firstName",
"lastName": "$.data.lastName"
}
}
}
The trace shows the request goes out, and we get a 200 OK. The response body looks like this:
{
"success": true,
"data": {
"firstName": "Jane",
"lastName": "Doe"
}
}
But the contact attributes stay blank. I’ve checked the data type of contact.phone_number and it’s a string. Is the JSON path syntax wrong, or is there a specific format for the phone number in the query param?
Tried swapping {{contact.phone_number}} with a hardcoded E.164 string just to test, same result. Empty set.
Anyone see this before?