{
  "name": "Generate AI market research reports with Perplexity, Claude, Google Trends, and Autype",
  "nodes": [
    {
      "id": "295e94c4-6aee-45f6-951b-a9474f67c421",
      "name": "Market Research Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        640,
        608
      ]
    },
    {
      "id": "6acec199-2bda-4720-8ac9-06c82f007770",
      "name": "Google Trends",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        1008,
        368
      ]
    },
    {
      "id": "ea829df0-0a86-4590-bd14-ada02a7088ce",
      "name": "Search Competitors",
      "type": "n8n-nodes-serpapi.serpApi",
      "position": [
        1008,
        608
      ]
    },
    {
      "id": "db43f2ae-f426-495a-8462-ca3b8d0504ea",
      "name": "Download Markdown Syntax",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1008,
        848
      ]
    },
    {
      "id": "a48690e4-d1fc-446a-b13a-3b81671bca45",
      "name": "Merge Trends + Competitors",
      "type": "n8n-nodes-base.merge",
      "position": [
        1280,
        496
      ]
    },
    {
      "id": "31f1c008-1c58-4e84-af7e-86dde9075231",
      "name": "Merge With Syntax",
      "type": "n8n-nodes-base.merge",
      "position": [
        1504,
        608
      ]
    },
    {
      "id": "c445484e-8fda-41cf-9be2-3f0b1badba95",
      "name": "Prepare Research Context",
      "type": "n8n-nodes-base.code",
      "position": [
        1728,
        608
      ]
    },
    {
      "id": "f6f12a16-769f-4958-b6fe-723fc012dd3e",
      "name": "AI Research Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2000,
        608
      ]
    },
    {
      "id": "e0abbf23-0a30-44fc-9cd2-aa3ec7947c38",
      "name": "OpenRouter Perplexity",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1920,
        816
      ]
    },
    {
      "id": "45ea95bc-1d9e-4740-ab1e-0b32a6c7362a",
      "name": "Prepare Report Input",
      "type": "n8n-nodes-base.code",
      "position": [
        2288,
        608
      ]
    },
    {
      "id": "9d1585da-755b-4718-b4aa-53aed5d274e4",
      "name": "AI Report Writer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2560,
        608
      ]
    },
    {
      "id": "32885260-1adb-409a-abe6-73fc0ea1322d",
      "name": "Prepare Render Payload",
      "type": "n8n-nodes-base.code",
      "position": [
        2880,
        608
      ]
    },
    {
      "id": "a334b2fd-d3a8-4350-af86-af686700f6bf",
      "name": "Render Report PDF",
      "type": "n8n-nodes-autype.autype",
      "position": [
        3168,
        608
      ]
    },
    {
      "id": "733e6d15-ac9b-4211-abe7-2a0d36e8de54",
      "name": "Save Report to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3408,
        608
      ]
    },
    {
      "id": "e719827e-bbe2-4279-af31-ad17fb4d105a",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -16,
        32
      ],
      "parameters": {
        "width": 576,
        "height": 960,
        "content": "## Generate AI Market Research Reports with Perplexity, Google Trends, and Autype\n\n### Submit a simple form with your product name, industry, and description. The workflow automatically researches you"
      }
    },
    {
      "id": "4297648b-afe8-45b8-b665-20245e1634a0",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        128
      ],
      "parameters": {
        "width": 672,
        "height": 912,
        "content": "### 1. Form Input & Data Gathering\nThe **Market Research Form** collects product name, industry, description, and report language. Three parallel requests then run:\n- **Google Trends** (SerpAPI Offici"
      }
    },
    {
      "id": "a5c30f7b-e06c-4dca-af42-8787a2c85fb4",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1888,
        336
      ],
      "parameters": {
        "width": 560,
        "height": 432,
        "content": "### 2. AI Research (Perplexity via OpenRouter)\nThe **AI Research Agent** uses Perplexity Sonar Pro (via OpenRouter) to conduct deep market research with real-time web access. It receives the Google Se"
      }
    },
    {
      "id": "eeebff9e-612c-4d75-aec7-f43b393b6de3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2480,
        336
      ],
      "parameters": {
        "width": 560,
        "height": 432,
        "content": "### 3. AI Report Writer (Anthropic Claude)\nThe **AI Report Writer** uses Anthropic Claude (via OpenRouter) to take all research data and write a structured market research report using Autype Extended"
      }
    },
    {
      "id": "ee52c460-5609-4f11-b5f4-ed37b8fb822e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3088,
        320
      ],
      "parameters": {
        "width": 608,
        "height": 444,
        "content": "### 4. Render PDF & Save\nThe **Prepare Render Payload** strips code fences and sets the title/filename. **Render Report PDF** uses Autype Render from Markdown with professional defaults:\n- Font: Open "
      }
    },
    {
      "id": "d0f66025-af03-4bc7-8e25-41a27e26c1dc",
      "name": "OpenRouter Anthropic Claude",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2432,
        816
      ]
    }
  ],
  "connections": {
    "Google Trends": {
      "main": [
        [
          {
            "node": "Merge Trends + Competitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Report Writer": {
      "main": [
        [
          {
            "node": "Prepare Render Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Research Agent": {
      "main": [
        [
          {
            "node": "Prepare Report Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge With Syntax": {
      "main": [
        [
          {
            "node": "Prepare Research Context",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Render Report PDF": {
      "main": [
        [
          {
            "node": "Save Report to Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Competitors": {
      "main": [
        [
          {
            "node": "Merge Trends + Competitors",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Market Research Form": {
      "main": [
        [
          {
            "node": "Google Trends",
            "type": "main",
            "index": 0
          },
          {
            "node": "Search Competitors",
            "type": "main",
            "index": 0
          },
          {
            "node": "Download Markdown Syntax",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Report Input": {
      "main": [
        [
          {
            "node": "AI Report Writer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Perplexity": {
      "ai_languageModel": [
        [
          {
            "node": "AI Research Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Render Payload": {
      "main": [
        [
          {
            "node": "Render Report PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Markdown Syntax": {
      "main": [
        [
          {
            "node": "Merge With Syntax",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Prepare Research Context": {
      "main": [
        [
          {
            "node": "AI Research Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Trends + Competitors": {
      "main": [
        [
          {
            "node": "Merge With Syntax",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Anthropic Claude": {
      "ai_languageModel": [
        [
          {
            "node": "AI Report Writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}