🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Telegram to Google Sheets, payments logged clean

Lisa Granqvist Partner Workflow Automation Expert

Payment confirmations land in Telegram, then disappear into chat history. You tell yourself you’ll log them later. Later turns into “end of week,” and now you’re scrolling, guessing amounts, and fixing typos in your spreadsheet.

This Telegram Sheets payments automation hits freelancers first (because every missed payment matters), but agency owners and ops leads feel it too. You get a clean Google Sheet row for every transaction message, without copy-paste and without the “wait, was that $75 or $175?” moment.

Below is the workflow, what it changes day to day, and how to set it up so your ledger stays tidy even when Telegram gets noisy.

How This Automation Works

See how this solves the problem:

n8n Workflow Template: Telegram to Google Sheets, payments logged clean

The Challenge: Turning Telegram Payments Into a Reliable Ledger

Telegram is great for fast updates, but it’s a terrible accounting system. Transaction messages show up mixed with memes, client notes, and “can you resend that invoice?” replies. When you manually move those payment details into Google Sheets, the process is slow and oddly stressful. You have to re-read every message, interpret the format, then type it into the right column. And if you’re doing this from your phone, honestly, it’s even worse. One small mistake (a date, a missing digit, the wrong sender handle) can throw off reconciliation later and waste an afternoon you didn’t have.

The friction compounds fast. Here’s where it usually breaks down.

  • You end up copying the wrong amount or currency symbol because the message format changes slightly.
  • Messages get buried in group chats, so you miss transactions and your sheet looks “mostly right” until it doesn’t.
  • Someone pastes a reference ID with an extra character, and now matching payments to invoices becomes manual detective work.
  • You delay updates because it feels like admin work, which means the sheet stops being trusted by the team.

The Fix: Parse Telegram Transaction Messages Into Sheet Rows

This workflow listens for new messages in a Telegram chat (usually a private channel or a finance group). When a message arrives, it checks if it looks like a transaction, not random conversation. If it passes that filter, the workflow parses the text and pulls out the fields you actually care about: date, amount, sender (or receiver), and a transaction/reference ID. Then it writes a new row into Google Sheets with those values mapped into your columns. Instead of chat history being your “system,” the sheet becomes the source of truth, updated in real time. And because the logic is automated, you get consistency even when your day is chaotic.

The workflow starts with a Telegram trigger and a simple conditional check. From there, a parsing script extracts structured data using pattern matching (regex), and Google Sheets receives a clean, ready-to-filter row. No extra apps to babysit.

What Changes: Before vs. After

Real-World Impact

Say you get 10 payment notifications a day via Telegram. Manually, you might spend about 2 minutes per message to copy the amount, date, sender, and transaction ID into Google Sheets, plus another few minutes fixing one or two mistakes. That’s roughly 20–30 minutes daily, so about 2 hours a week. With this workflow, you spend maybe 10 minutes up front setting columns and mapping once, then new payments show up automatically as clean rows the moment the messages arrive.

Requirements

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Telegram to receive transaction notifications in chat.
  • Google Sheets to store the ledger as structured rows.
  • Telegram bot token (get it from BotFather in Telegram).

Skill level: Intermediate. You will connect accounts and may tweak a parsing pattern if your message format is unique.

Need help implementing this? Talk to an automation expert (free 15-minute consultation).

The Workflow Flow

A Telegram message arrives. The workflow starts the moment your bot sees a new message in the target chat or group, so you don’t need to forward anything manually.

Only transaction-like messages continue. An “Is this a transaction?” check filters out noise by matching your known patterns (like “Received: $75 from @john_doe…”), which keeps your sheet clean.

The text gets parsed into fields. A script extracts the amount, date, sender/receiver, and transaction/reference ID. If your notifications come in multiple formats, you can extend the patterns so it still works.

A new row is added to Google Sheets. The workflow maps each extracted value into the right column, so filtering by date, searching by ID, or sharing a view with a bookkeeper is painless.

You can easily modify the parsing rules to support your own bank alerts, payment processors, or localized date formats. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Telegram Trigger

Set up the workflow to listen for incoming Telegram messages that contain transaction data.

  1. Add or open Incoming Telegram Hook.
  2. Credential Required: Connect your telegramApi credentials.
  3. Set Updates to message.

Step 2: Connect Google Sheets

Configure the Google Sheets destination where parsed transactions will be appended.

  1. Add or open Update Spreadsheet Rows.
  2. Credential Required: Connect your googleSheetsOAuth2Api credentials.
  3. Set Operation to append.
  4. Select Document to [YOUR_ID] and Sheet to Sheet1 (gid 0).

Step 3: Set Up Message Filtering

Ensure only valid transaction-style messages are passed to the parser.

  1. Open Conditional Text Check.
  2. Set the string condition Left Value to {{$json.message.text}}.
  3. Set the operator to contains and Right Value to =.
⚠️ Common Pitfall: If your bank messages don’t contain an = symbol, the condition will block all messages. Adjust the Right Value to match your real message patterns.

Step 4: Configure the Parsing and Output Mapping

Parse the transaction message formats and map parsed fields into the spreadsheet columns.

  1. Open Transaction Parser Script and paste the provided JavaScript in Code to handle the three supported formats.
  2. In Update Spreadsheet Rows, map the column values to expressions: Date{{ $json.Date }}, Time{{ $json.Time }}, Amount{{ $json.Amount }}, Merchant{{ $json.Merchant }}, Card Ending{{ $json['Card Ending'] }}, Available Limit{{ $json['Available Limit'] }}.
If a message format isn’t matched, Transaction Parser Script outputs an error object. Consider adding a separate logging path later if you want to store unmatched messages.

Step 5: Test and Activate Your Workflow

Validate the full execution from Telegram message to Google Sheets row append.

  1. Click Execute Workflow and send a test Telegram message that matches one of the supported formats.
  2. Confirm that Conditional Text Check passes and Transaction Parser Script outputs parsed fields.
  3. Verify a new row appears in your Google Sheet from Update Spreadsheet Rows.
  4. Toggle the workflow to Active to enable continuous transaction logging.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Watch Out For

  • Telegram bot permissions matter. If your bot can’t “see” messages in a group, check group admin settings and confirm the correct chat ID in the Telegram Trigger node.
  • If your transaction message format varies, the parser may silently miss fields. When you change wording (or switch banks), revisit the regex inside the Transaction Parser Script node.
  • Google Sheets writes can fail if the sheet structure changes. If someone renames columns or rearranges them, re-check the mapping in the Update Spreadsheet Rows node first.

Common Questions

How quickly can I implement this Telegram Sheets payments automation?

About 30 minutes if your bot and sheet are ready.

Can non-technical teams implement this payment logging?

Yes. You’ll connect Telegram and Google Sheets, then paste in credentials and test with a sample message.

Is n8n free to use for this Telegram Sheets payments workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in any API costs if you add AI parsing later.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

How do I adapt this Telegram Sheets payments solution to my specific challenges?

Change the patterns inside the Transaction Parser Script node to match your message format. Common tweaks include supporting different currencies (like ₹), swapping date formats (29/05/2024 vs 2024-05-29), and capturing extra fields like “Paid to” vs “Received from.” If you want stricter filtering, tighten the Conditional Text Check node so only known payment templates get logged.

Why is my Telegram connection failing in this workflow?

Usually it’s the bot token, the wrong chat ID, or missing group permissions. Regenerate the token in BotFather if needed, then confirm the bot is actually added to the chat and allowed to read messages. If it works in a private chat but not a group, admin rights are the first thing to check.

What’s the capacity of this Telegram Sheets payments solution?

For most small teams, it comfortably handles hundreds of messages a day.

Is this Telegram Sheets payments automation better than using Zapier or Make?

Often, yes, especially if you need custom parsing and strict filtering. Zapier and Make are great for quick, simple flows, but message parsing tends to get awkward once you support multiple templates. n8n makes it easier to add conditional logic, run your own parsing script, and keep costs predictable if volume grows. Self-hosting also matters here because this template is built around custom/community nodes, which can be limiting on some hosted platforms. If you want help deciding, Talk to an automation expert and we’ll sanity-check your setup.

Once this is running, your payment log stops being a weekly cleanup project. The workflow handles the repetitive part, and your sheet stays ready for reconciliation whenever you need it.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal