# Option 1 : CSV file with image directories

{% file src="<https://3949085234-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fv3dz3ARgGBgsVxs9udeD%2Fuploads%2FQfQ3kyd3OQXQStPHmmir%2Foption-1.csv?alt=media&token=9ad92042-50bc-48e8-9b6f-5f1334278a64>" %}
Template Option 1: CSV File with Image Directories
{% endfile %}

This method requires partners to send their product images as separate files, referenced in the CSV by their respective directory names.

**Steps:**

1. **Prepare the CSV**:
   * Populate the CSV with all the necessary product information.
   * For the image column, list the exact filename (including the file extension) of the corresponding product image.
2. **Prepare the Image Files**:
   * Collate all product images into one folder.
   * Ensure each image file is named exactly as listed in the CSV.
   * Compress the folder to reduce the file size (using tools like WinRAR or 7-Zip).
3. **Sending the Data**:
   * Attach the completed CSV and the compressed image folder to an email.
   * Subject should be “*\[Your Name]* - Add Product Database with Image Directories”.
   * Email it to <support@spacely.ai>.

**CSV directory:**

<table><thead><tr><th width="190">Column</th><th>Definition</th><th data-hidden>Definition</th><th data-hidden></th></tr></thead><tbody><tr><td>product_id <mark style="color:red;">(required)</mark></td><td>A unique identifier for each product.</td><td></td><td></td></tr><tr><td>url <mark style="color:red;">(required)</mark></td><td>The web address where more information about the product can be found.</td><td></td><td></td></tr><tr><td>brand <mark style="color:red;">(required)</mark></td><td>The brand name of the product.</td><td></td><td></td></tr><tr><td>name <mark style="color:red;">(required)</mark></td><td>The name or title of the product.</td><td></td><td></td></tr><tr><td>category <mark style="color:red;">(required)</mark></td><td>The broad category to which the product belongs (e.g., Bed Frames, Tables &#x26; desks).</td><td></td><td></td></tr><tr><td>sub_category</td><td>A more specific classification within the main category (e.g., Sofa-beds, Desks &#x26; Computer Desks).</td><td>no require</td><td></td></tr><tr><td>tags</td><td>Keywords or phrases associated with the product, useful for search and categorization.</td><td></td><td></td></tr><tr><td>color</td><td>The primary color(s) of the product.</td><td>no require</td><td></td></tr><tr><td>price</td><td>The selling price of the product.</td><td></td><td></td></tr><tr><td>currency</td><td>The currency in which the price is listed.</td><td></td><td></td></tr><tr><td>unit</td><td>The number of units this pricing refers to.</td><td></td><td></td></tr><tr><td><mark style="color:blue;">images</mark> <mark style="color:red;">(required)</mark></td><td><mark style="color:blue;">Paths or filenames of images associated with the product, typically relative to a base directory.</mark></td><td></td><td></td></tr><tr><td>width_cm</td><td>The width of the product in centimeters.</td><td></td><td></td></tr><tr><td>length_cm</td><td>The length of the product in centimeters.</td><td></td><td></td></tr><tr><td>height_cm</td><td>The height of the product in centimeters.</td><td></td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enterprise.spacely.ai/spacely-ai-enterprise-old/furniture-partnership/option-1-csv-file-with-image-directories.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
