Automate Telegram Channel Posts Using Postgres (Module "Cross-Posting") — n8n Workflow

High complexity Trigger43 nodes👩‍💻 IT Ops👁 407 viewsby Andrew

Overview

Who is this for? This template is ideal for users managing Telegram channels who want to automate the process of posting messages, including text and images, directly from an bot.

What problem is this workflow solving? Manually posting content to multiple Telegram channels can be time-consuming and inconsistent. This workflow automates that process, enabling efficient and consistent content delivery to one or more channels.

What this workflow does This workflow connects to a Postgres database

Nodes used

PostgresTelegram

Workflow Preview

V
Variables TG
I
Initialization
T
Telegram Trigger
Select Channels
I
Is Admin?
Add Channel
Get Bot Status
D
Define flow
C
Commands
Channel Exists
Request Add Channel
Request Delete Channel
Request New Delete Channel
Request New Add Channel
Channel Not Exists
Delete Channel
Get Channels
A
Add Divide Channels
Channels
D
Define Type
Get Channels
I
If
Upsert bot status on START
B
Buttons
Update bot status on ADD…
Update bot status on DEL…
Success Send Post
Update bot status on STA…
Welcome Message
Update bot status on POS…
Request Post Text
Request Post Image Text
Update bot status on POS…
Update bot status on POS…
Select Channels
Request Post Image Image
Success Send Post Image
Update bot status on STA…
I
If1
Send Posts (4922)
Send Posts Image (4922)
Send Posts Image (4922)
Upsert bot status on STA…
43 nodes44 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 43 nodes, connecting if, postgres, set.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (43)

PO

Postgres

postgres

#1
TE

Telegram

telegram

#2

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded automate-telegram-channel-posts-using-postgres-module-cross-posting file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Automate Telegram Channel Posts Using Postgres (Module "Cross-Posting")", "nodes": [...], ...}

Integrations

ifpostgressetsummarizeswitchtelegramtelegramtrigger

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes43
Complexityhigh
Triggertrigger
Views407
CategoryIT Ops

Created by

Andrew

Andrew

@boanse

Tags

ifpostgressetsummarizeswitchtelegramtelegramtrigger

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →