Can’t get this config to load properly… I have built a typed Python client for Genesys Cloud, but now I need to integrate a CXone Studio flow that calls an external REST endpoint. I am using the GetRESTProxy snippet action to POST a JSON payload to a custom webhook. The response returns a 200 OK with a valid JSON body like {"status": "success", "data": {"id": 123, "name": "test"}}. However, when I try to extract the nested id field into a flow variable using the ASSIGN action, the script throws a runtime error: Error converting value to type: Integer. I have verified the variable type in Studio is set to Integer. The expression I am using in the ASSIGN action is {{RESTProxyResponse.data.id}}. Is the REST Proxy response object structured differently than standard JSON? Or do I need to parse the raw string response first? Here is the snippet configuration:
GetRESTProxy → Method: POST, URL: https://example.com/api, Body: {"key": "value"}
ASSIGN → Target: flowVars.customerId, Source: {{RESTProxyResponse.data.id}}
The error log shows the source value is being treated as a string or null. How should I correctly dereference nested properties in the Studio snippet context?