---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Amazon S3 + OneDrive Integrations: Connect with Zapier MCP
> zapier.com/apps/amazon-s3/integrations/onedrive
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Amazon S3 and OneDrive in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `amazon-s3` and `onedrive`, then `enable_zapier_action`. If Amazon S3 or OneDrive isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: once Copy File or Folder is enabled, call `onedrive_copy_file_or_folder`. Each operation below lists its MCP tool name.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "onedrive", owner: "me" });

const { data } = await zapier.runAction({
  app: "onedrive",
  actionType: "write",
  action: "copyFileOrFolder",
  connection: connection.id,
  inputs: {},
});
```

- **CLI**:

```bash
npx zapier-sdk run-action onedrive write copyFileOrFolder \
  --inputs '{}'
```

## Amazon S3

### Identity
Amazon Simple Storage Service is a fully redundant data storage system. It makes it easy to store and retrieve any amount of data, anytime, from anywhere.

- App slug: amazon-s3
- Operations published here: 6 (2 events, 3 functions, 1 query)

### Authentication
Zapier connects to Amazon S3 via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection amazon-s3
```

### Capabilities

#### Events (2)

Events fire when something happens in Amazon S3. Use them to start a run.

##### New Bucket
Triggers when you add a new bucket.

- Type: read · Key: `bucket`
- Requires: nothing
- MCP tool: `amazon_s3_new_bucket` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "amazon-s3", actionType: "read", action: "bucket" })`
- CLI: `npx zapier-sdk run-action amazon-s3 read bucket`

##### New or Updated File
Triggers when you add or update a file in a specific bucket. The bucket must contain less than 10,000 total files.

- Type: read · Key: `file`
- Requires: bucket
- Optional: folder
- MCP tool: `amazon_s3_new_or_updated_file` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "amazon-s3", actionType: "read", action: "file" })`
- CLI: `npx zapier-sdk run-action amazon-s3 read file`

#### Functions (3)

Functions change something in Amazon S3.

##### Create Bucket
Create a new bucket.

- Type: write · Key: `bucket`
- Requires: name
- MCP tool: `amazon_s3_create_bucket` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "amazon-s3", actionType: "write", action: "bucket" })`
- CLI: `npx zapier-sdk run-action amazon-s3 write bucket`

##### Upload File
Copy an already-existing file or attachment from the trigger service.

- Type: write · Key: `file`
- Requires: key, file
- Optional: bucket_name, keep_leading_slash, mimetype
- MCP tool: `amazon_s3_upload_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "amazon-s3", actionType: "write", action: "file" })`
- CLI: `npx zapier-sdk run-action amazon-s3 write file`

##### Create Text Object
Creates a brand new text file from plain text content you specify.

- Type: write · Key: `text_object`
- Requires: key, content
- Optional: bucket_name, keep_leading_slash
- MCP tool: `amazon_s3_create_text_object` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "amazon-s3", actionType: "write", action: "text_object" })`
- CLI: `npx zapier-sdk run-action amazon-s3 write text_object`

#### Queries (1)

Queries read from Amazon S3 and return data. They change nothing.

##### Get Object
Gets the object with the specified URL.

- Type: search · Key: `object`
- Requires: s3Url
- MCP tool: `amazon_s3_get_object` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "amazon-s3", actionType: "search", action: "object" })`
- CLI: `npx zapier-sdk run-action amazon-s3 search object`

## OneDrive

### Identity
OneDrive, Microsoft's file sync app formerly known as SkyDrive, lets you store your files online, edit Office documents in the free Office Web Apps, and easily access your online files from your PC.

- App slug: onedrive
- Operations published here: 20 (3 events, 11 functions, 6 queries)

### Authentication
Zapier connects to OneDrive via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.130.2 and @zapier/zapier-sdk-cli v0.93.2; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection onedrive
```

### Capabilities

#### Events (3)

Events fire when something happens in OneDrive. Use them to start a run.

##### New File
Triggers when a new file is created in the personal drive.

- Type: read · Key: `new_file`
- Requires: nothing
- Optional: folder
- MCP tool: `onedrive_new_file` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "read", action: "new_file" })`
- CLI: `npx zapier-sdk run-action onedrive read new_file`

##### New Folder
Triggers when a new folder is created in the personal drive.

- Type: read · Key: `new_folder`
- Requires: nothing
- Optional: folder
- MCP tool: `onedrive_new_folder` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "read", action: "new_folder" })`
- CLI: `npx zapier-sdk run-action onedrive read new_folder`

##### New or Updated File
Triggers when a file is created or modified in the selected folder.

- Type: read · Key: `new_or_updated_file`
- Requires: nothing
- Optional: copy, folder
- MCP tool: `onedrive_new_or_updated_file` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "read", action: "new_or_updated_file" })`
- CLI: `npx zapier-sdk run-action onedrive read new_or_updated_file`

#### Functions (11)

Functions change something in OneDrive.

##### Copy File or Folder
Copy a file or folder to a new location.

- Type: write · Key: `copyFileOrFolder`
- Requires: nothing
- Optional: copy, directory, folder, newName, conflictBehavior, childrenOnly, includeVersionHistory
- MCP tool: `onedrive_copy_file_or_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "copyFileOrFolder" })`
- CLI: `npx zapier-sdk run-action onedrive write copyFileOrFolder`

##### Delete File or Folder
Deletes a file or folder, moving it to the Recycle Bin.

- Type: write · Key: `deleteItem`
- Requires: directory
- Optional: copy
- MCP tool: `onedrive_delete_file_or_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "deleteItem" })`
- CLI: `npx zapier-sdk run-action onedrive write deleteItem`

##### Export File
Exports a file to PDF or HTML format.

- Type: write · Key: `export_file`
- Requires: fileId, export_format
- Optional: copy, sharedNote, folder
- MCP tool: `onedrive_export_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "export_file" })`
- CLI: `npx zapier-sdk run-action onedrive write export_file`

##### Upload File
Upload a file.

- Type: write · Key: `file`
- Requires: file
- Optional: sharedNote, folder, name
- MCP tool: `onedrive_upload_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "file" })`
- CLI: `npx zapier-sdk run-action onedrive write file`

##### Create Folder
Create a new folder.

- Type: write · Key: `folder`
- Requires: folderName
- Optional: copy, folder
- MCP tool: `onedrive_create_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "folder" })`
- CLI: `npx zapier-sdk run-action onedrive write folder`

##### Move or Rename File or Folder
Moves a file or folder to a different location. Optionally rename the item.

- Type: write · Key: `move_or_rename_item`
- Requires: nothing
- Optional: copy, folderList, folder, newName
- MCP tool: `onedrive_move_or_rename_file_or_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "move_or_rename_item" })`
- CLI: `npx zapier-sdk run-action onedrive write move_or_rename_item`

##### Remove Item Permission
Remove a specific user or link’s access to a file or folder. Provide either email address or permission ID.

- Type: write · Key: `remove_item_permission`
- Requires: directory
- Optional: email, permissionId
- MCP tool: `onedrive_remove_item_permission` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "remove_item_permission" })`
- CLI: `npx zapier-sdk run-action onedrive write remove_item_permission`

##### Replace File
Replaces a file with new content.

- Type: write · Key: `replace_file`
- Requires: fileId, file
- Optional: copy, folder, newName
- MCP tool: `onedrive_replace_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "replace_file" })`
- CLI: `npx zapier-sdk run-action onedrive write replace_file`

##### Create Sharing Invitation
Send a sharing invitation to specific recipients for a file or folder in a personal drive.

- Type: write · Key: `shareInvitation`
- Requires: recipients, roles
- Optional: directory, message, requireSignIn, sendInvitation, expirationDateTime, retainInheritedPermissions
- MCP tool: `onedrive_create_sharing_invitation` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "shareInvitation" })`
- CLI: `npx zapier-sdk run-action onedrive write shareInvitation`

##### Create Sharing Link
Create a sharing link for a file or folder in a personal drive.

- Type: write · Key: `shareLink`
- Requires: type
- Optional: directory, scope, expirationDateTime, retainInheritedPermissions
- MCP tool: `onedrive_create_sharing_link` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "shareLink" })`
- CLI: `npx zapier-sdk run-action onedrive write shareLink`

##### Create Text File
Create a new text file with custom content.

- Type: write · Key: `textFile`
- Requires: filename, content
- Optional: sharedNote, folder
- MCP tool: `onedrive_create_text_file` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "write", action: "textFile" })`
- CLI: `npx zapier-sdk run-action onedrive write textFile`

#### Queries (6)

Queries read from OneDrive and return data. They change nothing.

##### Find Drive by ID
Find a specific drive using its unique ID.

- Type: search · Key: `driveById`
- Requires: id
- MCP tool: `onedrive_find_drive_by_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "search", action: "driveById" })`
- CLI: `npx zapier-sdk run-action onedrive search driveById`

##### Find File
Search for files by name, content, or metadata.

- Type: search · Key: `file`
- Requires: query
- Optional: copy
- MCP tool: `onedrive_find_file` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "search", action: "file" })`
- CLI: `npx zapier-sdk run-action onedrive search file`

##### Find File or Folder by ID
Find a specific file or folder in a personal drive using its unique ID.

- Type: search · Key: `fileById`
- Requires: id
- MCP tool: `onedrive_find_file_or_folder_by_id` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "search", action: "fileById" })`
- CLI: `npx zapier-sdk run-action onedrive search fileById`

##### Find Items (Via KQL)
Search for items using Keyword Query Language.

- Type: search · Key: `find_items_kql`
- Requires: query
- MCP tool: `onedrive_find_items_via_kql` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "search", action: "find_items_kql" })`
- CLI: `npx zapier-sdk run-action onedrive search find_items_kql`

##### Find Folder
Search for folders by name and metadata.

- Type: search · Key: `folder`
- Requires: query
- Optional: copy
- MCP tool: `onedrive_find_folder` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "search", action: "folder" })`
- CLI: `npx zapier-sdk run-action onedrive search folder`

##### Get Item Permissions
List all users and links that have access to a file or folder.

- Type: search · Key: `get_item_permissions`
- Requires: directory
- MCP tool: `onedrive_get_item_permissions` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onedrive", actionType: "search", action: "get_item_permissions" })`
- CLI: `npx zapier-sdk run-action onedrive search get_item_permissions`

## Frequently asked questions about automating with Amazon S3 and OneDrive

### Can I transfer files automatically from Amazon S3 to OneDrive?

Yes, you can set up an automation to transfer files from Amazon S3 to OneDrive. By configuring certain triggers, such as when a new file is added to a specified S3 bucket, the system can automatically copy that file to a designated folder in OneDrive.

### How do I handle file versioning when syncing between Amazon S3 and OneDrive?

When integrating Amazon S3 with OneDrive, ensure the trigger settings account for versioning if it's important for your workflow. For instance, set up actions that update or retain multiple versions of a file according to your preference either by overwriting or saving a new version in OneDrive when changes occur in the source S3 bucket.

### What prerequisites are necessary for connecting Amazon S3 with OneDrive?

To integrate Amazon S3 with OneDrive, both accounts must be active and properly configured. You'll need API access permissions for both services. Additionally, make sure proper access roles are assigned in S3 and adequate permissions granted in OneDrive for seamless data flow.

### Is it possible to move only specific files types from Amazon S3 to OneDrive?

Absolutely! You can set up triggers that respond only to specific file extensions or types on your Amazon S3. This way, our integration allows you only to move files that meet your defined criteria over to a specific folder in your OneDrive account.

### Can we automate deletion of files from OneDrive once they are transferred from Amazon S3?

Yes, automating the deletion of files from either service after transfer is possible using conditions set within the automation workflow. You can configure post-transfer actions like deleting original copies so that storage is always optimized on both ends.

### How do error notifications work during integrations between Amazon S3 and OneDrive?

During an integration process between Amazon S3 and OneDrive, you can enable error notifications which alert you whenever an issue occurs during file transfers or executions of task actions. This ensures any interruptions are swiftly identified and addressed.

### Can I schedule transfers between Amazon S3 and OneDrive at specific times?

Scheduling is supported in integrations; you can dictate specific times for transfers between the two services based on your needs. Set up timed triggers tailored to initiate actions like file synchronization outside peak hours or during maintenance windows.

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Amazon S3 integrations: zapier.com/apps/amazon-s3/integrations.md
- OneDrive integrations: zapier.com/apps/onedrive/integrations.md
- Full page: zapier.com/apps/amazon-s3/integrations/onedrive
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk