Templates / Automate testing and collect responses via Telegram in Postgres (module "Quiz")

Automate testing and collect responses via Telegram in Postgres (module "Quiz")

Ready for 3.0

by Andrew ✓ · 571 views · created 2025-04-19 · HR

Ready 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.

  1. Variables TG (Edit Fields (Set)): sets or maps fields
  2. Initialization (Edit Fields (Set)): sets or maps fields
  3. Is Start? (If): checks a condition and branches into true / false
  4. Welcome Message (Telegram): uses Telegram
  5. Switch: routes items into branches
  6. Buttons (Switch): routes items into branches
  7. Commands (Switch): routes items into branches
  8. Main Menu (Telegram): uses Telegram
  9. For Tests (Switch): routes items into branches
  10. Get Tests (Postgres): uses Postgres

…plus 21 more steps. See the full node list below.

Services it uses

TelegramPostgres

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)

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…

Excerpt from Andrew's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.