Prepare a PDF when you share a Drive file
Sharing a document can be the cue to prepare a portable copy. Let Notis request a DocRaptor PDF when Drive reports new sharing permissions.
Trigger
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.
Action
Create Document
Tool to create a PDF or Excel document synchronously from HTML content or URL. Use when you need to generate a document file from HTML data. The document is returned immediately as a downloadable file. Either document_content or document_url must be provided, but not both.
Why this helps
A file gets shared, but the PDF counterpart needed for review or distribution is still missing.
- Tie document preparation to the sharing event
- Reduce extra steps after granting file access
- Use DocRaptor only when an HTML source or URL is available
Setup
Build it in a few focused steps.
- 1Connect Google Drive and DocRaptor once in the Notis portal.
- 2Create an automation in Notis and name it.
- 3Tell Notis to create a PDF from the shared file's available HTML or URL and to report when no suitable input exists.
- 4Choose the Google Drive File Shared trigger and select where run reports should go.
- 5Test by sharing one real file with a usable HTML body or URL.
Questions about this workflow
Does the trigger tell Notis exactly who was granted access?
The event indicates that new sharing permissions were added. Specify the outcome you want from the event data available to Notis.
Can the PDF be created if the file is only a native Google Doc?
DocRaptor requires HTML content or a URL. Use the workflow only when the event context provides a suitable source.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to DocRaptor. A trigger fires from one place; an action lands in another.
Google Drive triggers
DocRaptor actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Async Document
Tool to create documents asynchronously from HTML content. Use when generating PDF, XLS, or XLSX documents and you need to poll for completion status or use a callback URL for notification.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Document
Tool to create a PDF or Excel document synchronously from HTML content or URL. Use when you need to generate a document file from HTML data. The document is returned immediately as a downloadable file. Either document_content or document_url must be provided, but not both.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Create Document from Referrer
Tool to convert webpages into documents using referrer-based authentication without an API key. Use when you need to generate PDFs or Excel files from registered domains without explicit API credentials.
File Created
Triggers when a new file is created in Google Drive.
Create Hosted Async Document
Tool to create a hosted document asynchronously. Use when you need to generate a PDF, XLS, or XLSX document and track its completion status via callback_url or the status API.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Download Async Document
Tool to download a completed asynchronous document using the download URL from status response. Use when you have a download_id and need to retrieve the generated document file.
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.
Get Async Document Status
Tool to check the status of an asynchronously created document. Use when monitoring progress of async documents by polling for completion status.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
List Documents (JSON)
Tool to retrieve a paginated list of previously created documents with metadata in JSON format. Use when you need to see document creation history or query past documents.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
List Documents (XML)
Tool to retrieve a paginated list of previously created documents with metadata in XML format. Use when you need to see document creation history or query past documents in XML format.
Connect any two apps with Notis in the middle.
Google Drive and DocRaptor, 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 DocRaptor.