Find Cody documents after a OneDrive move
A moved file does not break your ability to find its knowledge.
Trigger
Item Moved or Renamed
Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.
Action
List Documents
Tool to retrieve all documents from Cody AI account with optional filtering. Use when you need to list documents by folder, conversation, or search by keyword. Returns document details including learning status and content URL.
Why this helps
Path changes make source references hard to locate across a knowledge base.
- Restores discoverability
- Supports accurate cleanup
- Reduces broken references
Setup
Build it in a few focused steps.
- 1Connect OneDrive and Cody in Notis once.
- 2Create an automation named Find moved source documents.
- 3Tell Notis to search Cody using the old and new OneDrive names or paths and report likely matches.
- 4Pick the Item Moved or Renamed trigger and a report channel.
- 5Test with one renamed file.
Questions about this workflow
Does this update the documents?
No. It searches and reports matching Cody documents.
Can it use both old and new names?
Yes. The trigger includes old and new path or name data.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to Cody. A trigger fires from one place; an action lands in another.
One drive triggers
Cody actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Conversation
Tool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Document
Tool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Create Document From File
Tool to create a document by uploading a file (up to 100 MB). Supports txt, md, rtf, pdf, ppt, pptx, pptm, doc, docx, docm formats. Use when you need to add file-based documents to Cody's knowledge base. The file is processed asynchronously.
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Create Document from Webpage
Tool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensure the URL is publicly accessible and not blocked by a firewall.
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Create Folder
Tool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
OneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Delete Conversation
Tool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
OneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Delete Document
Tool to delete a document by id. Use when removing a document that is no longer needed.
Item Moved or Renamed
Triggers when a file or folder is moved to a different path or renamed in OneDrive. Includes both old and new path/name data in the payload.
Get Conversation
Tool to fetch a conversation by its ID from Cody AI. Use when you need to retrieve details about a specific conversation. Supports optional includes parameter to filter response to list document IDs.
Connect any two apps with Notis in the middle.
One drive and Cody, 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 Cody.