Text function
In the below example, the function responds to a customer message: you wrote: {{text of incoming message}}.
If a customer writes the queue command, the bot transfers the request to a queue.
If a customer writes the exit command, the bot says goodbye and closes the request.
Text function