← Back to Directory
📈

Market Research Agent

Conduct automated market research using web search and news APIs to generate industry reports

🤖 00 ↓  |  👤 00
intermediate40 minutes🔄 10 swappable alternatives

🧂 Ingredients

🔌 APIs

web_search_for_market_data_reports_and_industry_analysis

🔄 Alternatives:

Serpapi Google results via API, structured dataGoogle Search Direct Google search APIBing Search Microsoft search with good API

real_time_news_monitoring_for_industry_developments

🔄 Alternatives:

Mediastack Real-time news, free tierGnews Simple, focused news API

extract_detailed_content_from_research_sources

🔄 Alternatives:

Scrapingbee Handles JS renderingBrowserless Full browser for scraping

store_research_findings_in_an_organized_knowledge_base

🔄 Alternatives:

Airtable Better for structured databasesCoda More powerful automationsObsidian Local-first, markdown-based

📋 Step-by-Step Build Guide

STEP 1

1. Define your research scope: industry/market, key topics, major players, geogr

1. Define your research scope: industry/market, key topics, major players, geographic focus

Define your research scope: industry/market, key topics, major players, geographic focus

Steps:
1. Validate all required inputs are available
2. Execute the operation described above
3. Verify the result meets expected output format
4. Handle errors gracefully — retry transient failures, log and alert on persistent ones
5. Return structured output with status and any relevant data

If any required data is missing, request it from the user before proceeding.
STEP 2

2. Create search queries for each research dimension: market size, growth trends

2. Create search queries for each research dimension: market size, growth trends, key players, emerging technologies, regulatory changes

Create search queries for each research dimension: market size, growth trends, key players, emerging technologies, regulatory changes

Steps:
1. Validate all required inputs are available
2. Execute the operation described above
3. Verify the result meets expected output format
4. Handle errors gracefully — retry transient failures, log and alert on persistent ones
5. Return structured output with status and any relevant data

If any required data is missing, request it from the user before proceeding.
STEP 3

3. Daily: run searches and collect new articles, reports, and data points

3. Daily: run searches and collect new articles, reports, and data points

Search the web using the Brave Search API.

GET https://api.search.brave.com/res/v1/web/search?q={query}&count=10&freshness=pd
Headers: X-Subscription-Token: {BRAVE_API_KEY}

Parse the results: extract title, URL, description for each result.
Deduplicate results from the same domain.
Score relevance based on: keyword match in title (high), recency (high), source authority (medium).
Return the top results with: title, 2-sentence summary, source URL, and publish date.

If the search returns no results, try broadening the query by removing the least important keyword.
STEP 4

4. Extract key data points: market size figures, growth rates, funding rounds, M

4. Extract key data points: market size figures, growth rates, funding rounds, M&A activity

Parse the input data and extract the specified fields.

Processing steps:
1. Parse the raw input (JSON response, transcript text, HTML content)
2. Identify and extract each required field
3. Normalize data formats: dates to ISO 8601, amounts to numbers, text trimmed
4. Validate extracted data — flag missing or malformed fields
5. Structure the output as a clean JSON object

For text extraction (transcripts, articles):
- Use pattern matching for structured data (dates, amounts, URLs)
- Use semantic understanding for unstructured data (key decisions, action items, sentiment)

Return both the extracted data and a confidence indicator for each field.
STEP 5

5. Store findings in your research database with source, date, category, and rel

5. Store findings in your research database with source, date, category, and relevance score

Persist the data to the configured storage.

Data structure:
- Include timestamp (ISO 8601) with every record
- Use consistent field names across entries
- Store raw values (not formatted) for future analysis
- Add a source/origin field for audit trail

Storage operation:
1. Validate the data before writing
2. Check for duplicates (by timestamp + unique key)
3. Append to existing records — never overwrite
4. Verify the write succeeded
5. Return the stored record ID/reference
STEP 6

6. Identify emerging trends: topics appearing with increasing frequency over the

6. Identify emerging trends: topics appearing with increasing frequency over the past 30 days

Identify emerging trends: topics appearing with increasing frequency over the past 30 days

Steps:
1. Validate all required inputs are available
2. Execute the operation described above
3. Verify the result meets expected output format
4. Handle errors gracefully — retry transient failures, log and alert on persistent ones
5. Return structured output with status and any relevant data

If any required data is missing, request it from the user before proceeding.
STEP 7

7. Weekly: compile a market research digest — key developments, data points, eme

7. Weekly: compile a market research digest — key developments, data points, emerging trends, and strategic implications

Compile the gathered data into a structured report.

Format as clean Markdown with:
- Title/date header
- Executive summary (2-3 sentences)
- Key metrics section with actual numbers
- Detailed sections with bullet points
- Action items or recommendations at the end

Keep it scannable — busy people read reports in 30 seconds.
Use emoji sparingly for visual anchors (📊 metrics, ✅ wins, ⚠️ concerns, 📋 action items).
Include data comparisons: "X this period vs Y last period (↑Z%)"

If any data source was unavailable, note it clearly: "⚠️ [Source] data unavailable — excluded from this report."
STEP 8

8. Monthly: generate a comprehensive market report with executive summary, marke

8. Monthly: generate a comprehensive market report with executive summary, market overview, competitive landscape, and trend analysis

Compile the gathered data into a structured report.

Format as clean Markdown with:
- Title/date header
- Executive summary (2-3 sentences)
- Key metrics section with actual numbers
- Detailed sections with bullet points
- Action items or recommendations at the end

Keep it scannable — busy people read reports in 30 seconds.
Use emoji sparingly for visual anchors (📊 metrics, ✅ wins, ⚠️ concerns, 📋 action items).
Include data comparisons: "X this period vs Y last period (↑Z%)"

If any data source was unavailable, note it clearly: "⚠️ [Source] data unavailable — excluded from this report."

🤖 Example Agent Prompt

Define your research scope: industry/market, key topics, major players, geographic focus

Steps:
1. Validate all required inputs are available
2. Execute the operation described above
3. Verify the result meets expected output format
4. Handle errors gracefully — retry transient failures, log and alert on persistent ones
5. Return structured output with status and any relevant data

If any required data is missing, request it from the user before proceeding.

Copy this prompt into your agent to get started.