Unfortunately, it seems that they are not interested in adding any delay functions: Dialogflow Forums (API.AI): - Adding a delay to answers, so that it seems more real
But this is one of the reasons why building a server-side solution between your deployment integration (e.g. Facebook messenger) and the API.ai API is so useful - it allows you to customize the execution, including sending the execution caused by your own logic built on top of the API solutions .ai.
So, in the case of FB messenger, as a simple example, you can do something like below and just build any logic you want sendTextMessage to call:
function sendTextMessage(recipientId, text) { sendTypingOff(recipientId) var messageData = { recipient: { id: recipientId }, message: { text: text } } callSendAPI(messageData); }
source share