How to improve performance of Dialog Flow bot and UIPath interaction

How can we improve the performance between Dialog Flow and UIPath? Sometimes UIPath returned output(I can see the job is completed in Orchestrator but still dialog flow takes some time to display the output in bot.

Working on it text appears a bit longer which can make the user frustrated. Is there any way we can improve this.

https://www.transfernow.net/files/?utm_source=K9fMh9062020&utm_medium=&utm_content=en

I have uploaded the video and you can see that for both the operations it’s taking a very long time. Which will direct impact user experience?

Response posted here: Chatbot sample for retail - #14 by Karan