How do I make a loop for allowed input keywords?

Hi yall, I'm building a AI chatbot app using the ChatBot component. One problem is that the ChatBot will respond to everything and I only want it to answer to a certain topics.
For example, I want the input to be prompted if the keyword relating to environment or weather is keyed in.
All ideas are appreciated. Many many thanks in advance.

Welcome Kevin

Probably not necessary to create a loop.

Have you considered using if..then else statements as described in Programming Your App to Make Decisions to respond to only certain topics

What have you tried? Post some Blockks Kevin. :slightly_smiling_face: