We have a question about how to best tell the input channel that it should trigger a hand-off.
First off, our setup consists of using Rasa core with the http API via the
RestInput channel. This channel is connected to a custom channel that in turn connects to our messenger service.
Now assume that a user wants to trigger a hand-off, we have to communicate this information to our channel. However, as far as I can tell,
RestInput only returns a text and a couple of special elements (e.g. buttons). How would we convey the information that a hand-off should be triggered?
What we did so far:
We thought about using a special button that contains the information that a hand-off must be triggered. This doesn’t seem to be very elegant but oh well. Then we have the challenge how to inject the button into the message. Is there a way to do that without using a special template in the
domain.yml? Ideally, we would like to send an event through the action server that signals that contains this information. Is that possible?