Skip to content
Notis

Find related Elasticsearch records after a Drive deletion

A trashed file may be connected to work elsewhere. Search Elasticsearch for related records when it leaves Drive.

Trigger

File Deleted or Trashed

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

Action

Query Index

Searches an Elasticsearch index for documents.

Why this helps

Removing a file from Drive can hide context while references to the work remain in other systems.

  • Find indexed records that may reference the removed file.
  • Make follow-up review easier after a deletion or trash event.
  • See search results in a Notis run report.

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Elasticsearch once in the Notis portal.
  • 2Create a new automation in Automations, or tell Notis the outcome in plain language from any channel.
  • 3In one instruction, ask Notis to query a specified Elasticsearch index for records related to a Drive file that is trashed or deleted and summarize matches.
  • 4Choose the Google Drive File Deleted or Trashed trigger and select where run reports should go.
  • 5Test with a real event and review the report.

Questions about this workflow

Can Elasticsearch restore the Drive file?

No. The available action searches Elasticsearch; it does not restore files in Drive.

Can it find records if the event has no file details?

The search needs useful identifying information, such as a filename or other available context. Verify the event data and specify how Notis should search.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Elasticsearch actions

Recurring trigger

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

TriggerScheduled

Get Index Schema

View the structure and field mappings of an index.

ActionInstant

Webhook trigger

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

TriggerInstant

List Indices

Lists available Elasticsearch indices.

ActionInstant

Comment Added (Docs/Sheets/Slides)

Triggers when a comment is added to a document, spreadsheet, or presentation.

TriggerPolling

Query Index

Searches an Elasticsearch index for documents.

ActionInstant

File Created

Triggers when a new file is created in Drive.

TriggerPolling

Ping Cluster

Pings the cluster to check its connectivity and health.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

File Shared (Permissions Added)

Triggers when new sharing access is granted to a file or folder.

TriggerPolling

File Updated

Triggers when a file’s content or metadata changes.

TriggerPolling

Google Drive Changes

Triggers when changes are detected in Drive.

TriggerPolling

Connect any two apps with Notis in the middle.

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