I’m trying to look up customer details in our external system before the agent takes the call. I’ve set up a Data Action in Architect that calls our internal API, and I’m using the GetExternalContactAction block to trigger it. The goal is simple: pass the caller’s phone number and get back their account status.
The issue is that the action consistently fails with a 404 Not Found error, even when I know the phone number exists in the database. I’ve double-checked the endpoint URL in the Data Action configuration. It looks like this:
https://api.internal.company.com/v1/customers/lookup?phone={{trigger.phoneNumber}}
Here is the JSON payload I’m expecting back:
{
"customerId": "12345",
"status": "active",
"lastInteraction": "2023-10-01T12:00:00Z"
}
I’ve tested the endpoint directly in Postman with the same phone number, and it works fine. I’m getting a 200 OK. But inside Architect, it’s always a 404. I’m wondering if there’s something specific about how GetExternalContactAction handles the request headers or if I need to encode the phone number differently. The trigger variable trigger.phoneNumber definitely has a value.
Has anyone run into this? I’ve checked the logs, but they just show the 404 without much detail. I’m stuck on this one.