Intercept VXML BotKit

I’m building a bot using IVR channel. Currently trying to intercept VXML using botkit sdk. Is it possible and how?

@lalankarage

Only whatever is there in the bot context can be captured/ tagged in BotKit (under data object). VXML cannot be captured in BotKit. The bot’s actual response is a part of the VXML. VXML itself is not the complete response. Additionally, this is very specific to IVR channel.

image

@lalankarage
Just wanted to share a quick thing. Although you cannot tap the VXML response, you can override the bot response completely from botkit.

Example: if you want to send a particular VXML for a specific user input, you can do it like this:

image

Output:

image

For further reference refer to:

1 Like