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

# Import from Google Drive

> Pick images and videos from your Google Drive and import them into the DMLY media library.

If your images and videos already live in Google Drive, you don't need to download them and
upload them again. DMLY's media picker has a **Google Drive** tab that lets you pick a file
straight from Drive, and DMLY copies it into your workspace's media library for you.

<Note>
  Google Drive is a tab inside the media picker, not an integration tile — you won't find it
  on the **Integrations** page. The tab only appears if Google Drive has been set up for your
  DMLY installation. If you don't see it, it hasn't been configured.
</Note>

## Import files

<Steps>
  <Step title="Open a media picker">
    Open a media picker — the attach button in the Unified Inbox composer, a media node in the
    Automation flow builder, or the image field on an offering — then select the **Google
    Drive** tab. It's described as *Pick images or videos straight from your Google Drive.*
  </Step>

  <Step title="Select from Google Drive">
    Choose **Select from Google Drive**. Google asks you to sign in and confirm access, then
    opens its own file picker.
  </Step>

  <Step title="Pick your file">
    Select the image or video you want. The picker lets you choose one file per import.
  </Step>

  <Step title="Wait for the import">
    DMLY shows **Importing from Google Drive…** while it copies the file. When it finishes, it
    appears in your media library like any other upload, ready to attach to a message in the
    Unified Inbox, a media node in an automation flow, or an offering's image.
  </Step>
</Steps>

Imported files are copies. Editing or deleting the original in Drive afterwards doesn't
change the copy in DMLY, and DMLY never writes anything back to your Drive.

## What DMLY can see in your Drive

This is the part worth understanding before you connect: DMLY asks for the narrowest access
Google offers.

The permission is Google's `drive.file` scope, which grants access **only to the files you
explicitly pick in the picker**. Everything else in your Drive stays invisible — if DMLY
tried to read a file you didn't select, Google would refuse. There is no folder browsing, no
background sync, and no ongoing access to your Drive contents.

Once you've picked your files, your browser hands DMLY a short-lived pass and the file IDs,
and the download happens on DMLY's servers rather than in your browser.

## Limits

<Card title="Images and videos only" icon="photo-film">
  The picker shows images and videos. Google Docs, Sheets and Slides aren't media files and
  are rejected if picked.
</Card>

You import one file at a time. Run the picker again for the next one.

Each file is checked against the same file-type and size rules as a normal upload — once
before downloading and again on the real file — so a file that's too large or the wrong type
is rejected rather than half-imported.

## When something goes wrong

<Accordion title="Google Drive access was not granted">
  Google refused the access request, usually because you declined it. Select **Select from
  Google Drive** again and approve. If you simply closed the Google window, nothing happens —
  just select it again.
</Accordion>

<Accordion title="Google Drive is not configured">
  Google Drive hasn't been set up for this DMLY installation. This isn't something you can
  fix from your workspace — contact your provider.
</Accordion>

<Accordion title="Could not load Google Drive. Try again!">
  The Google picker didn't load. This is usually a blocked pop-up, an ad blocker, or a
  flaky connection. Allow pop-ups for DMLY and try again.
</Accordion>

<Accordion title="Could not import from Google Drive. Try again!">
  The picker worked but the files didn't copy across. Try again. If the same file keeps
  failing, check it isn't larger than the upload limit or a file type the media library
  doesn't accept — download it and upload it directly to confirm.
</Accordion>

<Columns cols={2}>
  <Card title="Integrations" icon="puzzle-piece" href="/integrations/overview">
    Connect DMLY to the rest of your stack.
  </Card>

  <Card title="Flow builder" icon="diagram-project" href="/automation/flow-builder">
    Use imported media in an automation's media nodes.
  </Card>
</Columns>
