InFact-coop / your-sanctuary

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Inactivity message #87

Open joannayoungs opened 5 years ago

joannayoungs commented 5 years ago

We spoke about the possibility of adding a message when there has been a period of inactivity from the person using the chat, not sure if this is possible on Crisp or not yet. e.g they haven't replied to the last message within the last 5 minutes

If it was, then we would want it to say:

“You don’t seem to be there anymore, if you would like to pick up your conversation again then just log back in with your code and we can continue the conversation at a time that suits you”

lucymk commented 5 years ago

@joannayoungs I've been able to set this up in the case when there has been a period of inactivity and the user is only using the bot, or hasn't responded at all. I set it to display the message you put above after 5 minutes of inactivity in this state.

However, if the chat has been with a real operator, then this trigger will not work. I suppose instead, you could set up an '!inactive' message shortcut with that text, and send it when someone hasn't replied for 5 minutes.

joannayoungs commented 5 years ago

Hi @lucymk great you were able to find a fix :)

I have just been playing around with it a bit and it seemed to send the inactivity message much quicker than 5 mins. Is it 5 mins after the first chat bot message has been sent or 5 mins since the last message?The person chatting sent a message and then literally a few seconds later the inactivity message seemed to send which doesn't make sense...!

lucymk commented 5 years ago

@joannayoungs that's strange, I was testing it previously with a 20 second delay but just checked and it is set to 5 minutes now. Also just started a chat myself and haven't received an inactivity message yet. It's possible that it hadn't saved properly, and now is - let me know if it happens again though!