> ## 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](/workflows/overview) to a Microsoft Excel (.xlsx) file with support for multiple sheets.

<Steps>
  <Step title="Add the action">
    In the Workflow builder, click **+** between blocks and select **Export as Microsoft Excel Document** from the action library.

    <Frame>
      <img src="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" alt="Action library with Export as Microsoft Excel Document selected" width="896" height="778" data-path="images/reference/export-as-microsoft-excel-document-img-0.png" />
    </Frame>

    <Frame>
      <img src="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" alt="Adding the Export as Microsoft Excel Document action between blocks" width="796" height="1192" data-path="images/reference/export-as-microsoft-excel-document-img-1.png" />
    </Frame>
  </Step>

  <Step title="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.

    <Frame>
      <img src="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" alt="Document name field for the Excel file" width="802" height="202" data-path="images/reference/export-as-microsoft-excel-document-img-3.png" />
    </Frame>
  </Step>

  <Step title="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.

    <Frame>
      <img src="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" alt="Sheet name field" width="802" height="332" data-path="images/reference/export-as-microsoft-excel-document-img-4.png" />
    </Frame>

    **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.

    <Frame>
      <img src="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" alt="Selecting the data source variable for a sheet" width="800" height="258" data-path="images/reference/export-as-microsoft-excel-document-img-5.png" />
    </Frame>

    <Tip>You can generate structured data using actions like Generate Text with structured output fields, Run Code, or Extract Information.</Tip>

    **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.

    <Frame>
      <img src="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" alt="Column configuration with drag-and-drop reordering" width="806" height="462" data-path="images/reference/export-as-microsoft-excel-document-img-6.png" />
    </Frame>
  </Step>
</Steps>

## Related

* [Export as CSV](/reference/actions/export-as-csv)
* [Create Excel from Template](/reference/actions/create-excel-from-template)
* [Create files with Workflows](/guides/create-files)
