Automate testing and collect responses via Telegram in Postgres (module "Quiz")
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 32 nodes and runs on Telegram events. Along the way it connects Telegram and Postgres.
How it runs
Trigger: On Telegram events.
- Variables TG (Edit Fields (Set)): sets or maps fields
- Initialization (Edit Fields (Set)): sets or maps fields
- Is Start? (If): checks a condition and branches into true / false
- Welcome Message (Telegram): uses Telegram
- Switch: routes items into branches
- Buttons (Switch): routes items into branches
- Commands (Switch): routes items into branches
- Main Menu (Telegram): uses Telegram
- For Tests (Switch): routes items into branches
- Get Tests (Postgres): uses Postgres
…plus 21 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Sort
n8n-nodes-base.sort - Wait
n8n-nodes-base.wait - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Postgres
n8n-nodes-base.postgres - Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Summarize
n8n-nodes-base.summarize
From the author
Who is this for? This template is ideal for educators, HR professionals, and anyone looking to automate testing and collect responses through Telegram, while storing results in a Postgres database. What problem is this workflow solving? Manually organizing…