Run a guided chat survey inside Telegram that collects richer answers and writes every response to Google Sheets. It blends a clear question path with smart follow up prompts so teams get deeper insight without extra work.
When a user messages the bot, the flow checks if it is a command or a normal reply. Questions come from Google Sheets, and Redis tracks which question each user is on. Users can send simple commands like start, next, or restart. A text classifier checks if a follow up is needed. If yes, an AI agent asks one or more clarifying questions. Chat memory resets for each question so the agent stays focused. All answers and bot messages are saved back to the sheet, then the next question is sent until the survey ends.
You will need a Telegram bot, a Google Sheet with an ID column and question columns, a Redis database, and an OpenAI API key. Expect to cut manual survey time and get cleaner data in one place. It fits product research, post purchase feedback, and service follow up surveys where you want consistent flow with room for deeper probes.