Is it possible to pass dynamic Architect flow variables directly into the ServiceNow REST API payload using a Data Action webhook without pre-processing in a script node? The current implementation fails with a 400 Bad Request when the JSON structure includes nested objects for the u_custom_fields parameter.
dataAction:
endpoint: "https://instance.service-now.com/api/now/table/incident"
method: POST
headers:
Authorization: "Basic <encoded_credentials>"
Content-Type: "application/json"
payload:
short_description: "{{flow.short_desc}}"
u_custom_fields:
caller_id: "{{flow.caller_id}}"
priority: "{{flow.priority}}"
The ServiceNow logs indicate Invalid JSON despite the payload validating correctly in Postman. The Data Action configuration in Genesys Cloud v2024.3 seems to strip the nested object formatting during transmission. Need to confirm if this is a limitation of the Data Action webhook handler or a serialization issue with the Architect flow variable binding.