This guide walks you through building a real workflow: research a company, extract structured data, and export it as a spreadsheet.
1. Create the recipe
- Click Cookbook → + to create a new recipe
- Click the recipe title at the top to rename it to “Company Research”
- Click Add Step → choose Recipe Input
- Title it “Company Name”
- This creates a required field that users fill in when starting a run
3. Add an Ask AI step for research
- Click Add Step → choose Ask AI
- Title it “Research”
- In the Prompt field, drag in the “Company Name” token pill from the right panel
- Write your prompt around it:
Research the company [Company Name pill] thoroughly. Cover what they do, their main products, key competitors, and recent developments.
- Optionally, choose a Model from the dropdown (e.g., “GPT-4o” for best quality, “GPT-4o Mini” for speed)
4. Add an AI Chef step for structured data
- Click Add Step → choose AI Chef
- Title it “Analysis”
- In the Prompt, drag in the “Research” token pill:
Based on this research, extract a structured company profile: [Research pill]
- Create a schema by clicking the schema selector and choosing “New Schema”
- Define fields like
company_name (text), industry (text), competitors (list of text), summary (text)
See Schemas for details on creating schemas.
5. Add an Export Table step
- Click Add Step → choose Export Table
- Title it “Export”
- Set the data source to the structured output from the Analysis step (use the green token pills for structured fields)
- Choose xlsx as the format
6. Check the canvas
Your canvas should now show four steps connected by arrows:
[Company Name] → [Research] → [Analysis] → [Export]
Each arrow means “this step waits for the previous one.” StewAI figured this out automatically from your token references.
7. Test with a run
- Go to Orders → click +
- Select “Company Research”
- Type a company name (e.g., “Stripe”) and submit
- Watch each step execute in sequence — they turn yellow, then green
- Click “Analysis” to see structured data in the side panel (Graph and JSON tabs)
- Click “Export” to download the spreadsheet
Tips
Steps with no dependencies run in parallel. If two steps don’t reference each other, StewAI runs them at the same time. You can use this to speed up workflows.
Preview before publishing. When you run a draft recipe, it creates a preview run. You don’t need to publish to test.
Learn more about exports. See Exporting Results for details on spreadsheet formats, document generation, and downloading files.
The cost estimate appears before you run. Check it to avoid surprises, especially with loops that multiply the number of AI calls.