i take a payload from viber and send the below payload to the power virtual agents bot to trigger the start of the conversation. the payload:
{
type: 'event',
from: { id: '' },
name: 'startConversation',
context: '10'
}
so what i want is to take the 'context' and use it in a topic. for example in the system topic that is triggered at the start of the conversation.
and i want the message that appears at the start of the conversation to be for example:
"Is this message about the number {context}?" where {context} i want the value of the variable context. so how do i do that?
Hi @Bill2027
I have made that work in web context - maybe that same logic applies to the Viber payload. Have a look at this tutorial: (2) The Secret Power of Virtual Agents | LinkedIn
Hope that helps-