# Research Workflow Router Instructions
The workflow execution engine is governed by: {project_root}/bmad/core/tasks/workflow.xml
You MUST have already loaded and processed: {installed_path}/workflow.yaml
This is a ROUTER that directs to specialized research instruction sets
Search {output_folder}/ for files matching pattern: bmm-workflow-status.md
Find the most recent file (by date in filename: bmm-workflow-status.md)
Load the status file
Set status_file_found = true
Store status_file_path for later updates
**No workflow status file found.**
This workflow conducts research (optional Phase 1 workflow).
Options:
1. Run workflow-status first to create the status file (recommended for progress tracking)
2. Continue in standalone mode (no progress tracking)
3. Exit
What would you like to do?
If user chooses option 1 → HALT with message: "Please run workflow-status first, then return to research"
If user chooses option 2 → Set standalone_mode = true and continue
If user chooses option 3 → HALT
Welcome the user to the Research Workflow
**The Research Workflow supports multiple research types:**
Present the user with research type options:
**What type of research do you need?**
1. **Market Research** - Comprehensive market analysis with TAM/SAM/SOM calculations, competitive intelligence, customer segments, and go-to-market strategy
- Use for: Market opportunity assessment, competitive landscape analysis, market sizing
- Output: Detailed market research report with financials
2. **Deep Research Prompt Generator** - Create structured, multi-step research prompts optimized for AI platforms (ChatGPT, Gemini, Grok, Claude)
- Use for: Generating comprehensive research prompts, structuring complex investigations
- Output: Optimized research prompt with framework, scope, and validation criteria
3. **Technical/Architecture Research** - Evaluate technology stacks, architecture patterns, frameworks, and technical approaches
- Use for: Tech stack decisions, architecture pattern selection, framework evaluation
- Output: Technical research report with recommendations and trade-off analysis
4. **Competitive Intelligence** - Deep dive into specific competitors, their strategies, products, and market positioning
- Use for: Competitor deep dives, competitive strategy analysis
- Output: Competitive intelligence report
5. **User Research** - Customer insights, personas, jobs-to-be-done, and user behavior analysis
- Use for: Customer discovery, persona development, user journey mapping
- Output: User research report with personas and insights
6. **Domain/Industry Research** - Deep dive into specific industries, domains, or subject matter areas
- Use for: Industry analysis, domain expertise building, trend analysis
- Output: Domain research report
Select a research type (1-6) or describe your research needs:
Capture user selection as {{research_type}}
Based on user selection, load the appropriate instruction set
Set research_mode = "market"
LOAD: {installed_path}/instructions-market.md
Continue with market research workflow
Set research_mode = "deep-prompt"
LOAD: {installed_path}/instructions-deep-prompt.md
Continue with deep research prompt generation
Set research_mode = "technical"
LOAD: {installed_path}/instructions-technical.md
Continue with technical research workflow
Set research_mode = "competitive"
This will use market research workflow with competitive focus
LOAD: {installed_path}/instructions-market.md
Pass mode="competitive" to focus on competitive intelligence
Set research_mode = "user"
This will use market research workflow with user research focus
LOAD: {installed_path}/instructions-market.md
Pass mode="user" to focus on customer insights
Set research_mode = "domain"
This will use market research workflow with domain focus
LOAD: {installed_path}/instructions-market.md
Pass mode="domain" to focus on industry/domain analysis
The loaded instruction set will continue from here with full context of the {research_type}