Review purchase context when a document is deleted
Turn document cleanup into a deliberate check on the data it represented.
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
List DPD Purchases
Tool to list all purchases made through your dpd account. use when you need to retrieve purchase records with optional date filters and pagination for reporting or analysis.
Why this helps
Deleting a document can remove useful context without a final review of related commercial activity.
- Create a final review point before cleanup
- Reduce accidental loss of commercial context
- Keep deletion decisions informed
Setup
Build it in a few focused steps.
- 1Connect Google Docs and Dpd2 in Notis once.
- 2Create an automation named Deleted doc purchase review.
- 3Tell Notis to list relevant DPD purchases and summarize what should be retained in the deletion report.
- 4Pick Google Docs Document Deleted as the trigger.
- 5Choose where reports go and test by moving one disposable document to trash.
Questions about this workflow
Can the deleted document be recovered by the workflow?
No. The available action retrieves DPD purchases and does not restore Google Docs.
What if the document was deleted by mistake?
Use the report as a prompt for your normal recovery process; restoration is outside these actions.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Docs to Dpd2. A trigger fires from one place; an action lands in another.
Google Docs triggers
Dpd2 actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Storefront
Tool to retrieve details of a specific storefront by its id. use when you need storefront metadata after you have its id.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
List DPD Customers
Tool to list customers in your dpd account. use when you need a filtered or paginated list of customers for reporting or synchronization.
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.
List DPD Purchases
Tool to list all purchases made through your dpd account. use when you need to retrieve purchase records with optional date filters and pagination for reporting or analysis.
Document Deleted
Triggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.
List Storefronts
Tool to list all storefronts in your dpd account. use after authenticating to fetch storefront details before managing products or purchases.
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.
List Subscribers
Tool to list subscribers for a given storefront. use when you need a paginated and filtered list of subscribers after storefront setup.
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.
DPD: Ping API
Tool to ping the api to check its status. use when verifying api connectivity before further operations.
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
Verify DPD Notification
Tool to verify a webhook notification's authenticity by posting back the original signature and payload. use after receiving a notification to confirm it originates from dpd.
Document Updated
Triggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.
Connect any two apps with Notis in the middle.
Google Docs and Dpd2, 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 Dpd2.