{
"id": "market-research",
"name": "Market Research Workflow",
"input_schema": {
"type": "object",
"properties": {
"company_name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "Name of company to research"
},
"markets": {
"type": "array",
"items": {
"type": "string",
"enum": ["US", "EU", "ASIA", "LATAM", "AUSTRALIA"]
},
"minItems": 1,
"maxItems": 5,
"description": "Target markets for analysis"
},
"analysis_depth": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Analysis depth (1-5)"
},
"include_financial": {
"type": "boolean",
"description": "Include financial analysis"
},
"competitors": {
"type": "array",
"items": {"type": "string"},
"description": "Competitor companies to compare"
}
},
"required": ["company_name", "markets"],
"description": "Input for comprehensive market research workflow"
},
"nodes": [
{
"id": "research_agent",
"type": "plai_agent",
"parameters": {
"agent_name_slug": "researcher",
"input": "Research {{$input.company_name}} in markets: {{$input.markets | join(', ')}}\n\nDepth: {{$input.analysis_depth}}\nInclude financial: {{$input.include_financial}}\nCompetitors: {{$input.competitors | join(', ')}}"
}
}
]
}