Prepare a PDF when a Drive file is shared
When you share a public webpage or document URL through Drive, Cloudlayer can create a PDF for review.
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
Convert URL to PDF
Tool to convert a url to pdf with full parameter support. use when you need advanced control over paper size, margins, headers/footers, or webhook callbacks.
Why this helps
A shared file can still need a separate export before teammates or clients can review it in a fixed format.
- Tie PDF preparation to a real sharing event
- Reduce follow-up exports after granting access
- Create a review copy from a URL with advanced PDF options
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Cloudlayer once in the Notis portal.
- 2Create an automation in Automations with a name and report channel.
- 3Tell Notis to use the newly shared file's public URL to create a PDF with Cloudlayer.
- 4Pick the Drive File Shared trigger and choose where run reports go.
- 5Test with a real file whose URL Cloudlayer can access.
Questions about this workflow
Will this make a PDF from any shared Drive file?
Cloudlayer's URL to PDF action needs a URL it can access. Confirm the shared file or page is publicly reachable and specify which shared items Notis should handle.
Does the sharing trigger include permission details?
The Google Drive File Shared event detects newly granted sharing permissions. Describe the intended file handling in your instruction to Notis.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Cloudlayer. A trigger fires from one place; an action lands in another.
Google Drive triggers
Cloudlayer actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add Storage
Tool to add a new user storage configuration. use when you need to attach an external bucket or container for file storage.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Asset
Tool to retrieve a specific asset by its id. use when you need to fetch metadata or download url of an existing asset after its generation.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Get API Status
Tool to test api reachability. use when checking if the cloudlayer api is available.
File Created
Triggers when a new file is created in Google Drive.
HTML to Image
Tool to convert base64-encoded html to an image. use when you need to render raw html or a url into png, jpeg, or webp after content load.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Convert HTML to PDF
Tool to convert html or a public url into a pdf document. use when you need programmatic pdf generation from html content.
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.
List Assets
Tool to list the ten most recent assets. use when you need to retrieve your latest cloudlayer assets.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
List Storage Configurations
Tool to retrieve a list of all storage configurations. use after authenticating to cloudlayer to view your account's storage settings.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Convert URL to Image
Tool to convert a webpage url to an image. use when dynamic screenshot parameters are needed.
Connect any two apps with Notis in the middle.
Google Drive and Cloudlayer, 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 Cloudlayer.