Templates / Lightweight support desk with Telegram and Postgres database tracking

Lightweight support desk with Telegram and Postgres database tracking

Ready for 3.0

by Mohammad · 220 views · created 2025-09-20 · Content Creation, Ticket Management

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 43 nodes and runs on Telegram events (message). Along the way it connects Telegram and Postgres.

How it runs

Trigger: On Telegram events (message).

  1. 02 Switch: Route by Command (Switch): routes items into 5 branches
  2. Welcome Message (Telegram): uses Telegram
  3. 03b FN: Parse Status Command (Code): runs custom Python code
  4. 03a FN: Normalize + Hash (Code): runs custom Python code
  5. 03c FN: Parse Update Command (Code): runs custom Python code
  6. Check Admin (If): checks a condition and branches into true / false
  7. Telegram: uses Telegram
  8. 03b IF: Has Valid Correlation ID Format (If): checks a condition and branches into true / false
  9. 04a DB: Upsert Ticket (Postgres): run a query
  10. 03c0 IF: Is Operator (If): checks a condition and branches into true / false

…plus 32 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 (6)

From the author

Telegram ticket intake and status tracking with Postgres Who’s it for Anyone running support requests through Telegram, Email, Webhooks, and so on who needs a lightweight ticketing system without paying Zendesk prices. Ideal for small teams, freelancers, or…

Excerpt from Mohammad'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.