Skip to content
Notis

Replace obsolete Botsonic files after a Doc grows

When a source becomes substantial enough for a new version, prompt a careful cleanup of its old upload.

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

Delete Uploaded File

Tool to delete a specific uploaded file by its id. use when you need to remove a file from the bot's data repository after confirming the file id.

Why this helps

Versioned documents leave duplicate Botsonic files that can confuse maintenance.

  • Pairs readiness with cleanup
  • Reduces duplicate source files
  • Requires a confirmed file ID before deletion

Setup

Build it in a few focused steps.

  • 1Connect Google Docs and Botsonic in Notis once.
  • 2Create an automation named Threshold file replacement review.
  • 3Tell Notis to identify the confirmed obsolete Botsonic uploaded file linked to the document and delete it only after verification.
  • 4Choose Document Word Count Threshold and select where reports go.
  • 5Test with a noncritical file and threshold.

Questions about this workflow

Why is verification needed?

The delete uploaded file action requires the unique file ID, and deleting the wrong file could remove useful source material.

Does this upload the new document too?

No. This workflow handles cleanup only; pair it with a separate upload workflow if needed.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Google Docs to Botsonic. A trigger fires from one place; an action lands in another.

Google Docs triggers

Botsonic actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Bulk Upload Bot URLs

Tool to bulk upload urls for bot training. use when you need to upsert multiple document urls into a bot in one request.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Delete Bot Data

Tool to delete specific bot data using its id. use when you need to remove outdated or irrelevant data after confirming the data identifier.

ActionInstant

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.

TriggerPolling

Delete Starter Question

Tool to delete a specific starter question by its unique identifier. use after confirming the id of the starter question you want to remove.

ActionInstant

Document Deleted

Triggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.

TriggerPolling

Delete Uploaded File

Tool to delete a specific uploaded file by its id. use when you need to remove a file from the bot's data repository after confirming the file id.

ActionInstant

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.

TriggerPolling

Get All Bot Data

Tool to retrieve all data associated with the bot, including files and resources. use when you need a comprehensive export of bot assets for backup or inspection.

ActionInstant

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.

TriggerPolling

Get All Bots

Tool to retrieve all bots associated with the account. use when you need to list existing bots after authentication.

ActionInstant

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

TriggerPolling

Get All Conversations

Tool to retrieve all conversations related to the bot. use after authentication when you need a paginated list of conversation threads for review or analytics.

ActionInstant

Document Updated

Triggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.

TriggerPolling

Get All FAQs

Tool to retrieve all frequently asked questions associated with the bot. use after authenticating the bot and when you need to list or manage its faq entries.

ActionInstant

Connect any two apps with Notis in the middle.

Google Docs and Botsonic, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Botsonic.