StewAI gives you two ways to get results out of your workflows:
- Export Table / Document steps — generate files (Excel, CSV, PDF, Word) that save automatically to the Pantry
- 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
- Add an Export Table step to your recipe
- Set the data source — use token pills from an AI Chef, Mixer, or Compute step
- Choose the format:
.xlsx (Excel) or .csv
- Set the destination — pick a Pantry folder and filename
What gets exported
The step turns an array of objects into rows and columns:
| Each object in the array | becomes a row |
|---|
| Each key in the object | becomes 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.
- Add a Document step
- Set the content — reference other steps’ outputs with token pills
- Choose the format:
.pdf, .docx (Word), or .txt
- Set the destination — pick a Pantry folder and filename
The text content is rendered into a clean formatted document.
| Format | Extension | Use case |
|---|
| PDF | .pdf | Final, read-only output |
| Word | .docx | Editable documents |
| Text | .txt | Plain 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.
- Open a completed run (status: Completed or Failed)
- Click the CSV button (arrow-down icon) in the run header bar
- A CSV file downloads with one row per step
The CSV includes these columns:
| Column | What it contains |
|---|
recipe_title | Name of the recipe |
step_title | Name of each step |
status | Step status (done, failed, etc.) |
output_type | Type of output produced |
output_value | The step’s output content |
duration_ms | How long the step took |
usage_input_tokens | Input tokens consumed |
usage_output_tokens | Output 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:
- Loop → process each item with AI Chef (structured output)
- Mixer → collect all iteration results into one list
- 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