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

# Export as Microsoft Excel

> Export Workflow output as a downloadable Microsoft Excel spreadsheet.

Exports data from a [Workflow](https://docs.cassidyai.com/workflows/overview.md) to a Microsoft Excel (.xlsx) file with support for multiple sheets.

**1. Add the action**

In the Workflow builder, click **+** between blocks and select **Export as Microsoft Excel Document** from the action library.

![Action library with Export as Microsoft Excel Document selected](https://mintcdn.com/cassidy/zezwztoB9l0rPYfl/images/reference/export-as-microsoft-excel-document-img-0.png?fit=max\&auto=format\&n=zezwztoB9l0rPYfl\&q=85\&s=24ff94eee510371f4863104c3c047142)

![Adding the Export as Microsoft Excel Document action between blocks](https://mintcdn.com/cassidy/zezwztoB9l0rPYfl/images/reference/export-as-microsoft-excel-document-img-1.png?fit=max\&auto=format\&n=zezwztoB9l0rPYfl\&q=85\&s=50de0b5b9ff9230fda25de640124a811)

**2. Enter the document name**

Provide a name for your Excel file. You can type a name directly or reference a variable from a previous step or the trigger to dynamically name the file.

![Document name field for the Excel file](https://mintcdn.com/cassidy/zezwztoB9l0rPYfl/images/reference/export-as-microsoft-excel-document-img-3.png?fit=max\&auto=format\&n=zezwztoB9l0rPYfl\&q=85\&s=6d5d26356230512ba2448d1fb446bb76)

**3. Configure sheets**

For each sheet in your Excel document, configure the following. Click the **+** button to add additional sheets.

**Enter the sheet name** — provide a descriptive name for each sheet.

![Sheet name field](https://mintcdn.com/cassidy/zezwztoB9l0rPYfl/images/reference/export-as-microsoft-excel-document-img-4.png?fit=max\&auto=format\&n=zezwztoB9l0rPYfl\&q=85\&s=df865ff2c433a44793ec3b5d598a0633)

**Select the data to export** — choose the variable containing the data for this sheet. This must be a list of objects, where each item represents a row and each key represents a column.

![Selecting the data source variable for a sheet](https://mintcdn.com/cassidy/zezwztoB9l0rPYfl/images/reference/export-as-microsoft-excel-document-img-5.png?fit=max\&auto=format\&n=zezwztoB9l0rPYfl\&q=85\&s=3f91334ea57a017e3334d10a1abe731e)

> [!TIP]
>
> You can generate structured data using actions like Generate Text with structured output fields, Run Code, or Extract Information.

**Configure columns to export** — specify which columns to include in this sheet and their order. If no columns are specified, all available columns are exported. You can drag and drop to reorder columns.

![Column configuration with drag-and-drop reordering](https://mintcdn.com/cassidy/zezwztoB9l0rPYfl/images/reference/export-as-microsoft-excel-document-img-6.png?fit=max\&auto=format\&n=zezwztoB9l0rPYfl\&q=85\&s=7f46f0799f3a340e1ac3bc5867c176e0)

## Related

* [Export as CSV](https://docs.cassidyai.com/reference/actions/export-as-csv.md)
* [Create Excel from Template](https://docs.cassidyai.com/reference/actions/create-excel-from-template.md)
* [Create files with Workflows](https://docs.cassidyai.com/guides/create-files.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.