In Botpress terms We call this Human In the Loop or Human Handoff
You can do this yourself with very specific flow logic (whenever a user asks to speak to an agent, you would transfer the conversation to an agent in your system and sync the conversation by code )
or, you can wait a little bit, the feature is currently under beta release with a very small subset of users / organisations.
What are you using as ticketing system ?