Telegram Quiz Polls to Excel

Замовник: AI | Опубліковано: 24.03.2026

I run a quiz bot on Telegram and I need an add-on bot that automatically collects every poll the quiz posts, then compiles the results into a single Excel workbook. Each new poll should append its data to the same sheet, so I end up with one continuous table I can sort or filter later. The columns I expect are: • title of quiz Question text options • Answer selected (or correct answer if that’s easier to pull) • Reference/notes field I can fill in later If you prefer to capture extra metadata such as message ID or date-time, feel free to include it, but the three fields above must be present and clearly labelled. Workflow I have in mind 1. The bot listens in the same Telegram group/channel where the quiz bot posts its polls. 2. As soon as a poll closes—or on a manual command—the bot exports or updates an .xlsx file. 3. The file can either be sent back to the chat or saved to a cloud location I specify. I am comfortable hosting the bot on a small VPS, so please write it in Python (aiogram, python-telegram-bot, or similar) or another language you can document clearly for self-hosting. Deliverables • Source code with clear setup instructions • A short README explaining how to add the bot token, group ID, and file path • A demo run or sample Excel sheet proving the format is correct Clean, well-commented code and straightforward deployment steps are what I value most. Let me know your preferred stack and any clarifications you need.