Automatically register and recognize Telegram bot users

Checks every new Telegram chat against your records and greets returning or new users by name.

How the work actually flows

It branches. Exactly one path is taken.

Pattern: Exclusive Choice (4) · Simple Merge (5) · Transient Trigger (23)

flowchart TD trig>"telegram message received"]:::trig s0[("look up user in records")]:::store s1["send personalized greeting"]:::task trig --> s0 gx{"× new or returning user"}:::gate s0 --> gx p00["register new user record"]:::task gx -->|"new user"| p00 p10["update existing record"]:::task gx -->|"returning user"| p10 jn{"○ record updated"}:::gate p00 --> jn p10 --> jn jn --> s1 out[/"user record updated and greeted"/]:::out pay{{"personalized recognition of every user"}}:::pay s1 --> out out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepA record or sheetOne path onlyPaths rejoinResultPayoff
Build size
Standard

A mid-size build with several tools working together.

Business functions
Messaging & NotificationsSpreadsheet & Database Ops
Connects
TelegramGoogle Sheets

The problem it solves

Every time someone messages your Telegram bot, you have no easy way to know if they're new or a returning contact, so you can't personalize the conversation or track who's actually using your bot.

Who it fits

Businesses running a Telegram bot for customer support, bookings, or engagement.

How it works

  1. Triggers when someone messages your Telegram bot
  2. Looks up their Telegram ID in your Google Sheets records
  3. Registers new users with their name and details
  4. Updates the record for returning users
  5. Sends a personalized welcome message back
What you get

Returning customers greeted by name

Every new Telegram chat gets checked against your records automatically, so returning customers are greeted by name and new ones feel welcomed.

What you get

An updated user record in Google Sheets and a personalized greeting sent back through Telegram.

What you need

A Telegram bot and a Google Sheets account.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook