Sequential Workflows





Pattern
Workflow - URL Analysis
Analyze URLs through AI prompt chaining. Scrapes content, analyzes it, and generates summaries.
BeginnerOct 2025View the full pattern on desktop


Problems solved
- Chain scrape, analyze, and summarize steps for a URL
- Stream per-step workflow status with typed data parts
- Produce structured analysis via generateObject before summarization
Use cases
- Website evaluation tools
- Competitive URL brief generators
- Content research pipelines
- Teaching sequential AI workflow chaining
AI SDK APIs
streamTextconvertToModelMessagescreateUIMessageStreamstepCountIstool(tools:
Tags
aiworkflowurl-analysisweb-scrapingprompt-chainingai-sdksimple-agentcontent-analysisautomation
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- OpenAI API key
- Exa API key
External services
openaiexaupstash
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


Research Agent Chain
Sequential three-agent chain demonstrating structured outputs flowing between agents. Research Agent 1 gathers research, Expand Agent 2 expands research, Synthesis Agent 3 synthesizes final answer. Uses Exa tools and AI SDK 6's stabilized structured output support.
aiagents+8
View pattern β


HIL Tool Approval Basic
Chat assistant with human approval workflows for safe tool execution.
aihuman-in-the-loop+6
View pattern β



