Skip to content

The moment it happens

Turn Telegram notes into a proposal in Google Docs

Send /proposal and your rough notes to your Telegram bot and get back a link to a formatted proposal in Google Docs.

Runs
The moment it happens
Apps
Google Docs, Telegram
AI
Yes, uses the built-in AI allowance
Access
service account with Drive folder access; bot token

Send this to your assistant

Create a ClickRuntime automation: when I send /proposal plus my notes to my Telegram bot, write a proposal with AI, create a Google Doc with it in my Proposals folder and reply with the link.

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

The owner of a small web agency often leaves a client meeting with a clear idea of the project but no time to write it up. By the evening the details have faded, and the proposal goes out two days later than it should. Most of the effort is turning scattered notes into a document with the right sections.

Typing the key points into Telegram on the way out of the meeting, and getting a structured draft back as a Google Doc, means the proposal is half done before the next meeting starts. Agency owners, consultants and freelancers use it for proposals, project plans and meeting write-ups.

What you get out of it

  • Capture the details while they are fresh

    You write the notes straight after the meeting, from your phone. Nothing important is lost waiting for a free hour at a desk.

  • A first draft in the right shape

    The notes come back as a document with a summary, scope, timeline and next steps. You spend your time correcting and pricing instead of formatting.

  • Proposals go out sooner

    A same-day proposal shows the client you were listening and keeps the momentum from the meeting. Speed is often what wins small projects.

  • Everything lands in one folder

    Each draft is saved to your Proposals folder in Drive, named after the client. Finding last month's proposal to reuse a section is quick.

How it works

What happens, step by step

  1. When you send a message starting with /proposal to your Telegram bot, ClickRuntime picks it up straight away.

  2. AI turns your notes into a proposal with a summary, scope, timeline and next steps.

  3. A new Google Doc is created in your Proposals folder with that text.

  4. The bot replies in Telegram with the link to the new doc.

Before it runs live

  • Connect Google Docs
  • Connect Telegram
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Turn Telegram notes into a proposal in Google Docsjust nowSucceeded
Telegram · Proposals botDraft ready: Website rebuild for Northwind Traders. https://docs.google.com/document/d/1AbC…/edit

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

  • 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 Google Docs 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.
reports_and_proposals_drafted_to_a_doc_from_telegram.pyexample
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_event, credentials, http, ai

FOLDER_ID = "your-proposals-folder-id"

@on_event
def handle(event):
    msg = (event.json or {}).get("message") or {}
    text = msg.get("text", "")
    if not text.startswith("/proposal"):
        return {"skipped": True}
    notes = text[len("/proposal"):].strip()
    draft = ai.generate(f"Write a client proposal from these meeting notes. First line: a short title naming the client. "
                        f"Then sections Summary, Scope, Timeline, Investment, Next steps.\n\n{notes}", max_output_tokens=1800).text
    title = draft.split("\n", 1)[0].strip("# ")[:100]
    creds = Credentials(credentials.connection("google", "work"))
    file = build("drive", "v3", credentials=creds, cache_discovery=False).files().create(
        body={"name": title, "mimeType": "application/vnd.google-apps.document", "parents": [FOLDER_ID]}, fields="id").execute()
    build("docs", "v1", credentials=creds, cache_discovery=False).documents().batchUpdate(documentId=file["id"], body={
        "requests": [{"insertText": {"location": {"index": 1}, "text": draft}}]}).execute()
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage", json={
        "chat_id": msg["chat"]["id"], "text": f"Draft ready: https://docs.google.com/document/d/{file['id']}/edit"})
    return {"doc_id": file["id"]}

FAQ

Common questions

What should I include in my notes?
The client name, what they want, any budget or deadline mentioned and anything they were worried about. Short bullet points are enough; the more specific the notes, the better the draft.
Can I use it for documents other than proposals?
Yes. You can add commands such as /plan or /report, each with its own set of headings, so the same bot drafts several kinds of document.
Can my team edit the draft?
The doc is created in a shared Drive folder, so anyone with access to that folder can open, comment on and edit it like any other Google Doc.
What permissions does it need?
service account with Drive folder access; 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 for each event the app sends.
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 “Turn Telegram notes into a proposal in Google Docs” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.