Actions16
Send Poll
AI-generatedSummary
Send a Telegram poll to the specified chat, either as a regular poll or a quiz with a correct answer. The operation returns Telegram’s sent message object and can optionally reply to another message, include reply markup, and set an auto-close period.
Inputs
- Bot Token (required) — Telegram bot token; defaults to the input item’s access_token or token.
- Chat ID (required) — Chat where the poll will be sent; defaults to the input item’s chatId or channel.external_id.
- Question (required) — Poll question text.
- Options (comma-separated) (required) — Comma-separated answer options. The operation trims whitespace and removes empty entries.
- Is Anonymous — Whether votes are anonymous; defaults to true.
- Quiz (with correct answer) — When enabled, sends a quiz instead of a regular poll; defaults to false.
- Correct Option Index (0-based) — Index of the correct option when quiz mode is enabled; defaults to 0.
- Open Period (seconds) — Positive number of seconds before the poll closes automatically. Zero (the default) omits the auto-close setting.
- Reply to Message ID — Positive Telegram message ID to reply to; defaults to 0, which sends the poll without a reply relationship.
- Reply Markup — JSON reply markup passed to Telegram when it parses as an object with keys; invalid or empty markup is omitted.
- Use Redis Rate Limit — When enabled, uses the optional Redis credential to throttle requests per bot; defaults to false.
Output shape
A Telegram sent message object on the Success output; the node also has User Blocked (403) and Error outputs.
Each successful input item produces one message object. A 403 is routed to User Blocked (403) with the input JSON and error details. Other errors are routed to Error only when n8n Continue On Fail is enabled; otherwise they are thrown. The node retries eligible Telegram 429 errors.