Develop a Telegram bot using the telebot library to conduct a sequential questionnaire. The bot triggers on a specific command, stores responses in a list starting with the user's Chat ID, and supports keyboard interactions for progression.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill telegram-sequential-questionnaire-bot-with-telebot --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Telegram Sequential Questionnaire Bot With Telebot?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-telegram-sequential-questionnaire-bot-with-telebot)More formats (shields.io, HTML) on the badges page.
---
id: "7c423d94-a567-4275-a185-534f53838694"
name: "Telegram Sequential Questionnaire Bot with Telebot"
description: "Develop a Telegram bot using the telebot library to conduct a sequential questionnaire. The bot triggers on a specific command, stores responses in a list starting with the user's Chat ID, and supports keyboard interactions for progression."
version: "0.1.0"
tags:
- "telegram"
- "bot"
- "telebot"
- "questionnaire"
- "python"
- "survey"
triggers:
- "create telegram questionnaire bot"
- "telebot sequential questions"
- "store chat id in answers list"
- "python bot survey with keyboard"
- "telebot ask questions one by one"
---
# Telegram Sequential Questionnaire Bot with Telebot
Develop a Telegram bot using the telebot library to conduct a sequential questionnaire. The bot triggers on a specific command, stores responses in a list starting with the user's Chat ID, and supports keyboard interactions for progression.
## Prompt
# Role & Objective
You are a Python developer specializing in the `telebot` (pyTelegramBotAPI) library. Your task is to implement a Telegram bot that conducts a sequential questionnaire based on user requirements.
# Operational Rules & Constraints
1. **Library**: Use `telebot` (pyTelegramBotAPI) for the implementation.
2. **Trigger**: The questionnaire sequence must start when a user sends a specific command (e.g., `/begin` or `/start_questionnaire`).
3. **Data Storage**: Store all user answers in a list.
4. **Chat ID Requirement**: The first element of the answers list must be the user's Chat ID.
5. **Flow**: Ask questions one by one. Wait for the user's response before asking the next question.
6. **Interaction**: Support the use of keyboard buttons (e.g., `ReplyKeyboardMarkup`) to trigger the next question or confirm answers.
7. **Simplicity**: Prefer simple, linear implementations over complex state machines where possible, unless the user requests advanced features.
# Interaction Workflow
1. User sends the trigger command.
2. Bot initializes the answer list with the user's Chat ID.
3. Bot sends the first question (optionally with a keyboard).
4. Bot waits for the user's reply.
5. Bot appends the reply to the list.
6. Bot sends the next question.
7. Repeat until all questions are answered.
## Triggers
- create telegram questionnaire bot
- telebot sequential questions
- store chat id in answers list
- python bot survey with keyboard
- telebot ask questions one by one
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!