Skip to main content

Import Data from Excel


This guide will walk you through the process of importing data from Excel files directly into your AI Grid Agent, allowing you to quickly populate your grid with existing datasets and streamline your workflow setup.

The Excel import feature allows you to upload .xls and .xlsx files to automatically create input columns and populate your grid with data. This is particularly useful when you have existing datasets, lists, or structured information that you want to analyze with your AI Grid Agent.


Accessing the Import Feature

  1. Navigate to your AI Grid Agent - Open the agent where you want to import data
  2. Click the "+ Add Data" button - Located in the top-right area of the agent interface
  3. Select "Import from XLS" - From the dropdown menu that appears, choose this option

This will open the Import Data from Excel modal where you can upload your file.


File Structure Requirements

Column Headers

The first row of your Excel file serves as the foundation for your grid structure:

  • Each cell in the first row becomes a column title in your AI Grid Agent
  • These titles will be used to create input columns automatically
  • Make sure your first row contains clear, descriptive names for each data category

Data Rows

All subsequent rows contain the actual data:

  • Each column's data (below the header) becomes input values for that column
  • All text data in the same Excel column will be imported as separate input entries
  • Empty cells are typically skipped during import

Example Structure

Company NameIndustryLocation
Apple IncTechnologyCupertino, US
TeslaAutomotiveAustin, US
NetflixMediaLos Gatos, US

This would create:

  • 3 input columns: "Company Name", "Industry", "Location"
  • 3 rows of data populated across these columns

Best Practices

Clean Headers

Ensure your first row contains:

  • Clear, descriptive column names
  • No special characters that might cause issues
  • Unique names for each column

Organized Data

Structure your data so that:

  • Each column contains the same type of information
  • Data is consistent within each column
  • Empty rows are minimized

Next Steps

Once your data is imported:

  1. Add analysis columns - Create questions that analyze your imported data
  2. Configure tools - Set up appropriate tools for your analysis needs
  3. Run your agent - Begin automated analysis of your dataset

Importing into an Existing Grid

You can also import Excel data into a grid that already contains columns and rows. Here's what you need to know:

Column Matching

When importing into an existing grid:

ScenarioResult
Column names matchData is added to the corresponding existing columns
Column names don't matchNew columns are created and added after the existing ones
Important

Column matching is case-sensitive. Make sure your Excel headers exactly match your existing column names if you want data to align properly.

Row Behavior

Importing always creates new rows — it does not update or complete existing rows.

  • Each row in your Excel file becomes a new row in the grid
  • Existing rows remain unchanged
  • The imported rows are added at the end of the grid
tip

If you need to update existing rows with new data, you'll need to manually edit the cells or delete the old rows before importing.


Troubleshooting

File Won't Upload

  • Verify file format is .xls or .xlsx
  • Check file isn't corrupted or password-protected
  • Try a smaller file if the original is very large

Missing Data

  • Ensure your Excel file has data in the first row (headers)
  • Check for hidden rows or columns that might affect import
  • Verify data isn't in merged cells

Formatting Issues

  • Use simple text formats in your Excel file
  • Avoid complex formulas or references
  • Keep data types consistent within each column

Next: Running AI Grid Agents