Optimisez votre contenu web performant : Google Analytics, Firecrawl et InfraNodus

Avancé

Ceci est unMarket Research, AI Summarizationworkflow d'automatisation du domainecontenant 17 nœuds.Utilise principalement des nœuds comme Code, Form, FormTrigger, HttpRequest, SplitInBatches. Utiliser Google Analytics, Firecrawl et InfraNodus pour analyser et optimiser le contenu des sites web de premier niveau

Prérequis
  • Peut nécessiter les informations d'identification d'authentification de l'API cible
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "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": "Boucler sur les éléments",
      "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": "Note adhésive",
      "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": "Note adhésive1",
      "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": "Note adhésive2",
      "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": "Note adhésive3",
      "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": "Note adhésive4",
      "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": "Note adhésive5",
      "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": "Note adhésive6",
      "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": "Note adhésive7",
      "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": "Note adhésive8",
      "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
          }
        ]
      ]
    }
  }
}
Foire aux questions

Comment utiliser ce workflow ?

Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.

Dans quelles scénarios ce workflow est-il adapté ?

Avancé - Étude de marché, Résumé IA

Est-ce payant ?

Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.

Workflows recommandés

Informations sur le workflow
Niveau de difficulté
Avancé
Nombre de nœuds17
Catégorie2
Types de nœuds7
Description de la difficulté

Adapté aux utilisateurs avancés, avec des workflows complexes contenant 16+ nœuds

Auteur
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.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34