Telegram bot for item multi select and saving to Postgres (Module "Checkbox")
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.
Nodes used (8)
- Telegram
n8n-nodes-base.telegram - Postgres
n8n-nodes-base.postgres - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - Telegram Trigger
n8n-nodes-base.telegramTrigger - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Summarize
n8n-nodes-base.summarize
What it does
Who is this for? This template is for developers and automation specialists looking to create a Telegram bot that enables users to select items from a predefined list and save their choices to a Postgres database. What problem is this workflow solving? It provides a simple and efficient way to collect structured user input via Telegram and store it in a Postgres database, useful for inventory selection, order systems, or preference tracking. What this workflow does - Displays a list of selectable options from a Postgres shoplist table in Telegram - Saves the user’s selection back to the database - Automatically deletes messages at each step to keep the chat clean Setup 1. Create the required tables in Postgres - Replace "n8n" in the provided SQL script with the appropriate schema name for your database - Run the script to create the shoplist table 2. Add necessary credentials in n8n - Telegram: Connect your Telegram bot using the Bot Token - Postgres: Add your Postgres DB credentials to allow the workflow to read/write data How to customize this workflow to your needs - Modify the shoplist table to include your specific options. - Adjust the Telegram messages and logic to match your use case.