> ## Documentation Index
> Fetch the complete documentation index at: https://fillout.com/help/llms.txt
> Use this file to discover all available pages before exploring further.

# Sync files to OneDrive with a form

> Let respondents upload files to your Microsoft OneDrive folder using a Fillout form. Optionally set a dynamic file path to organize submissions into nested folders.

### **What is OneDrive?**

[Microsoft OneDrive](https://www.microsoft.com/en-us/microsoft-365/onedrive/onedrive-for-business?ref=filloutforms-helparticle) is a cloud storage service that allows users to store, share, and access files from anywhere. With seamless integration across devices and robust security features, it provides a convenient solution for storing and collaborating on documents, photos, and more.

## How it works

<Steps>
  <Step title="Connect your Fillout form to OneDrive">
    Click `Integrate` from the top menu followed by `OneDrive`.

    <img src="https://mintcdn.com/fillout-005a867b/NUsqOgEEYBaCK-PX/images/Screenshot2025-11-12at4.53.42PM.png?fit=max&auto=format&n=NUsqOgEEYBaCK-PX&q=85&s=cba7c1354e3efb5d7c7177ff05fd119e" alt="Screenshot 2025-11-12 at 4.53.42 PM.png" width="2606" height="1438" data-path="images/Screenshot2025-11-12at4.53.42PM.png" />

    `Connect to OneDrive` and enter the login credentials of your Microsoft account. Choose a `Folder` you would like respondents to upload their files to.

    <Warning>
      This integration can only be linked to Microsoft organizations, work and school accounts, not personal accounts.
    </Warning>
  </Step>

  <Step title="Map your form fields on Fillout">
    Under **Upload fields**, click `+ Add new` followed by a file uploader, voice recording, or PDF field.

    <img src="https://mintcdn.com/fillout-005a867b/R7rMGlxIdHBwDsJR/images/Screenshot2025-02-14at4.28.49PM.png?fit=max&auto=format&n=R7rMGlxIdHBwDsJR&q=85&s=6543e8f3ec98216a90331851aea9a17a" alt="Screenshot of the Fillout form creation page" style={{ width:"55%" }} width="802" height="669" data-path="images/Screenshot2025-02-14at4.28.49PM.png" />
  </Step>

  <Step title="Publish and share">
    Click `Finish setup` followed by `Publish` on the upper right corner, and you're all set!
  </Step>
</Steps>

## Add a dynamic file path

You can categorize file uploads into folders based on your respondents’ answers. Toggle the `Custom subfolder and file name?` switch, then enter a name or click <Icon icon="square-plus" iconType="solid" /> to reference a field as the **Subfolder name**.

<img src="https://mintcdn.com/fillout-005a867b/R7rMGlxIdHBwDsJR/images/Screenshot2025-02-14at4.32.29PM.png?fit=max&auto=format&n=R7rMGlxIdHBwDsJR&q=85&s=57628c8d156b211afedb65cf7e30ffcf" alt="Screenshot of the Fillout form creation page" style={{ width:"53%" }} width="819" height="409" data-path="images/Screenshot2025-02-14at4.32.29PM.png" />

## Add subfolders

You can add a subfolder by typing `/` followed by your chosen subfolder name or clicking <Icon icon="square-plus" iconType="solid" /> to reference a form field.

<img src="https://mintcdn.com/fillout-005a867b/R7rMGlxIdHBwDsJR/images/Screenshot2025-02-14at4.32.48PM.png?fit=max&auto=format&n=R7rMGlxIdHBwDsJR&q=85&s=d1d3c70d8638319efd5b9f6313832663" alt="Screenshot of the Fillout form creation page" style={{ width:"54%" }} width="807" height="154" data-path="images/Screenshot2025-02-14at4.32.48PM.png" />

## Enter a custom filename prefix

You can enter a **Filename prefix** to add specific characters at the beginning of each file name upon form submission or click <Icon icon="square-plus" iconType="solid" /> to reference a form field.

<img src="https://mintcdn.com/fillout-005a867b/R7rMGlxIdHBwDsJR/images/Screenshot2025-02-14at4.33.42PM.png?fit=max&auto=format&n=R7rMGlxIdHBwDsJR&q=85&s=08624f8331a30716b316380f39e72871" alt="Screenshot of the Fillout form creation page" style={{ width:"54%" }} width="791" height="149" data-path="images/Screenshot2025-02-14at4.33.42PM.png" />

## Specify a condition

You can run your integration only when a specific condition is met. Check out this [guide](/conditional-integration).

## Other similar integrations

<CardGroup cols={3}>
  <Card title="Upload files to Google Drive" icon="google-drive" iconType="regular" color="#FFC738" href="/google-drive">
    Automatically upload files with a form.
  </Card>

  <Card title="Sync file uploads to Dropbox" icon="dropbox" iconType="regular" color="#FFC738" href="/dropbox">
    Automatically upload files with a form.
  </Card>

  <Card title="Sync file uploads to Amazon S3" icon="amazon" iconType="regular" color="#FFC738" href="/amazon-s3">
    Automatically upload files with a form.
  </Card>
</CardGroup>
