What agents do with OneDrive
- Security Questionnaire Automation With OneDriveA fleet software company drafts each prospect's security questionnaire from the approved answers its security lead keeps in OneDrive, then a person reviews it.Every security questionnaire from a prospectRun it
- Which Subcontractors Haven't Sent Their Lien Waivers This Month? Construction Software That Checks Each Contractor's OneDrive Before PaydayConstruction software makes one agent per general contractor, signed into its OneDrive, that checks each subcontractor's pay application folder for its lien waivers.Every pay cycle, one week before the pay dateRun it
- Which Supplier Prices Went Up This Month? A Field-Service App's Check of Each HVAC Contractor's OneDrive Price ListsField-service software makes one agent per HVAC contractor that compares the newest supplier price lists in OneDrive with the last and flags parts whose cost rose.Every new supplier price listRun it
- Read Supplier Invoice PDFs From Each Customer's OneDrive Into Draft BillsAccounts payable software makes one agent per customer that reads new supplier invoice PDFs in their OneDrive and returns checked fields for draft bills.Every new invoices, per customerRun it
- Flag Subcontractors' Expiring Insurance Certificates in Each Contractor's OneDriveConstruction software makes one agent per contractor that reads the insurance certificates in their OneDrive and lists policies expiring in the next 30 days.Every Monday morning, per contractorRun it
- Which Leases End in the Next 90 Days? Property Management Software Reads Each Manager's Signed Leases in OneDriveProperty management software makes one agent per customer, signed into their OneDrive, that reads signed leases monthly and lists those ending in the next 90 days.Every first of the monthRun it
- Which Clients Still Owe Us Documents? An Accounting Firm's Weekly Check of Client Folders in OneDriveAn accounting firm's agent compares each client's OneDrive folder with the firm's checklist every Monday and lists the documents each client still owes.Every Monday morning in the busy seasonRun it
- Summarize a Week of Daily Site Reports From OneDrive, One Page per Job SiteA general contractor's agent reads each site's daily reports from OneDrive every Friday and writes one page per job: delays, crews, inspections and missing days.Every Friday afternoonRun it
- Turn Each Cleaning Company's OneDrive Timesheets Into Payroll Hours: One Agent per CustomerPayroll software for cleaning companies makes one agent per customer that reads that week's crew timesheets from the owner's OneDrive and returns hours to approve.Every Friday, per customerRun it
How it works
- Connect OneDrive once
Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.
- Hand an agent the work
From the console, on a schedule, or with one API call that names
onedrive. - Get the result back
Files, an answer or a PR, with a record of every step the agent took.
For developers: how OneDrive connects
OneDrive is a built-in app: you sign in with your Microsoft account on its own page, through Rush's own app, so you register no OAuth app. The sign-in asks only for the scopes listed below, and the run's token reaches graph.microsoft.com, Microsoft Graph files.
Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.
After that, a run that names onedrive in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.
Scopes the sign-in asks for:
openidprofileemailoffline_accesshttps://graph.microsoft.com/User.Readhttps://graph.microsoft.com/Files.ReadWrite.All
POST https://api.phoenix.so/me/connections
{
"type": "app",
"name": "onedrive"
}Whose OneDrive account the agent uses
Your OneDrive connection is personal: it belongs to the person who signed in. A run started in the console uses that person's OneDrive, and a run started with an API key uses the OneDrive of the member who created the key.
To act for your own app's users, make each user an agent from your template and show them, signed in to your app, the sign-in link POST /o/{org}/agents/{agent}/connections returns. They sign in to their own OneDrive, and that agent's runs use their account and nothing else: never yours, never another user's.
More Productivity integrations
Frequently asked questions
How do I connect OneDrive to Rush?
Open Settings → Connections in the console and connect OneDrive, or send POST /me/connections with {"type":"app","name":"onedrive"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.
Does every run get my OneDrive account?
No. A run gets your OneDrive connection only when it names it in connections ("connections": ["onedrive"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.
What can an agent do in OneDrive?
Read and edit files. 9 published jobs use it; this page lists them.
Can my app's users connect their own OneDrive?
Yes. Make each user an agent from your template, and they sign in to their own OneDrive through the link POST /o/{org}/agents/{agent}/connections returns. That agent's runs use their account alone.
Keep reading
- AI agents for operations teams: every job and app for them
- How connections work: sign in once, then every run that names a connection gets it
- Start your first run from the developer API quickstart
- Pricing: one price per member, hours shared by the team
- How Rush compares with other cloud agents
- Every app and MCP server Rush connects to