> ## Documentation Index
> Fetch the complete documentation index at: https://fillout-005a867b-dependabot-npm-and-yarn-fast-uri-3-1-5.mintlify.site/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.

export const SupportBanner = () => {
  const titleId = React.useId();
  return <div className="support-banner" role="region" aria-labelledby={titleId}>
      <span className="support-banner__ring support-banner__ring--outer" aria-hidden="true" />
      <span className="support-banner__ring support-banner__ring--middle" aria-hidden="true" />
      <span className="support-banner__ring support-banner__ring--inner" aria-hidden="true" />
      <span className="support-banner__ring support-banner__ring--center" aria-hidden="true" />

      <div className="support-banner__content">
        <div className="support-banner__title" id={titleId} role="heading" aria-level="2">Still have questions?</div>

        <div className="support-banner__copy">
          <span className="support-banner__line">Our team is happy to help. Start a live chat using the</span>
          <span className="support-banner__line">
            chat bubble <span className="support-banner__chat-icon" aria-hidden="true" /> in the bottom right, or email us at
          </span>
          <span className="support-banner__line">
            <a href="mailto:support@fillout.com">support{'@'}fillout.com</a>
          </span>
        </div>

        <a className="support-banner__cta" href="mailto:support@fillout.com">Contact us</a>
      </div>
    </div>;
};

### **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-dependabot-npm-and-yarn-fast-uri-3-1-5/1fceTP_vigEOW21v/images/Screenshot2025-11-12at4.53.42PM.png?fit=max&auto=format&n=1fceTP_vigEOW21v&q=85&s=e3f23d996735ec47e66c0526d1659cf7" 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-dependabot-npm-and-yarn-fast-uri-3-1-5/JHl-63R-nbU7sUC2/images/Screenshot2025-02-14at4.28.49PM.png?fit=max&auto=format&n=JHl-63R-nbU7sUC2&q=85&s=486f6a8660ea6bc6b8af216caa93b075" 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-dependabot-npm-and-yarn-fast-uri-3-1-5/JHl-63R-nbU7sUC2/images/Screenshot2025-02-14at4.32.29PM.png?fit=max&auto=format&n=JHl-63R-nbU7sUC2&q=85&s=fe4252f496888158288518d443d8380e" 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-dependabot-npm-and-yarn-fast-uri-3-1-5/JHl-63R-nbU7sUC2/images/Screenshot2025-02-14at4.32.48PM.png?fit=max&auto=format&n=JHl-63R-nbU7sUC2&q=85&s=416f3c56519efec1fa03da3aeee7e1d5" 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-dependabot-npm-and-yarn-fast-uri-3-1-5/JHl-63R-nbU7sUC2/images/Screenshot2025-02-14at4.33.42PM.png?fit=max&auto=format&n=JHl-63R-nbU7sUC2&q=85&s=a20e1084b1883f62d4e90d8e65d17da8" 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>

<SupportBanner />
