Can anyone clarify the exact behavior of the Genesys Cloud Data Action timeout mechanism when interacting with ServiceNow REST APIs? We are experiencing intermittent 504 Gateway Timeout errors specifically when the Architect flow triggers a Data Action to create a high-complexity ServiceNow incident record. This issue correlates directly with our peak contact volume periods in the Europe/London timezone (typically 09:00-11:00 GMT).
The integration uses a standard HTTPS Data Action endpoint pointing to our ServiceNow instance. The payload includes nested objects for u_custom_fields and an array of u_related_incidents. When the payload size exceeds approximately 4KB, or when the ServiceNow instance experiences latency >2.5s, the Genesys Cloud side reports a 504 error, causing the Architect flow to route to the error handling subflow. This breaks the conversation context, as the ticket.id variable remains null.
Steps to reproduce:
- Configure an Architect flow with a Data Action node targeting a ServiceNow
incidenttable API endpoint. - Inject a JSON payload containing a nested object with >50 key-value pairs and an array of 10 related record IDs.
- Simulate concurrent triggers (using the Architect simulator or load testing tool) to saturate the webhook queue.
- Observe the Data Action execution log for 504 errors and verify the failure in the ServiceNow
sys_scriptlogs.
We have reviewed the Genesys Cloud documentation on Data Actions, which mentions a default timeout of 30 seconds. However, these failures occur well within that window, suggesting a potential issue with HTTP keep-alive connections or TCP handshake retries under load. Has anyone encountered similar latency issues with large JSON payloads in Data Actions? Are there specific headers or payload compression techniques (e.g., gzip) recommended for ServiceNow integrations to mitigate this? We are currently considering breaking the payload into multiple smaller Data Actions, but this complicates the flow logic significantly.