The flow
Starts it 1Logic 6Service 14
The steps in the order they run, from what starts it.
- 101 Webhook Trigger: Approval DecisionWebhookStarts it
- 202 FN: Verify Signature + TTLCodeLogic
- 3ActionsSwitchLogic
- 404c DB: Update Ticket StatusPostgresService
- 504r0 DB: Get Ticket IDPostgresService
- 604e DB: Insert Audit ExpiredPostgresService
- 704i DB: Insert Audit InvalidPostgresService
- 804c2 DB: Insert Audit RowPostgresService
- 9Execute a SQL query1PostgresService
- 1005e Telegram: Notify ExpiredTelegramService
- 1105i Telegram: Alert InvalidTelegramService
- 1204c1 DB: Get Ticket OwnerPostgresService
- 13Text (reject)TelegramService
- 1404c1a IF: Resolved or In ProgressIfLogic
- 1505c Telegram: Update ConfirmationTelegramService
- 16If ResolvedIfLogic
- 17If in_progressIfLogic
- 1805c1a Telegram: Notify ResolvedTelegramService
- 1905c1b Telegram: Notify In ProgressTelegramService
- 20Notify Failed?IfLogic
- 21Execute a SQL queryPostgresService
How it's built
- Starts on
- Another system calling it
- Steps
- 21, with 5 branches
- Size
- Large: read it before trusting it with anything live
- Connects to
- Postgres, Telegram
- Model
- None. This is plumbing, not judgement
Questions
What does it need to run?
An n8n account, plus your own Postgres and Telegram accounts. You connect your own accounts after importing it; none are included.
What starts it?
It starts on another system calling it.
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 21 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 itNothing 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 21 steps before you point it at anything that matters.