Templates / Telegram payment, invoicing and refund workflow for Stars

Telegram payment, invoicing and refund workflow for Stars

Ready for 3.0

by Victor Gold ✓ · 2,369 views · created 2024-10-12 · Invoice Processing

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 21 nodes and runs when another workflow calls it (plus 2 other triggers). Along the way it connects Google Sheets and Telegram.

How it runs

Trigger: When another workflow calls it (plus 2 other triggers).

  1. Trigger Data (Edit Fields (Set)): sets or maps fields
  2. Data for Invoice (Edit Fields (Set)): sets or maps fields
  3. Bot API token (for refund) (Edit Fields (Set)): sets or maps fields
  4. Chat ID (Edit Fields (Set)): sets or maps fields
  5. Start Payment Workflow (Execute Sub-workflow): calls another n8n workflow
  6. Refund Data (Edit Fields (Set)): sets or maps fields
  7. Bot API token (Edit Fields (Set)): sets or maps fields
  8. Refund (HTTP Request): calls an HTTP API
  9. Actions (Switch): routes items into branches
  10. Event swticher (Switch): routes items into branches

…plus 5 more steps. See the full node list below.

Services it uses

Google SheetsTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

This workflow provides a complete solution for handling Telegram Stars payments, invoicing and refunds using n8n. It automates the process of sending invoices, managing pre-checkout approvals, recording transactions, and processing refunds for stars, making…

Excerpt from Victor Gold's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.