Ihre besten Website-Inhalte optimieren: Google Analytics, Firecrawl und InfraNodus

Experte

Dies ist ein Market Research, AI Summarization-Bereich Automatisierungsworkflow mit 17 Nodes. Hauptsächlich werden Code, Form, FormTrigger, HttpRequest, SplitInBatches und andere Nodes verwendet. Verwendung von Google Analytics, Firecrawl und InfraNodus zur Analyse und Optimierung der Inhalte von Top-Websites

Voraussetzungen
  • Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
  "id": "NVYTk6MsFOtt7oz1",
  "meta": {
    "instanceId": "2a26454b0172ffcb8d70ba77c235b1209f92cd71bf06c79ba609c7173b416d68",
    "templateCredsSetupCompleted": true
  },
  "name": "Optimize Your Top Performing Website Content: Google Analytics, Firecrawl, and InfraNodus",
  "tags": [
    {
      "id": "E52i6BJ7Ht6yF3OB",
      "name": "Productivity",
      "createdAt": "2025-06-04T10:29:27.533Z",
      "updatedAt": "2025-06-04T10:29:27.533Z"
    },
    {
      "id": "MyFEaUe9Eo4t7SvF",
      "name": "SEO",
      "createdAt": "2025-05-20T13:16:17.982Z",
      "updatedAt": "2025-05-20T13:16:17.982Z"
    },
    {
      "id": "kldZpTCan1suEN8v",
      "name": "Marketing",
      "createdAt": "2025-05-20T13:16:20.459Z",
      "updatedAt": "2025-05-20T13:16:20.459Z"
    }
  ],
  "nodes": [
    {
      "id": "d891e465-f85d-4496-a17e-8def7784e7d0",
      "name": "InfraNodus Save to Graph",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1260,
        280
      ],
      "parameters": {
        "url": "https://infranodus.com/api/v1/graphAndStatements?doNotSave=false&includeGraph=false&includeGraphSummary=true&includeGraph=false",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "top_support_pages"
            },
            {
              "name": "text",
              "value": "={{ $json.data.markdown }}"
            },
            {
              "name": "=categories",
              "value": "=[filename: {{ $('Loop Over Items').item.json.pagePath .slice(0,16)}}]"
            },
            {
              "name": "contextSettings",
              "value": "={{{ \"squareBracketsProcessing\":\"IGNORE_BRACKETS\"} }}"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth"
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "6JhFyMydVKFetXnQ",
          "name": "InfraNodus Demo API Key"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "3b5a882d-eba5-4303-bd0f-b55bb9dc3c80",
      "name": "Google Analytics",
      "type": "n8n-nodes-base.googleAnalytics",
      "position": [
        260,
        180
      ],
      "parameters": {
        "limit": 30,
        "dateRange": "last30days",
        "metricsGA4": {
          "metricValues": [
            {
              "listName": "screenPageViews"
            }
          ]
        },
        "propertyId": {
          "__rl": true,
          "mode": "list",
          "value": "367609797",
          "cachedResultUrl": "https://analytics.google.com/analytics/web/#/p367609797/",
          "cachedResultName": "NodusLabs Support - GA4"
        },
        "dimensionsGA4": {
          "dimensionValues": [
            {
              "name": "pagePath",
              "listName": "other"
            }
          ]
        },
        "additionalFields": {}
      },
      "credentials": {
        "googleAnalyticsOAuth2": {
          "id": "oyUs81DDRd1Y8Aw3",
          "name": "Google Analytics account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "9b026c0e-b5e8-4269-875f-25020808cf2f",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        460,
        200
      ],
      "parameters": {
        "jsCode": "// Loop over input items and add a new field called 'myNewField' to the JSON of each one\nfor (const item of $input.all()) {\n  item.json.fullUrl = \"https://support.noduslabs.com\" + item.json.pagePath\n}\n\nreturn $input.all();"
      },
      "typeVersion": 2
    },
    {
      "id": "053de933-9cb0-454e-b504-7e51b9fce532",
      "name": "Über Elemente schleifen",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        700,
        200
      ],
      "parameters": {
        "options": {
          "reset": false
        }
      },
      "typeVersion": 3
    },
    {
      "id": "5b9a3e4d-ebeb-4ced-b4f3-f8d871d40351",
      "name": "InfraNodus GraphRAG Summary",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        980,
        -240
      ],
      "parameters": {
        "url": "https://infranodus.com/api/v1/graphAndAdvice?doNotSave=true&includeGraph=false&includeGraphSummary=true",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "name",
              "value": "top_support_pages"
            },
            {
              "name": "requestMode",
              "value": "=summary"
            },
            {
              "name": "aiTopics",
              "value": "true"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth"
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "6JhFyMydVKFetXnQ",
          "name": "InfraNodus Demo API Key"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "87d3b8f9-0b29-4f59-80d0-c24506c1672d",
      "name": "Form",
      "type": "n8n-nodes-base.form",
      "position": [
        1260,
        -240
      ],
      "webhookId": "87fe6592-cad6-44a2-bf6a-a7fed7e36b10",
      "parameters": {
        "operation": "completion",
        "respondWith": "showText",
        "responseText": "=<br>\n<h1>Top Content Summary</h1>\n<h3>{{ $json.aiAdvice[0].text }}</h3>\n<br>\n<h1>Main Topics</h1>\n<h3>{{ $json.graphSummary }}</h3>"
      },
      "typeVersion": 1
    },
    {
      "id": "ab6c3d18-e864-4d7a-882d-640433d89692",
      "name": "Haftnotiz",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -1000
      ],
      "parameters": {
        "color": 4,
        "width": 720,
        "height": 820,
        "content": "# Optimize Your Top Performing Website Content\n\n## What are the main topics your customers are interested in? \n## What new content could you create for them?\n\n### 1. Gets the top pages from your Google Analytics account\n### 2. Extracts text from them using Firecrawl API\n### 3. Generates a knowledge graph with [InfraNodus](https://infranodus.com) for all the pages\n### 4. Extracts the main topical clusters from the knowledge graph\n### 5. Finds the gaps between the clusters = opportunities for new content\n\n![https://infranodus.com/images/front/infranodus-overview@.jpg](https://infranodus.com/images/front/infranodus-overview@2x.jpg)"
      },
      "typeVersion": 1
    },
    {
      "id": "4b064223-fd1f-4908-9989-88460d674ffe",
      "name": "Haftnotiz1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -140
      ],
      "parameters": {
        "width": 200,
        "height": 280,
        "content": "## 1. Trigger the workflow"
      },
      "typeVersion": 1
    },
    {
      "id": "b6947c22-985b-4930-8e2c-e8cacbf10999",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        -20
      ],
      "webhookId": "b1dd1744-90bb-4bdd-bc1e-f9f78256435e",
      "parameters": {
        "options": {},
        "formTitle": "Launch Analysis",
        "formDescription": "This workflow will analyze top visited pages in a Google Analytics property you select and reveal the main topics inside."
      },
      "typeVersion": 2.2
    },
    {
      "id": "e38ad0da-6f9c-4fc3-98b5-96f0d3306342",
      "name": "Haftnotiz2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        200,
        -140
      ],
      "parameters": {
        "width": 200,
        "height": 480,
        "content": "## 2. Get top pages from your Google Analytics account\n\n🚨 Specify and connect your Google Analytics account here"
      },
      "typeVersion": 1
    },
    {
      "id": "c25a4cff-fb5f-4c84-8600-13a3c98784e4",
      "name": "Haftnotiz3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -140
      ],
      "parameters": {
        "width": 200,
        "height": 480,
        "content": "## 3. Fix analytics links\n\n🚨 Add the website name as a prefix to extracted links from Analytics"
      },
      "typeVersion": 1
    },
    {
      "id": "149613e6-a11b-4749-85fd-f6c0322ee1bd",
      "name": "Haftnotiz4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        660,
        -140
      ],
      "parameters": {
        "width": 200,
        "height": 480,
        "content": "## 4. Loop through each URL page"
      },
      "typeVersion": 1
    },
    {
      "id": "fb3050ec-f4e6-424e-8f1e-7152791b8001",
      "name": "Haftnotiz5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        100
      ],
      "parameters": {
        "width": 200,
        "height": 400,
        "content": "## 5. Scrape and extract text from each URL\n\n🚨 Add your [Firecrawl API key](firecrawl.dev) here"
      },
      "typeVersion": 1
    },
    {
      "id": "d517976a-f792-4d67-ac30-0b3e297a04c0",
      "name": "URL to Markdown with Firecrawl",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        960,
        300
      ],
      "parameters": {
        "url": "https://api.firecrawl.dev/v1/scrape",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.fullUrl }}"
            }
          ]
        },
        "genericAuthType": "httpBearerAuth"
      },
      "credentials": {
        "httpBearerAuth": {
          "id": "6A4tAAAhIAImDTiu",
          "name": "Firecrawl"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "e8a79940-f810-439d-b094-1a06c6550862",
      "name": "Haftnotiz6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        20
      ],
      "parameters": {
        "width": 200,
        "height": 480,
        "content": "## 6. Save Text to InfraNodus Knowledge Graph\n\n🚨 Add your [InfraNodus](https://infranodus.com) key and specify the graph to save to"
      },
      "typeVersion": 1
    },
    {
      "id": "5ac8c100-f1f2-4b17-9187-1b32d06b0a4c",
      "name": "Haftnotiz7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        -540
      ],
      "parameters": {
        "width": 200,
        "height": 540,
        "content": "## 7. Get the main topics from the graph\n\n🚨 Add your [InfraNodus](https://infranodus.com) key and specify the same graph name as in Step 6"
      },
      "typeVersion": 1
    },
    {
      "id": "4b51a22d-3c9f-4c3d-915e-197986ccd0f1",
      "name": "Haftnotiz8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        -540
      ],
      "parameters": {
        "width": 200,
        "height": 520,
        "content": "## 8. Display the final result\n\n### Optionally: you can send the result to your Slack channel or via email. Or link it to a content creation workflow."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "28265123-7003-43e7-81fe-db737067ca43",
  "connections": {
    "9b026c0e-b5e8-4269-875f-25020808cf2f": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "5b9a3e4d-ebeb-4ced-b4f3-f8d871d40351",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d517976a-f792-4d67-ac30-0b3e297a04c0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3b5a882d-eba5-4303-bd0f-b55bb9dc3c80": {
      "main": [
        [
          {
            "node": "9b026c0e-b5e8-4269-875f-25020808cf2f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b6947c22-985b-4930-8e2c-e8cacbf10999": {
      "main": [
        [
          {
            "node": "3b5a882d-eba5-4303-bd0f-b55bb9dc3c80",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d891e465-f85d-4496-a17e-8def7784e7d0": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5b9a3e4d-ebeb-4ced-b4f3-f8d871d40351": {
      "main": [
        [
          {
            "node": "87d3b8f9-0b29-4f59-80d0-c24506c1672d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d517976a-f792-4d67-ac30-0b3e297a04c0": {
      "main": [
        [
          {
            "node": "d891e465-f85d-4496-a17e-8def7784e7d0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Häufig gestellte Fragen

Wie verwende ich diesen Workflow?

Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.

Für welche Szenarien ist dieser Workflow geeignet?

Experte - Marktforschung, KI-Zusammenfassung

Ist es kostenpflichtig?

Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.

Workflow-Informationen
Schwierigkeitsgrad
Experte
Anzahl der Nodes17
Kategorie2
Node-Typen7
Schwierigkeitsbeschreibung

Für fortgeschrittene Benutzer, komplexe Workflows mit 16+ Nodes

Autor
InfraNodus

InfraNodus

@infranodus

I'm Dmitry, the founder of InfraNodus — an AI text network analysis tool. I'm passionate about networks and data visualization and its ability to reveal what everyone else is missing and to highlight different perspectives. I'm sharing the n8n templates that make use of this unique capability of InfraNodus for multiple scenarios.

Externe Links
Auf n8n.io ansehen

Diesen Workflow teilen

Kategorien

Kategorien: 34