AutomationFlowsAI & RAG › AI Product Research Agent for E-commerce Market Reports

AI Product Research Agent for E-commerce Market Reports

Original n8n title: Research E-commerce Products with Firecrawl and AI for a Full Market Report

Byosama goda @osamagoda on n8n.io

This AI agent researches any product across e-commerce marketplaces and generates a full market analysis report from a single chat message. Tell it what you're looking for, your budget, and optionally the region — it handles the rest.

Chat trigger trigger★★★☆☆ complexityAI-powered10 nodesChat TriggerAgentMemory Buffer Window@Mendable/N8N Nodes FirecrawlOpenRouter Chat
AI & RAG Trigger: Chat trigger Nodes: 10 Complexity: ★★★☆☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #14405 — we link there as the canonical source.

This workflow follows the Agent → Chat Trigger recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "AI Product Research Agent powered by Firecrawl",
  "tags": [],
  "nodes": [
    {
      "id": "d55bbcfa-40c4-46b1-b8c0-5e9b441868a9",
      "name": "\ud83d\udcac Chat Input",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -704,
        -144
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.4
    },
    {
      "id": "14e3fcef-6af5-4136-b6de-700b88d5bede",
      "name": "\ud83e\udde0 Product Research Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        112,
        -144
      ],
      "parameters": {
        "text": "={{ $json.chatInput }}",
        "options": {
          "systemMessage": "=You are a Product Research Agent specialized in e-commerce market analysis.\n\nWhen the user asks you to research a product:\n\n1. SEARCH: Use Firecrawl Search with a specific query like:\n   \"best [product name] under [price] [year] review\"\n   Example: \"best wireless earbuds under $30 2025 review\"\n   DO NOT search directly on Amazon. Instead search for review articles and comparison pages that list multiple products with prices and ratings.\n\n2. SCRAPE: Scrape ONLY the top 2 results from the search. These review pages typically contain data about 5-10 products in one page, which is more efficient than scraping individual Amazon listings.\n\n3. ANALYZE: From the scraped review articles, extract product data and generate this report:\n\n\ud83d\udcca MARKET OVERVIEW\n- Number of products found\n- Price range (min / avg / max)\n- Average rating\n\n\ud83c\udfc6 TOP 3 PRODUCTS\n- Product name, price, rating, key strength\n- Include purchase link if available\n\n\ud83d\udca1 KEY INSIGHTS\n- Most common features customers want\n- What separates best-sellers from budget options\n\n\u26a0\ufe0f COMMON COMPLAINTS\n- Top 3 recurring issues from reviews\n- Red flags to avoid\n\n\u2705 RECOMMENDATION\n- Best product to BUY (best value)\n- Best niche opportunity to SELL (market gap)\n\nRules:\n- Respond in the same language the user writes in\n- If user writes in Arabic, respond in Egyptian Arabic\n- Keep reports concise and actionable\n- Always include source URLs\n- If scrape data is insufficient, still provide analysis based on whatever data you found\n- NEVER say you cannot generate a report. Always provide the best analysis possible with available data.\n\nREGIONAL MARKETPLACE GUIDE:\nWhen the user mentions a region or country, use these marketplaces:\n\nEgypt (\u0645\u0635\u0631):\n- amazon.eg (Amazon Egypt)\n- noon.com/egypt\n- jumia.com.eg\n\nSaudi Arabia (\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629):\n- noon.com/saudi\n- amazon.sa\n- jarir.com\n- extra.com\n\nUAE (\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a):\n- noon.com/uae\n- amazon.ae\n\nGlobal / No region specified:\n- amazon.com\n- aliexpress.com\n- ebay.com\n\nSEARCH STRATEGY:\n- If user specifies a marketplace: search directly on that site\n  Example query: \"wireless earbuds site:amazon.eg\"\n- If user specifies only a country: search on ALL marketplaces for that country\n  Example query: \"best wireless earbuds amazon.eg OR noon.com/egypt\"\n- If user says nothing about location: search global review sites for comparison articles\n  Example query: \"best wireless earbuds under $30 2025 review\"\n\nCURRENCY HANDLING:\n- If user mentions EGP/\u062c\u0646\u064a\u0647 \u2192 prices in Egyptian Pounds\n- If user mentions SAR/\u0631\u064a\u0627\u0644 \u2192 prices in Saudi Riyals  \n- If user mentions AED/\u062f\u0631\u0647\u0645 \u2192 prices in UAE Dirhams\n- If no currency specified \u2192 prices in USD"
        },
        "promptType": "define"
      },
      "typeVersion": 3.1
    },
    {
      "id": "80108843-89c4-4758-9bf9-68135bae3a7c",
      "name": "\ud83e\udde0 Conversation Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -160,
        256
      ],
      "parameters": {
        "sessionKey": "product-research-agent",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "22448363-6b99-4172-a609-222c058e1e7e",
      "name": "\ud83d\udd0d Search Marketplaces",
      "type": "@mendable/n8n-nodes-firecrawl.firecrawlTool",
      "position": [
        448,
        448
      ],
      "parameters": {
        "query": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Query', ``, 'string') }}",
        "resource": "MapSearch",
        "operation": "search",
        "requestOptions": {}
      },
      "credentials": {
        "firecrawlApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "859e5e3c-0b04-4d3a-88ac-548176f4cd11",
      "name": "\ud83d\udcc4 Scrape Product Pages",
      "type": "@mendable/n8n-nodes-firecrawl.firecrawlTool",
      "position": [
        656,
        448
      ],
      "parameters": {
        "url": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('URL', ``, 'string') }}",
        "operation": "scrape",
        "scrapeOptions": {
          "options": {
            "formats": {
              "format": [
                {}
              ]
            },
            "headers": {}
          }
        },
        "requestOptions": {}
      },
      "credentials": {
        "firecrawlApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f49bb345-9cb4-4602-87d7-78debc4b8178",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1488,
        -400
      ],
      "parameters": {
        "width": 496,
        "height": 480,
        "content": "\ud83d\udce6 AI Product Research Agent\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nBuilt for the n8n x Firecrawl Community Challenge (April 2026)\n\n\ud83d\udd0d What it does:\nResearches any product across global & regional marketplaces \nand generates a comprehensive market analysis report.\n\n\u2728 Features:\n- Multi-marketplace: Amazon, Noon, Jumia, AliExpress & more\n- Regional awareness: Egypt, Saudi Arabia, UAE, Global\n- Bilingual: English & Arabic (Egyptian dialect)\n- Full report: Pricing, ratings, insights, complaints & recommendations\n- Market gap analysis for sellers\n\n\ud83d\udee0 Setup (3 steps):\n1. Add your Firecrawl API key (free at firecrawl.dev)\n2. Add your OpenAI/OpenRouter API key\n3. Click \"Open Chat\" and start researching!\n\n\ud83d\udc64 Built by: Osama Goda (@osamagoda)\n\ud83c\udf10 makeaiagents.dev"
      },
      "typeVersion": 1
    },
    {
      "id": "a886cb6c-cf9d-45f7-835c-e98ab498a4aa",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -400
      ],
      "parameters": {
        "color": 7,
        "width": 384,
        "height": 432,
        "content": "\ud83d\udcac INPUT\n\u2501\u2501\u2501\u2501\u2501\u2501\nUser sends a product research \nrequest via chat.\n\nExamples:\n- \"Research wireless earbuds under $30\"\n- \"\u0627\u0628\u062d\u062b\u0644\u064a \u0639\u0646 \u0623\u062d\u0633\u0646 \u0645\u0627\u0643\u064a\u0646\u0629 \u0642\u0647\u0648\u0629 \u0641\u064a \u0645\u0635\u0631 \u0623\u0642\u0644 \u0645\u0646 2500 \u062c\u0646\u064a\u0647\"\n- \"Find best phone cases on Amazon\""
      },
      "typeVersion": 1
    },
    {
      "id": "0c6504c9-2a69-49b3-a9bf-172fd88e41bf",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -480
      ],
      "parameters": {
        "color": 7,
        "width": 432,
        "height": 464,
        "content": "\ud83e\udde0 AI AGENT\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nOrchestrates the full research workflow:\n\n1. Receives user query\n2. Plans search strategy based on region/marketplace\n3. Calls Firecrawl tools to gather data\n4. Analyzes results with AI\n5. Generates structured report\n\nSupports:\n- Automatic marketplace detection by country\n- Currency handling (USD, EGP, SAR, AED)\n- Bilingual responses (EN/AR)"
      },
      "typeVersion": 1
    },
    {
      "id": "6181c29a-c411-430f-83ff-b17edeada992",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        144,
        368
      ],
      "parameters": {
        "color": 7,
        "width": 656,
        "height": 304,
        "content": "\ud83d\udd25 FIRECRAWL TOOLS\n\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\nSearch: Finds product pages across \nthe web and marketplaces\n\nScrape: Extracts detailed product \ndata (name, price, rating, reviews)\nin clean markdown format\n\n\ud83d\udca1 Credits: ~8-10 per research\n(1 search + 2 scrapes)"
      },
      "typeVersion": 1
    },
    {
      "id": "5ed5d2da-de40-43bf-8e18-909f0081fe43",
      "name": "\ud83e\udd16 Gemini 2.5 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -416,
        256
      ],
      "parameters": {
        "model": "google/gemini-2.5-flash",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "connections": {
    "\ud83d\udcac Chat Input": {
      "main": [
        [
          {
            "node": "\ud83e\udde0 Product Research Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\ud83e\udd16 Gemini 2.5 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "\ud83e\udde0 Product Research Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "\ud83d\udd0d Search Marketplaces": {
      "ai_tool": [
        [
          {
            "node": "\ud83e\udde0 Product Research Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "\ud83e\udde0 Conversation Memory": {
      "ai_memory": [
        [
          {
            "node": "\ud83e\udde0 Product Research Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "\ud83d\udcc4 Scrape Product Pages": {
      "ai_tool": [
        [
          {
            "node": "\ud83e\udde0 Product Research Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This AI agent researches any product across e-commerce marketplaces and generates a full market analysis report from a single chat message. Tell it what you're looking for, your budget, and optionally the region — it handles the rest.

Source: https://n8n.io/workflows/14405/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

Send an AI a few details about your "Dream Customer" in normal english, then have it search the web and give you a "Dream 100" - 100 ideal prospects to connect with in your industry.

Agent, OpenRouter Chat, Chat Trigger +7
AI & RAG

Turn any YouTube channel into a searchable knowledge base. The AI agent understands relationships between videos, topics, tools, and concepts - enabling powerful queries like "Which videos talk about

OpenRouter Chat, Agent, Chat Trigger +8
AI & RAG

⚠️ Important: This workflow uses community nodes (JsonCut, Blotato) and requires a self-hosted n8n instance.

HTTP Request, OpenAI, Google Gemini +7
AI & RAG

Overview Meet Maria, a sophisticated AI Booking Agent designed for Veterinary Clinics (but easily adaptable to any service business). This workflow transforms a simple chat interface into a full-scale

Chat Trigger, Google Calendar Tool, Memory Buffer Window +7
AI & RAG

Easily Compare LLMs Using OpenAI and Google Sheets. Uses chatTrigger, splitInBatches, memoryBufferWindow, memoryManager. Chat trigger; 21 nodes.

Chat Trigger, Memory Buffer Window, Memory Manager +3