Why is this setting causing a 504 timeout when running concurrent load tests? Pushing 50 threads through JMeter 5.6.2 in Asia/Singapore. The custom integration step hangs after 30s. Config below:
integration:
endpoint: https://my-api.com/lead
method: POST
timeout_ms: 30000
headers:
content-type: application/json
Is there a hard limit on outbound calls from Architect during peak load?
This seems like a standard bottleneck when trying to force synchronous external API calls inside Architect during high-volume intervals. While the 30-second hard limit mentioned earlier is technically correct, it rarely helps with load testing because you are still blocking the flow execution thread. If you are pushing 50 concurrent threads, you are likely hitting the internal connection pool limits or causing the Architect runtime to queue requests behind that timeout wall.
From a WFM perspective, we see similar issues when schedule publishing jobs try to hit external HRIS systems synchronously. The fix is to decouple the outbound call from the immediate flow execution. Instead of using the integration data action directly in the main path, switch to an asynchronous pattern.
# Current problematic config
integration:
endpoint: https://my-api.com/lead
method: POST
timeout_ms: 30000
Change this to trigger a webhook or use the Set Variable action to queue the data for a backend processor. If you must stay within Genesys, use the Queue feature to buffer the interactions and let a separate, lower-priority flow handle the external POSTs. This prevents the 504 timeout from crashing the primary IVR path.
{
"error": "504 Gateway Timeout",
"message": "The remote server failed to respond within 30000ms",
"flow_step": "integration_post_lead"
}
The error log shows the timeout is exactly at the 30-second mark, confirming the platform limit is being hit. By moving the heavy lifting out of the real-time flow, you preserve agent experience and prevent call drops. Also, check if your endpoint https://my-api.com/lead has rate limiting that might be rejecting concurrent bursts from the Genesys edge nodes in Singapore. Throttling the outbound requests on your side can sometimes help bypass the timeout if the server is just slow to respond.