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

# Attachments

> Attach files or paste URLs directly in a task to give Rocket context for that specific conversation.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

Attachments let you bring your own data into a task. Attach a file or paste a URL alongside your message and Rocket reads, parses, and uses it in the response.

This works in both **Solve** and **Build** tasks. Use it when the context is specific to one conversation rather than shared across the whole project.

<Info>
  For context that should persist across every task in a project, use [project file uploads](/getting-started/project/context/file-uploads) instead. Task attachments are scoped to the current conversation only.
</Info>

## Attach a file

<Steps>
  <Step title="Open a task">
    Navigate to an existing task or start a new one.
  </Step>

  <Step title="Click + and select Add files & photos">
    Click the **+** icon **(1)** next to the message input and choose **Add files & photos** **(2)**. Select up to **5 files** from your device. Each file must be under 5 MB.

    <Frame caption="Click + then Add files & photos to attach a file">
      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/DBJMXb_BEYh5GrMJ/images/getting-started/task/attachments/add-files-light.png?fit=max&auto=format&n=DBJMXb_BEYh5GrMJ&q=85&s=60e03a8cadeb217cec2bb4484a06ddb7" alt="Task input bar with the + button highlighted and Add files & photos option shown." className="theme-image light-image" width="2880" height="1624" data-path="images/getting-started/task/attachments/add-files-light.png" />

      <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/DBJMXb_BEYh5GrMJ/images/getting-started/task/attachments/add-files-dark.png?fit=max&auto=format&n=DBJMXb_BEYh5GrMJ&q=85&s=e084d09c1e46e0fab5a0850c2d22bba4" alt="Task input bar with the + button highlighted and Add files & photos option shown." className="theme-image dark-image" width="2880" height="1624" data-path="images/getting-started/task/attachments/add-files-dark.png" />
    </Frame>
  </Step>

  <Step title="Add your message and send">
    Write your question or instruction alongside the attachment. Being specific gets better results. "Using the attached financial model, estimate our runway under three growth scenarios" works better than attaching without context.
  </Step>
</Steps>

<Note>
  To start a new Build task from an attachment, see [Build from an attachment](/build/create/from-an-attachment).
</Note>

## Import from a URL

Paste a URL directly into the message box. Rocket fetches and parses the page content automatically.

| Source             | Requirement                                                                       |
| :----------------- | :-------------------------------------------------------------------------------- |
| Public web pages   | None                                                                              |
| Notion pages       | [Connect Notion](/getting-started/project/context/connected-services) first       |
| Google Drive files | [Connect Google Drive](/getting-started/project/context/connected-services) first |

<Note>
  Private URLs only work if you have already connected that service. If the service is not connected, Rocket cannot access the content.
</Note>

## Supported file types

| File type                        | What Rocket understands                                       |
| :------------------------------- | :------------------------------------------------------------ |
| Markdown (`.md`)                 | Headings, sections, code blocks, and tables                   |
| PDF (`.pdf`)                     | Full text, structure, tables, and embedded images             |
| Excel (`.xlsx`)                  | Multi-sheet workbooks, formulas, and cross-sheet dependencies |
| CSV (`.csv`)                     | Column structure, data types, and row relationships           |
| Images (`.jpg`, `.jpeg`, `.png`) | Visual content, embedded text, diagrams, and UI layouts       |

## How Rocket uses attachments

Rocket extracts text, structure, and data from the attached file or URL and uses it as source material for the response. For Solve tasks, attachments also reduce how often prompt intelligence needs to ask questions. If your attached pitch deck already identifies your industry, Rocket won't ask.

If a file cannot be fully read, Rocket works with what it can extract and continues with the task.

## What's next?

<CardGroup cols={2}>
  <Card title="Project file uploads" icon="file-arrow-up" href="/getting-started/project/context/file-uploads">
    Upload files once at the project level so every task has access automatically.
  </Card>

  <Card title="Connected services" icon="plug" href="/getting-started/project/context/connected-services">
    Connect Notion and Google Drive to use their URLs in tasks.
  </Card>

  <Card title="Cross-task context" icon="arrows-cross" href="/getting-started/task/task-context">
    Reference a previous task to carry its findings into the current one.
  </Card>

  <Card title="Prompt intelligence" icon="brain" href="/getting-started/task/prompt-intelligence">
    Learn how attachments help Rocket skip redundant questions.
  </Card>
</CardGroup>
