Skip to content

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.

Paste it into your assistant. It tells you what it will send or change before it runs live.

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

  1. Every weekday morning, ClickRuntime looks in your Notion CRM for open leads you last contacted more than 7 days ago.

  2. For each one, AI drafts a short follow-up message based on the notes you keep on that lead.

  3. Each lead is sent to you on Telegram with its name, the days since last contact and the suggested message.

  4. 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

RunsOn a schedule
Get Telegram nudges for stale leads in your Notion CRMtoday, 9:00Succeeded
Telegram · Sales nudgesAcme Bakery: 9 days since last contact. Suggested: Hi, I've put together two homepage ideas for the spring menu. Shall I send them over?

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
nudge_me_about_stale_leads_in_my_notion_crm.pyexample
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?
A name, a Last contacted date property and a notes or context property. A status property lets you leave out leads marked as won or lost.
Can I change the 7-day threshold?
Yes. Set it to any number of days, or use different thresholds for different lead stages, such as 3 days for hot leads.
Does it send the follow-up for me?
No. The suggested message comes to you on Telegram, and you decide whether and how to send it, so every follow-up stays personal.
What permissions does it need?
Notion read; bot token. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

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.