The moment it happens
Log each sale to Airtable and get a Telegram ping
Every sale from your store is added to Airtable and you get a Telegram message with the product and amount.
- Runs
- The moment it happens
- Apps
- Airtable, Telegram
- AI
- Not needed
- Access
- Airtable write; bot token
Send this to your assistant
Create a ClickRuntime automation: when my store sends a sale webhook, add the sale to my Airtable 'Sales' table and send me a Telegram message with the product and amount.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A solo creator sells e-books and presets through an online store. They want every sale in Airtable so they can see which products sell and who buys twice, and they like knowing when a sale happens without opening the store dashboard all day.
Recording each sale in Airtable and pinging Telegram at the same moment gives them a clean sales table and a small, immediate nudge on the phone, with no manual export.
What you get out of it
Every sale in your own table
Product, amount, buyer email and date go into Airtable, ready for your own views and reports.
Know the moment it happens
A short Telegram message tells you what sold and for how much.
No double entries
Each sale id is remembered, so if the store resends the same sale it is recorded once.
Works with your existing store
Any store that can send a sale webhook can point at the trigger link.
How it works
What happens, step by step
Your store notifies a private ClickRuntime link each time a sale is made.
It checks the sale has not been logged already, so a repeated notice is ignored.
The sale is added to your Airtable Sales table.
You get a Telegram message with the product and amount.
Before it runs live
- Connect Airtable
- Connect Telegram
- 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
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Airtable and Telegram steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, state
BASE_ID, CHAT_ID = "appXXXXXXXXXXXXXX", "123456789"
@on_event
def handle(event):
sale = event.json or {}
sale_id = str(sale.get("sale_id") or event.event_id)
if state.get(f"sale:{sale_id}"):
return {"duplicate": True}
product = sale.get("product_name", "")
amount = round(float(sale.get("price") or 0) / 100, 2)
http.post(f"https://api.airtable.com/v0/{BASE_ID}/Sales",
headers={"Authorization": f"Bearer {credentials.connection('airtable', 'work')}"},
json={"typecast": True, "records": [{"fields": {"Sale ID": sale_id, "Product": product, "Amount": amount,
"Email": sale.get("email", ""), "Date": event.received_at[:10]}}]}).raise_for_status()
http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage",
json={"chat_id": CHAT_ID, "text": f"New sale: {product} for ${amount:.2f}"}).raise_for_status()
state.set(f"sale:{sale_id}", True)
return {"logged": sale_id}FAQ
Common questions
Will I get a ping for test sales?
Can my business partner get the pings too?
Which fields from the store are saved?
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
Look up and update Airtable records from a Telegram bot
You message your Telegram bot in plain words and it finds, adds or updates records in Airtable, then replies.
See how it worksSet reminders by Telegram message and get them on time
You tell your Telegram bot what to remind you about and when, it saves the reminder in Airtable, and sends it to you when it is due.
See how it worksTurn Telegram meeting notes into minutes in Airtable
You send rough notes to your Telegram bot after a meeting and tidy minutes with decisions and action items are saved in Airtable.
See how it worksKeep exploring
Set up “Log each sale to Airtable and get a Telegram ping” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.