The moment it happens
Ping Telegram and text the customer on every new sale
Each new sale or lead pings you on Telegram, and the customer gets a thank-you text within seconds.
- Runs
- The moment it happens
- Apps
- Telegram, Twilio
- AI
- Optional
- Access
- Telegram bot; Twilio messaging
Send this to your assistant
Create a ClickRuntime automation: when a new sale or lead comes in, message me on Telegram with the details and send the customer a short SMS.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A small online shop owner wants to know the moment an order lands, but doesn't want to sit in an email inbox all day. Customers, meanwhile, like a quick text confirming their order went through, especially for local pickups and bookings.
Each new sale or lead now does both: a Telegram message tells you who bought what, and the customer gets a short, friendly SMS from your Twilio number.
What you get out of it
Know about every sale as it happens
A Telegram ping on your phone is hard to miss and easy to glance at, without opening a dashboard.
Customers hear from you straight away
A text arriving seconds after checkout reassures people that the order or enquiry was received.
Leads followed up while they're warm
A quick SMS to a new lead starts the conversation before they have moved on to someone else.
One event, two messages, no copying
Nobody has to retype a phone number or order total into another tool.
How it works
What happens, step by step
Your shop or form sends ClickRuntime the new sale or lead.
You get a Telegram message with the name, item and amount.
If the customer left a phone number, they get a short thank-you text from your Twilio number.
Each sale is handled once, even if your shop sends the same event twice.
Before it runs live
- Connect Telegram
- Connect Twilio
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Telegram and Twilio steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, state
from twilio.rest import Client
@on_event
def handle(event):
if state.get(event.event_id):
return {"duplicate": True}
sale = event.json or {}
token = credentials.secret("TELEGRAM_BOT_TOKEN")
http.post(f"https://api.telegram.org/bot{token}/sendMessage",
json={"chat_id": "123456789", "text": f"New sale: {sale.get('name')} bought {sale.get('item')} ({sale.get('amount')})"})
if sale.get("phone"):
first = (sale.get("name") or "there").split(" ")[0]
sms = Client(credentials.secret("TWILIO_ACCOUNT_SID"), credentials.secret("TWILIO_AUTH_TOKEN"))
sms.messages.create(to=sale["phone"], from_="+15550199",
body=f"Thanks {first}! We've got your order for {sale.get('item')}.")
state.set(event.event_id, True)
return {"notified": True, "sms": bool(sale.get("phone"))}FAQ
Common questions
Where do sales and leads come from?
Can the SMS mention what they bought?
What if the customer gave no phone number?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Log receipts by sending a photo to Telegram
Snap a receipt, send it to your bot, and the merchant, date and amount are logged, with an SMS confirming what was saved.
See how it worksText back missed callers and tell me on Telegram
When you miss a call, the caller gets a text straight away and you get a Telegram message with their number.
See how it worksSend a daily quiz question to Telegram and SMS
Every morning one new question from your list goes to your Telegram group and your SMS subscribers, with no repeats until the list runs out.
See how it worksKeep exploring
Set up “Ping Telegram and text the customer on every new sale” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.