SurveySparrow interview question

How will you build a chatbot in the backend?