The moment it happens
Add new customers to HubSpot and get a Telegram alert
Every new sign-up or sale is added to HubSpot as a contact and you get a Telegram message straight away.
- Runs
- The moment it happens
- Apps
- HubSpot, Telegram
- AI
- Not needed
- Access
- crm.objects.contacts.write; Telegram bot
Send this to your assistant
Create a ClickRuntime automation: give me a link my sign-up form or checkout can send to. Add each new customer to HubSpot and send me a message on Telegram.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A founder running a small online product wants two things when someone signs up or buys: the person in the CRM so follow-up and onboarding can happen, and a ping on their phone, because in the early days every new customer is worth knowing about.
This takes each sign-up or sale as it happens, creates or updates the contact in HubSpot with what they bought, and sends a short Telegram message from your bot to you or your team's group.
What you get out of it
Every customer is in HubSpot
Sign-ups and buyers are added straight away, so onboarding emails and follow-up have someone to go to.
You hear about it on your phone
A Telegram message arrives within seconds, wherever you are.
Repeat buyers aren't duplicated
Contacts are matched by email, so a second purchase updates the same record.
The team can share the moment
Send alerts to a Telegram group, and everyone sees new customers as they arrive.
How it works
What happens, step by step
When someone signs up or buys, your form or checkout sends their details to ClickRuntime straight away.
It creates the person in HubSpot, or updates them if they're already a contact.
It marks them as a customer and records their plan.
A short message with their name and plan is sent to you or your group on Telegram.
Before it runs live
- Connect HubSpot
- 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 HubSpot and Telegram steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http
CHAT_ID = "123456789"
def telegram(text, chat_id=CHAT_ID):
http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage", json={"chat_id": chat_id, "text": text}).raise_for_status()
@on_event
def handle(event):
data = event.json or {}
email = (data.get("email") or "").strip().lower()
if not email:
return {"skipped": "no email"}
props = {"email": email, "firstname": data.get("name", ""), "company": data.get("company", ""),
"lifecyclestage": "customer", "plan": data.get("plan", "")}
r = http.post("https://api.hubapi.com/crm/v3/objects/contacts/batch/upsert",
json={"inputs": [{"idProperty": "email", "id": email, "properties": props}]},
headers={"Authorization": f"Bearer {credentials.connection('hubspot', 'work')}"})
r.raise_for_status()
telegram(f"New customer: {props['firstname']} ({props['company'] or email})\nPlan: {props['plan'] or 'n/a'}")
return {"contact": r.json()["results"][0]["id"]}FAQ
Common questions
What can send sign-ups to it?
What does the Telegram message include?
Does it create a deal as well?
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
Send lead details to your Telegram bot and save them in HubSpot
Forward or type a lead's details to your Telegram bot and they're saved as a HubSpot contact, with a link sent back to you.
See how it worksGet AI follow-up suggestions for your deals on Telegram
Each morning, deals sitting at Proposal sent get a suggested follow-up message delivered to you on Telegram.
See how it worksPost new orders and sign-ups to Slack
When something happens in your shop, app or form, the details land in the right channel straight away.
See how it worksKeep exploring
Set up “Add new customers to HubSpot and get a Telegram alert” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.