Skip to content
Telegram

Connect Stripe and Telegram

Start a client’s workflow in Stripe and act in Telegram, or the other way round, on the client’s own accounts.

Each app by itself: Stripe integration and Telegram integration, with how to connect it, its scopes and its limits.

What the pair is used for

  • An owner who lives in Telegram can get a message within seconds of each Checkout or payment link payment, with the payer’s name, email, phone, the amount and the currency.
  • “Send a file” puts the PDF of each paid invoice into a chat, such as a group shared with the client’s bookkeeper, using the invoice’s own PDF link from Stripe.
  • A failed invoice payment can alert the chat with the amount due and the amount still owed, so someone follows up the same day.
  • A message sent to the client’s bot can start a workflow that makes a Stripe payment link for one price and replies with it.

Every way Stripe and Telegram join

A workflow starts from a trigger in one app and runs a step in the other, on the client’s accounts. Where the library has a starter for it, it installs that pairing into a client switched off; any other pairing is two steps on the canvas.

From Stripe to Telegram

Triggers in Stripe with steps in Telegram
When this happens in StripeThis runs in TelegramHow fastStarter
A customer pays (checkout or payment link)Send a messageWithin secondsInstall the starter
A customer pays (checkout or payment link)Send a photoWithin secondsTwo steps on the canvas
A customer pays (checkout or payment link)Send a fileWithin secondsTwo steps on the canvas
An invoice is paidSend a messageWithin secondsInstall the starter
An invoice is paidSend a photoWithin secondsTwo steps on the canvas
An invoice is paidSend a fileWithin secondsInstall the starter
A payment failsSend a messageWithin secondsInstall the starter
A payment failsSend a photoWithin secondsTwo steps on the canvas
A payment failsSend a fileWithin secondsTwo steps on the canvas

From Telegram to Stripe

Triggers in Telegram with steps in Stripe
When this happens in TelegramThis runs in StripeHow fastStarter
A message is sent to the botCreate a customerWithin secondsTwo steps on the canvas
A message is sent to the botMake a payment linkWithin secondsTwo steps on the canvas
A message is sent to the botSend an invoiceWithin secondsTwo steps on the canvas

Set up the starter

Send a message in Telegram when a customer pays (checkout or payment link) in Stripe

  1. 1Install the starter into the client from Templates → Library. It lands switched off.
  2. 2Connect the client’s Stripe, for “A customer pays (checkout or payment link)”
  3. 3Connect the client’s Telegram, for “Send a message”
  4. 4Fill in Telegram: Chat ID (For example -1001234567890 or @channel)
  5. 5Switch it on. Within seconds: Stripe tells us as it happens.
The installed workflow on the canvas: Stripe’s “A customer pays (checkout or payment link)” trigger leading to Telegram’s “Send a message” step.

What it produces

The Telegram step as it runs for an example client, Lakeview Consulting, when Emma Collins asks for a consultation: each value the starter fills in.

Chat ID
[Telegram: Chat ID]
Text
A customer pays (checkout or payment link) in Stripe. Their email: emma.collins@example.com Their name: Emma Collins Their phone: +44 7700 900461 Amount (in cents): 500.00 Currency: USD

Setup notes for this pair

  • The bot has to be a member of the chat, group or channel whose ID you give in “Telegram: Chat ID”. Stripe gives amounts in cents.
  • The file step takes files up to 4.5 MB from a web address, and the invoice PDF link comes straight from the paid invoice. A failed payment can message more than once for one invoice when Smart Retries try again.

Field mapping, starter by starter

Each value a starter’s step is given, and where it comes from. Words in brackets are filled in when it runs; change any of it after installing.

Send a message for checkout payments

Send a message in Telegram when a customer pays (checkout or payment link) in Stripe

The values Send a message in Telegram when a customer pays (checkout or payment link) in Stripe sends
Telegram valueFilled from
Chat ID[Telegram: Chat ID]
TextA customer pays (checkout or payment link) in Stripe. Their email: [the customer’s email, from Stripe] Their name: [the customer’s name, from Stripe] Their phone: [the customer’s phone, from Stripe] Amount (in cents): [the customer’s amount total, from Stripe] Currency: [the customer’s currency, from Stripe]

Send a file for paid invoices

Send a file in Telegram when an invoice is paid in Stripe

The values Send a file in Telegram when an invoice is paid in Stripe sends
Telegram valueFilled from
Chat ID[Telegram: Chat ID]
File url[the customer’s invoice pdf, from Stripe]

Send a message for paid invoices

Send a message in Telegram when an invoice is paid in Stripe

The values Send a message in Telegram when an invoice is paid in Stripe sends
Telegram valueFilled from
Chat ID[Telegram: Chat ID]
TextAn invoice is paid in Stripe. Their email: [the customer’s customer email, from Stripe] Their name: [the customer’s name, from Stripe] Amount paid (in cents): [the customer’s amount paid, from Stripe] Currency: [the customer’s currency, from Stripe] Invoice number: [the customer’s number, from Stripe]

Send a message for failed payments

Send a message in Telegram when a payment fails in Stripe

The values Send a message in Telegram when a payment fails in Stripe sends
Telegram valueFilled from
Chat ID[Telegram: Chat ID]
TextA payment fails in Stripe. Their email: [the customer’s customer email, from Stripe] Their name: [the customer’s name, from Stripe] Their phone: [the customer’s customer phone, from Stripe] Amount due (in cents): [the customer’s amount due, from Stripe] Still owed (in cents): [the customer’s amount remaining, from Stripe]

Stripe and Telegram and their logos are trademarks of their owners, used here only to say what Thrum works with; no endorsement is implied.

Thrum is cooking.

Get early access and you’ll be among the first in. Early members get a launch perk.