Custom timeout message

(Artist) #1

when the user fails to answer a question the bot times out and displays “You didn’t answer, so I’ll go away for now.”. Is there a way to output a custom message?. Also can we decide the timeout interval?.

(Kellsey Shaw) #2

Hi there,

There’s not currently any way for you to change the ‘question’ behaviour but we are working on providing more admin features so it’s worth keeping an eye on the Road Map or the community announcements.

There is a way using our Shortcuts feature that you can take full control and mimic the behaviour of the ‘question’. It involves some legwork and some extra flows but if you absolutely want to control the behaviour, it’s doable.

You could simply send a message to the user that provide shortcuts. These shortcuts would contain the keyword triggers for other flows.

You would need to set an Attribute so that you know you are waiting for the user. When one of the other flows is triggered, it would update the attribute so that you know the question has been answered.

After sending the message to the user, you can use a Wait task to wait a certain amount of time. After this time has passed, you would check the attribute is still set to waiting. If it is still set to ‘waiting’ you can send the user a message with your own message. And you also have the option to carry on your flow which is not something you can do with the current question action.

Hopefully, you’ll find this helpful :slight_smile:

1 Like