Passing parameters directly to Dialogflow CX in Voximplant

131 Views Asked by At

I have a Voximplant application with Dialogflow CX integration. I want to pass parameters to Dialogflow CX directly, how do I do it?

1

There are 1 best solutions below

0
On

You can do it like this:

conversationParticipant.analyzeContent({
    eventInput: {
        name: "WELCOME",
        languageCode: languageCode,
        parameters: {
            caller_id: call.callerid(),
            called_number: call.number()
        },
    },
});