Genesys Cloud Voice Survey

Hi
I've used the link below to create a voice survey that uses the inbuilt email survey.

Https://github.com/mcphee11/genesys-cloud-voice-survey)

I've had to change the post survey, but can only get the NPS to work in the request body using:

"questionId":"131568f7-12f7-4560-980e-bd22bf5158e8",
"npsTextAnswer":"",
"npsScore":${input.question2},
"markedNA":false

I can't think for the life of me what to put for the Yes/No question input, have tried this, but no dice

"questionId":"d5646d03-3282-40d5-9784-50cc788f8658",
"Yes/No":"${input.question1}",
"markedNA":false,

Any help greatly appreciated

Fixed by using a switch to convert the 1 or into the corresponding answerId

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.