On a schedule
Get Telegram nudges for stale leads in your Notion CRM
Every weekday morning, leads you have not contacted in 7 days are sent to you on Telegram, each with a suggested follow-up message.
- Runs
- On a schedule
- Apps
- Notion, Telegram
- AI
- Yes, uses the built-in AI allowance
- Access
- Notion read; bot token
Send this to your assistant
Create a ClickRuntime automation: every weekday morning, find leads in my Notion CRM not contacted for 7 days and send me each one on Telegram with a suggested follow-up message.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A web designer keeps her leads in a Notion database: enquiries, people met at events, past clients who might need a redesign. She means to follow up with each of them, but client work always wins, and a lead that goes quiet for three weeks is usually lost.
This automation checks the CRM every weekday morning for leads whose last contact date is more than 7 days ago. Each one arrives on Telegram with a short follow-up message drafted from the notes in Notion, ready to adapt and send.
What you get out of it
Leads stop slipping through the cracks
Every lead that has gone quiet shows up in front of you. Following up on time is often the difference between a lead and a client.
A message ready to send
Each nudge comes with a follow-up drafted from your notes on that lead. Writing the first line is usually the hardest part, and it is done.
Fits into the start of your day
The nudges arrive on your phone each weekday morning. A few minutes of replies keeps your pipeline moving.
Your CRM stays the source
Leads, notes and dates stay in Notion where you already keep them. Update the last contacted date and the nudges stop.
How it works
What happens, step by step
Every weekday morning, ClickRuntime looks in your Notion CRM for open leads you last contacted more than 7 days ago.
For each one, AI drafts a short follow-up message based on the notes you keep on that lead.
Each lead is sent to you on Telegram with its name, the days since last contact and the suggested message.
Once you update the last contacted date in Notion, that lead stops appearing.
Before it runs live
- Connect Notion and share the database you want it to use
- Connect Telegram
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
- Run it at a different time, more or less often, or only on weekdays
- 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 Notion and Telegram steps into one automation
Under the hood
The code that runs this automation
from datetime import date, timedelta
from clickruntime import on_trigger, credentials, http, ai
DB_ID, CHAT_ID = "your-notion-crm-database-id", "your-telegram-chat-id"
@on_trigger
def run(event):
cutoff = str(date.today() - timedelta(days=7))
leads = http.post(f"https://api.notion.com/v1/databases/{DB_ID}/query",
headers={"Authorization": f"Bearer {credentials.connection('notion', 'work')}", "Notion-Version": "2022-06-28"},
json={"filter": {"and": [{"property": "Last contacted", "date": {"before": cutoff}},
{"property": "Status", "select": {"does_not_equal": "Closed"}}]}}).json()["results"]
token = credentials.secret("TELEGRAM_BOT_TOKEN") if leads else None
for lead in leads[:15]:
p = lead["properties"]
name = "".join(t["plain_text"] for t in p["Name"]["title"])
notes = "".join(t["plain_text"] for t in p["Notes"]["rich_text"])[:1000]
days = (date.today() - date.fromisoformat(p["Last contacted"]["date"]["start"][:10])).days
try:
draft = ai.generate(f"Lead: {name}\nNotes: {notes}", system="Write a short, friendly follow-up message (2-3 sentences).", max_output_tokens=150).text
except ai.AIError:
draft = f"Hi {name}, just checking in on our last conversation. Is now a good time to pick it up?"
http.post(f"https://api.telegram.org/bot{token}/sendMessage",
json={"chat_id": CHAT_ID, "text": f"{name}: {days} days since last contact\n{lead['url']}\n\n{draft}"})
return {"stale": len(leads)}FAQ
Common questions
What does the Notion database need?
Can I change the 7-day threshold?
Does it send the follow-up for me?
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
Save relevant RSS articles to Notion with Telegram alerts
Articles from your feeds that match your topics are saved to Notion with a summary, and the best ones are sent to you on Telegram.
See how it worksCheck SSL expiry for domains in Notion and warn on Telegram
Every domain in your Notion database is checked daily, its expiry date is updated, and you get a Telegram message for any expiring within 14 days.
See how it worksGet your Notion tasks as a Telegram digest
Each morning or each Sunday evening, your upcoming Notion tasks arrive on Telegram, grouped the way you plan.
See how it worksKeep exploring
Set up “Get Telegram nudges for stale leads in your Notion CRM” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.