Skip to content
Notis

Check Botpress conversation context after a Drive deletion

A deleted document may leave open questions. Use the event to prompt a Botpress conversation review and collect the context you need.

Trigger

File Deleted or Trashed

Triggers when a file is moved to trash or permanently deleted in Drive.

Action

LIST_CONVERSATIONS

Tool to list all conversations. use when you need to retrieve and page through chat threads.

Why this helps

When a document disappears, relevant decisions or follow-ups may still be buried in bot conversations.

  • Turns a deletion event into a prompt to review relevant chat history.
  • Summarizes returned conversations for a run report.
  • Helps keep follow-up context visible when files are removed.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Botpress once in the Notis portal.
  • 2Create an automation and describe which Botpress conversations or context should be reviewed after a Drive deletion.
  • 3Pick the Google Drive File Deleted or Trashed trigger.
  • 4Choose where Notis should send run reports.
  • 5Test with a real deletion event and confirm the report includes useful context.

Questions about this workflow

Does the workflow restore or delete anything in Botpress?

No. The conversation action retrieves chat threads. It does not restore Drive files or modify Botpress data.

Can it determine which conversations relate to the deleted file?

The listed conversation action retrieves conversations but does not specify a file relationship. Provide a bot, topic, or other usable criteria in your instruction.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Botpress actions

Recurring trigger

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

TriggerScheduled

Delete File

Tool to delete a file by its id or key. use after confirming the file exists.

ActionInstant

Webhook trigger

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

TriggerInstant

Get Account

Tool to get details of the authenticated account. use after confirming valid credentials.

ActionInstant

Comment Added (Docs/Sheets/Slides)

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

TriggerPolling

LIST_BOT_ISSUES

Tool to list issues associated with a specific bot. use when you need to discover errors or configuration problems tied to a bot, optionally paginating through results.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

LIST_CONVERSATIONS

Tool to list all conversations. use when you need to retrieve and page through chat threads.

ActionInstant

File Deleted or Trashed

Triggers when a file is moved to trash or permanently deleted in Drive.

TriggerPolling

LIST_FILE_TAGS

Tool to list all tags used across all bot files. use when you need to retrieve or display file tag metadata; supports pagination via nexttoken.

ActionInstant

File Shared (Permissions Added)

Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.

TriggerPolling

LIST_FILE_TAG_VALUES

Tool to list all values for a given file tag across all files. use after determining the tag name; supports pagination via nexttoken.

ActionInstant

File Updated

Triggers when a file's metadata or content changes in Google Drive.

TriggerPolling

LIST_PUBLIC_WORKSPACES

Tool to retrieve a list of public workspaces. use when browsing publicly available workspaces before selection.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

LIST_WORKSPACES

Tool to retrieve a list of workspaces. use when you need to list and page through your botpress workspaces, optionally filtering by handle.

ActionInstant

Connect any two apps with Notis in the middle.

Google Drive and Botpress, 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 Botpress.