> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File Deleted

> Trigger when a file is deleted in Google Drive

## Subscribe

Send this request body to [Subscribe to a Trigger](/actionkit/triggers/api-reference/subscribe-to-trigger) to start listening for this event on behalf of your user:

```http Subscribe Request theme={null}
POST https://actionkit.useparagon.com/projects/{project_id}/trigger-subscriptions

Authorization: Bearer {Paragon User Token}
Content-Type: application/json

{
  "integration": "googledrive",
  "type": "GOOGLE_DRIVE_TRIGGER_FILE_DELETED",
  "parameters": {
    "triggerOnPermanentDeletionOnly": true
  }
}
```

**Configuration options:**

<ParamField path="triggerOnPermanentDeletionOnly" type="BOOLEAN_INPUT">
  Triggers only when a file is permanently deleted. If disabled, the workflow will trigger when a file is moved to the trash.

  * Default: `true`
</ParamField>
