Keep reusable prompt context aligned with updated Drive files
Reference material changes over time. Use file updates as a cue to refresh prompt content that you intend to reuse across calls.
Trigger
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Action
Prompt Caching
Tool to cache and reuse prompt content to reduce costs and latency. use after you have static prompt portions you intend to reuse across calls.
Why this helps
Reusable instructions can drift out of date when their source documents change and nobody remembers to refresh them.
- Use document updates to prompt a refresh of reusable content.
- Reduce manual checks for changes to shared reference material.
- Keep a recurring prompt workflow aligned with the updated source.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Anthropic administrator once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name and prompt.
- 3In one instruction, ask Notis to use the updated file's available content to refresh the static prompt portions you intend to reuse with Anthropic Prompt Caching.
- 4Pick the Google Drive File Updated trigger and choose where run reports go.
- 5Test with one real file update and review the cached prompt content.
Questions about this workflow
What content should be cached?
Use stable prompt portions you intend to reuse across calls, such as recurring instructions or reference text. The action is for prompt content, not arbitrary file storage.
Does every file update mean the source content will be available?
The workflow can only use content returned to it. If updated file content is unavailable, the prompt should report that rather than assume what changed.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Anthropic administrator. A trigger fires from one place; an action lands in another.
Google Drive triggers
Anthropic administrator actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Message
Tool to create a new message completion. use when you need to generate assistant text given a conversation history.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Model
Tool to retrieve details of a specific model by its id. use after confirming the model id is valid.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
List models
Tool to list available models. use when you need to see which models are available before selection.
File Created
Triggers when a new file is created in Google Drive.
Prompt Caching
Tool to cache and reuse prompt content to reduce costs and latency. use after you have static prompt portions you intend to reuse across calls.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
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.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Connect any two apps with Notis in the middle.
Google Drive and Anthropic administrator, 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 Anthropic administrator.