In the architect flow, I am calling 3 Salesforce data actions and it is taking 2-3 secs time to complete this task.
When I am calling the same Rest api call in Workbench of Salesforce , It takes less that 1 sec for 3 calls.[for each call: 0.315 sec]
I would like to know how to get the response time for each data action in call flow for optimizing the response time by optimizing the query or finding any other way out.
Requirement: The call should not have a dead air of 2-3 secs between prompts or even if i place this piece at start of call.
It's not really an apples to apples comparison to look at response times between the Salesforce workbench and external applications. The Workbench still runs on the Salesforce platform inside Salesforce data centers. The response times from that tool are going to be significantly faster than the same api calls being made external to the platform (especially if you have to couple an authentication call with the 3 API calls you're making). A better comparison would be to use test mode within the data actions UI to see how long your API calls take for their round trip from PureCloud to Salesforce.
Depending on the calls that you are making, it's possible to make compound queries of related objects using the Salesforce API.
Also, one work item in progress and due for release later this year is the ability to play audio while a data action is in process. This will at least create an audible queue to the user that something is happening in the background, rather than dead air. In the mean time, you can place some form of audio in between the data actions to at least notify the user that something is happening.
My suggestion would be to add a "Please hold while we look up your information" prompt right before making the 3 lookups. 2-3 seconds doesn't seem unreasonable if you alert the caller to what is happening.
If you open a case with customer care they should be tell you the duration for each data dip for a given call.