Question
If a visitor is idle on a chat or isn't responsive for some time, can I end the chat session with a trigger?
Answer
No, Chat triggers do not have the ability to end a chat. Agents can manually end the chat or let the chat session expire.
For more information on when chats time out, see the article: When do chats time out?