Skip to main content
StewAI gives you two ways to get results out of your workflows:
  1. Export Table / Document steps — generate files (Excel, CSV, PDF, Word) that save automatically to the Pantry
  2. Run CSV download — export any completed run’s step data as a single CSV file

Export Table step

The Export Table step converts structured data into a spreadsheet and saves it to the Pantry.

Configuring the step

  1. Add an Export Table step to your recipe
  2. Set the data source — use token pills from an AI Chef, Mixer, or Compute step
  3. Choose the format: .xlsx (Excel) or .csv
  4. Set the destination — pick a Pantry folder and filename
Export Table step editor showing data source, format selector, and Pantry destination picker

What gets exported

The step turns an array of objects into rows and columns:
Each object in the arraybecomes a row
Each key in the objectbecomes a column header
So if your AI Chef produces a list of companies with name, industry, and revenue fields, the spreadsheet will have three columns with one row per company.

Where the file goes

The generated file saves automatically to the Pantry — StewAI’s file storage. You configure the folder and filename in the step’s settings:
  • Folder — choose a Pantry folder (or save to the root)
  • Filename — supports template variables like export_{{ run_id }} or report_{{ recipe_name }}
After the run completes, open the Pantry from the sidebar to find and download your file.

Document step

The Document step generates a formatted document and saves it to the Pantry.
  1. Add a Document step
  2. Set the content — reference other steps’ outputs with token pills
  3. Choose the format: .pdf, .docx (Word), or .txt
  4. Set the destination — pick a Pantry folder and filename
The text content is rendered into a clean formatted document.
FormatExtensionUse case
PDF.pdfFinal, read-only output
Word.docxEditable documents
Text.txtPlain text

Downloading a run as CSV

Any completed run can be downloaded as a CSV file — this exports all step data from the run, not just Export Table outputs.
  1. Open a completed run (status: Completed or Failed)
  2. Click the CSV button (arrow-down icon) in the run header bar
  3. A CSV file downloads with one row per step
The CSV includes these columns:
ColumnWhat it contains
recipe_titleName of the recipe
step_titleName of each step
statusStep status (done, failed, etc.)
output_typeType of output produced
output_valueThe step’s output content
duration_msHow long the step took
usage_input_tokensInput tokens consumed
usage_output_tokensOutput tokens generated
The CSV download is great for auditing and analysis. Use it to review what each step produced, compare across runs, or import into your own spreadsheets for further processing.

Exporting loop results

When a loop processes multiple items, use this pattern to export all results:
  1. Loop → process each item with AI Chef (structured output)
  2. Mixer → collect all iteration results into one list
  3. Export Table → convert the list to a spreadsheet
[Item List] → [Loop] → [AI Chef ×N] → [Mixer] → [Export Table]
The spreadsheet will have one row per loop iteration.

Accessing files in the Pantry

All generated files are accessible in the Pantry (sidebar → Pantry):
  • Browse files by folder
  • Download any file
  • Rename, move, or delete files
  • Upload your own files for use in Ingest steps

Next steps