cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Conversational AI - Build a questionnaire

openrico
Participant
0 Kudos

Dear professionals,

I have the requirement to build a questionnaire in the SAP Conversational AI. When the user starts a conversation he should get at least 5 different questions sequentially. The answers should be preset in Quick replies where he can choose from. In the end a Webservice should be triggert with those answers. So all answers should be saved in memory.

For example:
1. What is your system:
SAP, NON SAP, etc.

2. Do you have ...

Yes, No

etc.

What would be the best approach for this requirement?

Thank you very much and have great holidays!

Greetings

Enrico

View Entire Topic
Dan_Wroblewski
Developer Advocate
Developer Advocate

I'm not certain SAP Conversational AI is the right tool for this, as we have survey systems like Qualtrics, and this use case does not really make use of NLP.

But if all you need was a linear flow, that did not need to respond to any user input, and the questions did not change no matter what the user said, then you could easily:

  • Just have a single intent (I just used greetings and removed goodbye).
  • Have a memory variable "question" that kept track of what question I was at.
  • Set up a series of skills, one for each question (I'm sure you can do this with a single skill with tests of the question variable, but with 5 questions I thought individual skills clearer).
  • Set up a skill for the final answer.
  • For each question, have the trigger be that the question variable is that number.
  • Inside each skill, display the quick replies, then set the question variable to the next question number.

The first skill would be triggered by your intent, and the last skill would just display a thank you message.

I would try to call the web service after each question ... I'd want to know when people stopped answering.

openrico
Participant
0 Kudos

Hi Daniel,

thank you very much! That is exactly what I was searching for. You are right Qualtrics integration would be the better option. I will look into that. But for now my question is answered!