Knowledge Graph display welcome message just once while answering FAQ

We have prepared few FAQs with similar questions like

  1. What is the contact information for Specialty pharmacy 1.
  2. What is the contact information for Specialty pharmacy 2.
    And so on…
    This FAQ chatbot needs to be integrated with MS teams so the welcome event won’t fire automatically.

The requirement is the user first interacts with the bot, by stating hi, what is the phone number for specialty pharmacy 1 it will respond with the welcome message and then answer to the question. The next time it should not show the welcome message if user asks Hi, what is the phone number for specialty pharmacy 2.

Right now we have added the welcome message in small talk when user says “hi” , we respond by saying “Hi, I’m Reggie your virtual assistant. How can I help you?”

The questions are very similar its finding specialty pharmacy contact details.
Any help is appreciated.

@saritha.tah
For any first-time user talking to a bot (based on the user identity passed on from end channels), the welcome event (See event handlers) is triggered ONLY once. During the next chat in the same session or future sessions, the welcome message is NOT repeated. And also, the welcome message is triggered when the user says something - Like Hi/ Hello or any other utterance. So you may not need to restrict your capability for small-talk only.

If you are using the web-mobile SDK channel you can use the on-connect event. Note, this works with Kore SDK only and not for other channels.