Custom Data Action Timing Out on CRM Lookup

Yo, I am hitting a wall with a custom Data Action. I am trying to pull customer data from our legacy CRM. The lookup takes about 8 seconds because the DB is ancient. Genesys Cloud keeps timing out after 5 seconds. I checked the settings and do not see where to bump up the timeout. Anyone know if we can change this or am I stuck?

The timeout for Data Actions is fixed. You cannot increase it beyond the platform limit. The limit is actually 10 seconds for the entire execution, but individual steps often time out earlier if the remote endpoint does not respond within a specific window.

You should look into optimizing your CRM query or using a middleware to cache the data.

Yeah, That is right. I ran into this when I was testing some Python SDK stuff. The platform is pretty strict about those limits to keep things from hanging.

One trick I found is to move the heavy lifting to a Lambda function. The Lambda can handle the long wait and then return the data to the Data Action.

It adds a bit of complexity but it solves the timeout issue.