# Manage Supabase database records with Telegram: n8n workflow

> Started by an incoming Telegram message, and works across Supabase and Telegram. 34 steps, 8 branches: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/manage-supabase-database-records-with-telegram (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# Manage Supabase database records with Telegram

Started by an incoming Telegram message, and works across Supabase and Telegram. 34 steps, 8 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmanage-supabase-database-records-with-telegram)

**34 steps** Large: read it before trusting it with anything live

**8** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Logic 13 Service 20

The steps in the order they run, from what starts it.

- 1 **Telegram Trigger** Telegram trigger *Starts it*
- 2 **Extract Message Data** Set *Logic*
- 3 **Is Authorized?** If *Logic*
- 4 **Parse Command and Parameters** Code *Logic*
- 5 **Route by Command** Switch *Logic*
- 6 **Add Has Error?** If *Logic*
- 7 **Filter by Category?** If *Logic*
- 8 **Get Has Error?** If *Logic*
- 9 **Update Has Error?** If *Logic*
- 10 **Delete Has Error?** If *Logic*
- 11 **Search Has Error?** If *Logic*
- 12 **Send Help Message** Telegram *Service*
- 13 **Send Unknown Command** Telegram *Service*
- 14 **Send Add Error** Telegram *Service*
- 15 **Supabase Insert Product** Supabase *Service*
- 16 **Supabase List Filtered** Supabase *Service*
- 17 **Supabase List All** Supabase *Service*
- 18 **Send Get Error** Telegram *Service*
- 19 **Supabase Get Product** Supabase *Service*
- 20 **Send Update Error** Telegram *Service*
- 21 **Prepare Update Data** Set *Logic*
- 22 **Send Delete Error** Telegram *Service*
- 23 **Supabase Delete Product** Supabase *Service*
- 24 **Send Search Error** Telegram *Service*
- 25 **Supabase Search Products** Supabase *Service*
- 26 **Send Add Success** Telegram *Service*
- 27 **Format Product List** Code *Logic*
- 28 **Send Product Details** Telegram *Service*
- 29 **Supabase Update Product** Supabase *Service*
- 30 **Send Delete Success** Telegram *Service*
- 31 **Format Search Results** Code *Logic*
- 32 **Send Product List** Telegram *Service*
- 33 **Send Update Success** Telegram *Service*
- 34 **Send Search Results** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 34, with 8 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Supabase, Telegram
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Supabase and Telegram accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 34 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 34 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmanage-supabase-database-records-with-telegram)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Supabase](https://millionrounds.com/workflows?service=Supabase#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Create and optimize B2B LinkedIn AI posts with Groq** 34 steps · calls a model · LinkedIn, Telegram](https://millionrounds.com/workflow/create-and-optimize-b2b-linkedin-ai-posts-with-groq)
- [**Automate PPOB business operations with Telegram Bot** 33 steps · Telegram](https://millionrounds.com/workflow/automate-ppob-business-operations-with-telegram-bot)
- [**Manage on-campus event attendance with Google Sheets** 35 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/manage-on-campus-event-attendance-with-google-sheets)
- [**Onboard frontline workers with Telegram and DeepSeek** 35 steps · Notion, Telegram](https://millionrounds.com/workflow/onboard-frontline-workers-with-telegram-and-deepseek)
- [**Automate delivery confirmation with Telegram Bot** 32 steps · Gmail, Google Drive](https://millionrounds.com/workflow/automate-delivery-confirmation-with-telegram-bot)
- [**Reply to Instagram comments with Groq and Telegram** 32 steps · Google Sheets, Telegram](https://millionrounds.com/workflow/reply-to-instagram-comments-with-groq-and-telegram)
