Data Action JSON mapping fails on nested arrays

Building a Data Action to fetch user metadata from an external REST endpoint. The response contains a nested array that won’t map to the Architect variable.

{
 "id": 123,
 "tags": ["vip", "priority"]
}

Trying to map tags[0] results in a null value. The HTTP 200 comes through fine, but the schema validation seems to choke on the array type. How do I handle this mapping?

Docs state: “The mapping expression must resolve to a single scalar value for string variables.” Architect data actions don’t handle array indexing in the UI mapper directly. You’ll need to set the return variable type to JSON instead of String. Then use {{data.tags[0]}} in the subsequent flow step.