Refresh cached context after document updates
Document changes trigger a precise cache review so recurring AI work stays current.
Trigger
Document Updated
Triggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.
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
Caches can preserve stale guidance when source documents change without a deliberate refresh check.
- Reduce stale context risk
- Keep reusable prompts current
- Make cache decisions explicit
Setup
Build it in a few focused steps.
- 1Connect Google Docs and Anthropic administrator once in Notis.
- 2Create an automation named Updated Doc Cache Refresh.
- 3Tell Notis to compare the changed document context with the reusable prompt, mark valid and stale portions, and prepare the refresh.
- 4Pick Document Updated as the trigger and choose where run reports go.
- 5Test with one updated document.
Questions about this workflow
What if no cache refresh is needed?
Ask Notis to return a no-refresh result and explain which cached portions remain valid.
Can this compare versions?
Only if prior content or a baseline is supplied in the available context.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Docs to Anthropic administrator. A trigger fires from one place; an action lands in another.
Google Docs 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.
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 models
Tool to list available models. use when you need to see which models are available before selection.
Document Deleted
Triggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.
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.
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.
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.
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
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 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.