Keep recurring metrics current automatically
When the source file changes, rerun the same metrics command and leave a dated result ready for review.
Trigger
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Action
Run Terminal Command
Run a command in the terminal and returns the stdout, stderr, and error code. use /home/user folder to write/read files.
Why this helps
Recurring analysis is easy to skip when the source update and the computation live in separate places.
- Keeps recurring numbers current
- Removes manual command repetition
- Leaves dated outputs for comparison
Setup
Build it in a few focused steps.
- 1Connect OneDrive and Codeinterpreter once in Notis.
- 2Create an automation named Refresh metrics output.
- 3Describe the outcome: retrieve the updated file, run the named terminal script, and save a dated result.
- 4Pick File Updated as the trigger and choose a report destination.
- 5Test with one real source update.
Questions about this workflow
Where does the script come from?
Name an existing script in the sandbox or instruct Notis to create one from your analysis requirements.
Can it preserve earlier results?
Yes. Tell it to use dated filenames or append results to a history file.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link One drive to Codeinterpreter. A trigger fires from one place; an action lands in another.
One drive triggers
Codeinterpreter actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Sandbox
Create a sandbox to execute python code in a jupyter notebook cell. this is useful for agents to communicate, execute code, see output, read files, write files, etc. it's like you own personal computer, but in the cloud. use /home/user folder to write/read files.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Execute Code
Execute python code in a sandbox and return any result, stdout, stderr, and error. use /home/user folder to write/read files. try to not use plt.show() as the code is executed remotely. use files for image/chart output instead.
Onedrivebasetrigger
Base trigger for OneDrive changes using Gmail-style state management. Subclasses override `filter_changes(...)` to extract only the relevant items.
Get File
Get a file from the sandbox and returns the file. the files should be read from /home/user folder.
OneDrive File Created Trigger
Triggers when a new file is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
Run Terminal Command
Run a command in the terminal and returns the stdout, stderr, and error code. use /home/user folder to write/read files.
File Updated
Trigger that fires when a OneDrive file's content or metadata changes. Returns file ID, last modified time, and modifier info.
Upload File
Upload a file to the sandbox environment. the files should be uploaded to the /home/user folder.
OneDrive Folder Created Trigger
Triggers when a new folder is created in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
OneDrive Item Deleted Trigger
Triggers when a file or folder is deleted in OneDrive. Uses Gmail-style state management for reliable duplicate prevention.
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.
Connect any two apps with Notis in the middle.
One drive and Codeinterpreter, 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 Codeinterpreter.