Developer & DevOps

Save Telegram Messages to Supabase Database

17 nodes 170 99 Automatic trigger
Download

Workflow Description

Automation that captures incoming messages from Telegram channels or groups and automatically stores them in Supabase tables. Processes and filters data before storage, creating an organized, searchable archive of your Telegram communications.

How it works

  1. 1.Receive message from Telegram via webhook trigger
  2. 2.Validate message data and sender information
  3. 3.Insert processed message into designated Supabase table

Use cases

  • Automatic archival of team chat messages from Telegram groups
  • Log alerts and notifications from Telegram bots to database

Requirements

  • Telegram bot token from BotFather
  • Supabase project credentials and API keys
  • Pre-configured Supabase table with message schema

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Telegram Supabase

Details

Trigger Automatic trigger
Nodes 17
Apps 2
Views 170
Downloads 99

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

Get New Message

Set

#1

OPENAI - Create thread

HTTP Request

#2

Create User

Supabase

#3

Merge

Merge

#4

OPENAI - Send message

HTTP Request

#5

OPENAI - Run assistant

HTTP Request

#6

OPENAI - Get messages

HTTP Request

#7

Send Message to User

Set

#8

If User exists

If

#9

Find User

Supabase

#10

Sticky Note1

Sticky Note

#11

Sticky Note2

Sticky Note

#12

Sticky Note3

Sticky Note

#13

Sticky Note4

Sticky Note

#14

Sticky Note5

Sticky Note

#15

Sticky Note6

Sticky Note

#16

Sticky Note7

Sticky Note

#17