{
  "name": "Generate comprehensive business analysis reports with Gemini AI & Firecrawl",
  "nodes": [
    {
      "id": "8af420dc-ed2e-47b0-8f6e-55fa7d544fed",
      "name": "Get Country & Language Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        -736
      ]
    },
    {
      "id": "450235a2-4696-4ce0-bff4-231115c20a01",
      "name": "Submit Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -448,
        -736
      ]
    },
    {
      "id": "7a165840-1ab6-4360-9363-f538dbebcecc",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        -816
      ],
      "parameters": {
        "width": 1024,
        "height": 256,
        "content": "## -> Get all Data and prepare report"
      }
    },
    {
      "id": "dae48f45-737a-48ff-92d5-a6109597715a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        -816
      ],
      "parameters": {
        "width": 576,
        "height": 256,
        "content": "# -> Input"
      }
    },
    {
      "id": "c718850e-d68e-4b5f-bd0b-22293d3b6dbf",
      "name": "URL_search",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        480,
        -960
      ]
    },
    {
      "id": "112cec77-0d79-4d87-95a8-55d200a87caa",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -816
      ],
      "parameters": {
        "width": 400,
        "height": 256,
        "content": "## Business Intelligence Analysis"
      }
    },
    {
      "id": "08e140ba-2b71-49b0-b11c-11e296802250",
      "name": "Session ID",
      "type": "n8n-nodes-base.code",
      "position": [
        -80,
        -736
      ]
    },
    {
      "id": "172fa273-fc9e-4412-928c-ea59481d0678",
      "name": "insert_row_in_data_table",
      "type": "n8n-nodes-base.dataTableTool",
      "position": [
        640,
        -960
      ]
    },
    {
      "id": "90eaf99e-ff09-49d5-becb-506bb16ef71d",
      "name": "online_Search",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        160,
        -960
      ]
    },
    {
      "id": "78325ee1-e0ce-4245-93fb-62ea2d56fbef",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        -544
      ],
      "parameters": {
        "width": 272,
        "height": 176,
        "content": "![n8n Creator Profile](https://pub-70c57f6d49284d1da8650039c2add836.r2.dev/ai%20marketing%20hub.png)"
      }
    },
    {
      "id": "ee161257-36b1-4d09-a4be-187f7000dc88",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        -1008
      ],
      "parameters": {
        "width": 1296,
        "height": 176,
        "content": ""
      }
    },
    {
      "id": "631ea8bc-c63b-4d10-a4a0-9b5b64091f2f",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        672,
        -384
      ],
      "parameters": {
        "width": 272,
        "height": 96,
        "content": "**Workflow created by [@AgriciDaniel](https://www.youtube.com/@AgriciDaniel)**\n* [AI Marketing Hub](https://www.skool.com/ai-marketing-hub)\n* [AI Marketing Hub Pro](https://www.skool.com/ai-marketing-"
      }
    },
    {
      "id": "95559e77-0a13-4f60-bfa2-7f7d30aba442",
      "name": "serp_Search",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -160,
        -960
      ]
    },
    {
      "id": "7f8e6f17-b0ac-4229-b22b-a6cb40e50c7f",
      "name": "ai_Mode",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        0,
        -960
      ]
    },
    {
      "id": "a812c74c-143f-491a-86ab-f6f9daf1e40d",
      "name": "Think_tool",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -480,
        -960
      ]
    },
    {
      "id": "1c71a132-6f09-4c04-aa64-7b1856f0ff84",
      "name": "deep_research",
      "type": "n8n-nodes-base.perplexityTool",
      "position": [
        320,
        -960
      ]
    },
    {
      "id": "efe0543d-5caf-4d83-960d-5afa121b9b39",
      "name": "Business Analyst",
      "type": "@n8n/n8n-nodes-langchain.googleGemini",
      "position": [
        160,
        -736
      ]
    },
    {
      "id": "8b7e53f4-11e5-4612-8940-63758b72d51a",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -544
      ],
      "parameters": {
        "width": 256,
        "height": 256,
        "content": "## ->  Reference data"
      }
    },
    {
      "id": "af44c2d5-741f-447a-8ece-6656a81bc6e3",
      "name": "Get Session Data",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        -464
      ]
    },
    {
      "id": "c1e6ae63-d6bc-426f-80a1-b82b08d2517d",
      "name": "get_internal_links",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        -320,
        -960
      ]
    },
    {
      "id": "e85d778b-f116-4c73-985c-3fe94b6b9bf2",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        -224
      ],
      "parameters": {
        "width": 336,
        "height": 368,
        "content": "**1. `[-Business Data-]`** Data Table\n* `session_id` (string)\n* `client_name` (string)\n* `client_country` (string)\n* `client_language` (string)\n* `client_website` (string)\n* `client_description` (stri"
      }
    },
    {
      "id": "342a5304-f3af-422a-afc5-9f183f789a0a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1152,
        -1008
      ],
      "parameters": {
        "width": 608,
        "height": 1344,
        "content": "## **Business Analysis Workflow Setup Guide** 🚀\nHere’s a simple guide to get your workflow up and running.\n\n## **Step 1. Set Up Your Data T 🗂️**\nThis workflow needs a place to store information. You'l"
      }
    },
    {
      "id": "226c6bac-43e3-450f-bea9-5c3322b86a02",
      "name": "Get Business Data",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        544,
        -736
      ]
    },
    {
      "id": "6e3a3db7-b73b-45f8-b3e3-d10154e348c8",
      "name": "Make Copy of Template",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        912,
        -736
      ]
    },
    {
      "id": "4f3d5e1c-fe14-49c1-bf8c-0b2d48a6c68b",
      "name": "Generate PDF",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -272,
        -464
      ]
    },
    {
      "id": "0c04268b-dd1e-4707-a576-8041b748878e",
      "name": "Add PDF To Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -96,
        -464
      ]
    },
    {
      "id": "7dcfbadc-7abd-4c10-b3cd-9a1ca89df40e",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        -544
      ],
      "parameters": {
        "width": 896,
        "height": 256,
        "content": "## -> Business Analysis Report"
      }
    },
    {
      "id": "bc4a2927-29e7-4472-b159-779232d00126",
      "name": "Get All Data",
      "type": "n8n-nodes-base.set",
      "position": [
        720,
        -736
      ]
    },
    {
      "id": "d4638468-34a7-40be-a695-8faf7822abf3",
      "name": "Generate Doc",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1344,
        -736
      ]
    },
    {
      "id": "620594e5-aaa3-4c80-b19d-5aa8a54dd2ca",
      "name": "Add Doc to Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -432,
        -464
      ]
    },
    {
      "id": "7596700f-0bf1-433c-b9fc-8ceed8e0cddb",
      "name": "Get Links",
      "type": "n8n-nodes-base.set",
      "position": [
        64,
        -464
      ]
    },
    {
      "id": "f34e1c4e-ec63-43d6-b783-db8e1cb90430",
      "name": "Send email",
      "type": "n8n-nodes-base.gmail",
      "position": [
        224,
        -464
      ]
    },
    {
      "id": "40e2dbde-d0b1-4807-8b67-2913fde07eca",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        -992
      ],
      "parameters": {
        "width": 720,
        "height": null,
        "content": "### **serp_search**, **get_internal_links**, **ai_mode** tools Sub-workflow inputs:\n* function: `serp_search` / `ai_mode` / `get_internal_links`\n* keyword: Defined automatically by the model\n* url: De"
      }
    },
    {
      "id": "15a0fb74-5559-4c95-ac8e-214dd1bae74e",
      "name": "Change Variables in Doc",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1120,
        -736
      ]
    },
    {
      "id": "2da7f621-4ec5-4319-93c0-fa001f4c8523",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -512,
        -272
      ],
      "parameters": {
        "width": 384,
        "height": 432,
        "content": "## Data Tables Setup:"
      }
    }
  ],
  "connections": {
    "ai_Mode": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Links": {
      "main": [
        [
          {
            "node": "Send email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send email": {
      "main": [
        [
          {
            "node": "Get Session Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Session ID": {
      "main": [
        [
          {
            "node": "Business Analyst",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think_tool": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "URL_search": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Submit Form": {
      "main": [
        [
          {
            "node": "Get Country & Language Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "serp_Search": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Generate Doc": {
      "main": [
        [
          {
            "node": "Add Doc to Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate PDF": {
      "main": [
        [
          {
            "node": "Add PDF To Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get All Data": {
      "main": [
        [
          {
            "node": "Make Copy of Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "deep_research": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "online_Search": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Doc to Drive": {
      "main": [
        [
          {
            "node": "Generate PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add PDF To Drive": {
      "main": [
        [
          {
            "node": "Get Links",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Business Analyst": {
      "main": [
        [
          {
            "node": "Get Business Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Session Data": {
      "main": [
        []
      ]
    },
    "Get Business Data": {
      "main": [
        [
          {
            "node": "Get All Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "get_internal_links": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Make Copy of Template": {
      "main": [
        [
          {
            "node": "Change Variables in Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Change Variables in Doc": {
      "main": [
        [
          {
            "node": "Generate Doc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "insert_row_in_data_table": {
      "ai_tool": [
        [
          {
            "node": "Business Analyst",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Country & Language Code": {
      "main": [
        [
          {
            "node": "Session ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}