Send Google Docs to Telegram when they hit a milestone
You're writing a long-form piece and want to share it once it's substantial enough for review. This automation detects when your Google Doc crosses a word count threshold and sends it to Telegram automatically.
Trigger
Document Word Count Threshold
Triggers when a Google Doc's word/character count crosses a user-defined threshold. This trigger monitors a specific Google Doc and fires when its word or character count becomes greater than or equal to the configured threshold value.
Action
Send Document
Send general files (documents) to a telegram chat using the bot api.
Why this helps
You write incrementally and want feedback at specific milestones (e.g., when you hit 2,000 words). Manually exporting and sharing the doc is tedious and breaks focus.
- Share content at the right time without manual export steps
- Maintain focus on writing without context switching
- Keep reviewers in the loop at key checkpoints
Setup
Build it in a few focused steps.
- 1Connect Google Docs and Telegram to Notis.
- 2Ask Notis: 'When my Google Doc reaches 2,000 words, send it to my Telegram channel as a file.'
- 3Specify the target word count.
- 4Select 'Document Word Count Threshold' as the trigger.
- 5Write until you hit the threshold and verify the document appears in Telegram.
Questions about this workflow
Can I set multiple word count thresholds?
Yes. Create separate automations for different milestones (e.g., 1,000 words, 2,500 words, 5,000 words).
Will the document be editable in Telegram, or just a downloadable file?
Notis sends it as a downloadable document file. For live collaboration, include a link to the Google Doc in the message.
What if I delete content and the word count drops below the threshold?
The trigger fires based on crossing the threshold upward. It won't fire again until the count goes below and then exceeds the threshold again.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Docs to Telegram. A trigger fires from one place; an action lands in another.
Google Docs triggers
Telegram actions
New Document Created
Triggers when a new Google Doc is created. This trigger monitors Google Docs and fires when new documents are detected. Uses timestamp filtering to efficiently poll for new documents.
Answer Callback Query
Use this method to send answers to callback queries sent from inline keyboards. the answer will be displayed to the user as a notification at the top of the chat screen or as an alert.
Document Deleted
Triggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.
Delete Message
Delete a message, including service messages, with certain limitations.
Document Placeholder Filled
Triggers when a Google Doc's plain text changes such that a configured placeholder token/pattern is no longer present (i.e., the document has been filled in). This trigger monitors a specific Google Doc and fires when a placeholder pattern that was previously present is no longer found in the document's plain text.
Edit Message
Edit text messages sent by the bot.
Document Search Update
Triggers when a Google Doc matching a user-defined search query is newly created or updated since the last poll. This trigger uses timestamp filtering to efficiently monitor documents.
Export Chat Invite Link
Generate a new primary invite link for a chat; any previously generated primary link is revoked. the bot must be an administrator in the chat for this to work and must have the appropriate administrator rights.
Document Structure Changed
Triggers when a Google Doc's structure changes (headers/footers added/removed, tables/images count changes). This trigger monitors a specific document for structural changes like: - Headers added or removed - Footers added or removed - Tables added or removed - Images (inline objects) added or removed - Positioned objects added or removed - Footnotes added or removed
Forward Message
Forward messages of any kind. service messages can't be forwarded.
Document Updated
Triggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.
Get Chat Info
Get up to date information about the chat (current name of the user for one-on-one conversations, current username of a user, group or channel, etc.).
Document Word Count Threshold
Triggers when a Google Doc's word/character count crosses a user-defined threshold. This trigger monitors a specific Google Doc and fires when its word or character count becomes greater than or equal to the configured threshold value.
Get Chat Administrators
Get a list of administrators in a chat. on success, returns an array of chatmember objects that contains information about all chat administrators except other bots.
New Folder Created in Root
Triggers when a new folder is created in the root folder of Google Drive. This trigger monitors Google Drive and fires when new folders are detected in the root directory.
Get Chat History
Get chat history messages. note: this uses the getupdates method with specific parameters to retrieve historical messages.
Connect any two apps with Notis in the middle.
Not just Google Docs and Telegram. Any combination from 985+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Telegram.
