Clean up Botsonic when source Docs are deleted
A deleted source can trigger a focused Botsonic cleanup decision before outdated data lingers.
Trigger
Document Deleted
Triggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.
Action
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.
Why this helps
Removed documents can leave obsolete knowledge in a chatbot with no clear cleanup handoff.
- Flags obsolete source data quickly
- Adds an explicit confirmation step
- Reduces stale answers from retired content
Setup
Build it in a few focused steps.
- 1Connect Google Docs and Botsonic in Notis once.
- 2Create an automation named Deleted Doc Botsonic cleanup.
- 3Tell Notis to find the matching Botsonic data identifier, ask for confirmation if uncertain, then delete the confirmed data.
- 4Choose Document Deleted and select a report channel.
- 5Test with a disposable document and matching data record.
Questions about this workflow
Will it delete data without an identifier?
No. The delete action requires a specific Botsonic data ID, so the workflow should stop and report when it cannot confirm one.
Does moving a document to trash trigger this?
Yes. The event describes an existing Google Doc being moved to trash.
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.
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.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
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.
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.
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.
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 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.
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.
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.
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.
Get All Bots
Tool to retrieve all bots associated with the account. use when you need to list existing bots after authentication.
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
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.
Document Updated
Triggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.
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.
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.