Skip to content
Notis

Retire a payment request when its campaign file is trashed

Close the loop between a retired campaign document and the payment request created for it, with clear identification before removal.

Trigger

File Deleted or Trashed

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

Action

Delete Payment Request

Tool to delete a specific payment request. use when you need to archive/remove an existing payment request for a store.

Why this helps

Removing an old campaign brief can leave its payment request active unless someone remembers to retire it too.

  • Connect a campaign retirement event to payment request cleanup
  • Keep the request identifier with its campaign context
  • Report when identification is incomplete

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and BTCPay Server once in the Notis portal.
  • 2Create an automation in Automations, New Automation, or tell Notis what you want from any channel.
  • 3In one instruction, ask Notis to delete only the payment request explicitly identified for the trashed campaign file, after confirming its store and request identifiers.
  • 4Pick the Google Drive File Deleted or Trashed trigger and choose where run reports should go.
  • 5Test with one real campaign example and verify the identified request before relying on the automation.

Questions about this workflow

Will it delete every request when any Drive file is trashed?

No. The instruction should limit deletion to a request explicitly identified for the designated campaign file, with the store and request identifiers confirmed.

What if the file does not identify a request?

Notis should stop and report that the request cannot be safely identified.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Btcpay server actions

Recurring trigger

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

TriggerScheduled

Create Payment Request

Tool to create a new payment request for a store. use after confirming store id.

ActionInstant

Webhook trigger

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

TriggerInstant

Create Store

Tool to create a new store in btcpay server. use when you need to provision a new store before processing transactions.

ActionInstant

Comment Added (Docs/Sheets/Slides)

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

TriggerPolling

Create BTCPay Server User

Tool to create a new btcpay server user. use when you need to register a new user programmatically as an administrator.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Register a Webhook

Tool to register a new webhook. use when you need to receive store event notifications.

ActionInstant

File Deleted or Trashed

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

TriggerPolling

Delete API Key

Tool to revoke a specific api key. use when you need to remove an api key to immediately prevent its use. call after identifying the key to revoke.

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

Delete Payment Request

Tool to delete a specific payment request. use when you need to archive/remove an existing payment request for a store.

ActionInstant

File Updated

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

TriggerPolling

Delete Store Payout

Tool to delete a specific payout from a store. use when you need to cancel a payout no longer needed.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Get API Key

Tool to retrieve the current api key. use after authentication to get api key details.

ActionInstant

Connect any two apps with Notis in the middle.

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