Génération et optimisation de l'histoire de marque avec les LLM Ollama et Google Sheets

Intermédiaire

Ceci est unAI, Marketingworkflow d'automatisation du domainecontenant 13 nœuds.Utilise principalement des nœuds comme If, Set, GoogleSheets, Agent, ChatTrigger, combinant la technologie d'intelligence artificielle pour une automatisation intelligente. Génération et optimisation de l'histoire de marque en utilisant les LLMs Ollama et Google Sheets

Prérequis
  • Informations d'identification Google Sheets API
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
{
  "meta": {
    "instanceId": "473ff4054f1a6c3ed6f17a2b4a2e55676fe5b921cceb87b2256e6c416c158559",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "f0fa65c1-68a1-4ad8-94f5-12dcce2ce708",
      "name": "Note autocollante",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -200,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "346fff16-a415-4e28-af89-bfb2dca3a633",
      "name": "Agent évaluateur",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        700,
        340
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "065c3094-415c-4aa8-a964-85bc73efe394",
      "name": "Agent d'optimisation",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1380,
        420
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "9e38b175-e7d7-454f-8d14-0deef8a9f902",
      "name": "Ollama Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "position": [
        340,
        640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "123150d5-cd70-4c4e-9803-549d92ae8011",
      "name": "Ollama Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "position": [
        1400,
        660
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7a2e6ce1-fb42-4c44-9ead-356eff3e4fa2",
      "name": "Chat Input: Start Story Flow",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -100,
        340
      ],
      "webhookId": "fab30ad7-8a5a-4477-be98-1aa43b92b052",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "9a2f1aa8-b5c9-4887-81c1-2450707b6e4b",
      "name": "Agent de narration de marque",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        120,
        340
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "56a6384a-8ccd-41bd-82d6-ab5882b055d6",
      "name": "Définir la variable Marque",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        340
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "47ae1610-3bcc-4507-815a-eea07a36c0d1",
      "name": "Enregistrer l'histoire de marque dans Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1360,
        220
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "80beca32-318c-4e55-9678-5302ee2b7d17",
      "name": "Note autocollante1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "30105c81-95cc-4362-9153-7e6748a08d8e",
      "name": "Note autocollante2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3d16e5be-ca4b-4c0b-a567-e60afeeb7bcb",
      "name": "Note autocollante3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        840,
        660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bd008cb7-78f5-49c4-a76a-76e170946173",
      "name": "Vérification de l'évaluation",
      "type": "n8n-nodes-base.if",
      "position": [
        1060,
        340
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "pinData": {},
  "connections": {
    "346fff16-a415-4e28-af89-bfb2dca3a633": {
      "main": [
        [
          {
            "node": "bd008cb7-78f5-49c4-a76a-76e170946173",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "065c3094-415c-4aa8-a964-85bc73efe394": {
      "main": [
        [
          {
            "node": "56a6384a-8ccd-41bd-82d6-ab5882b055d6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bd008cb7-78f5-49c4-a76a-76e170946173": {
      "main": [
        [
          {
            "node": "47ae1610-3bcc-4507-815a-eea07a36c0d1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "065c3094-415c-4aa8-a964-85bc73efe394",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9e38b175-e7d7-454f-8d14-0deef8a9f902": {
      "ai_languageModel": [
        [
          {
            "node": "9a2f1aa8-b5c9-4887-81c1-2450707b6e4b",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "346fff16-a415-4e28-af89-bfb2dca3a633",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "123150d5-cd70-4c4e-9803-549d92ae8011": {
      "ai_languageModel": [
        [
          {
            "node": "065c3094-415c-4aa8-a964-85bc73efe394",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "56a6384a-8ccd-41bd-82d6-ab5882b055d6": {
      "main": [
        [
          {
            "node": "346fff16-a415-4e28-af89-bfb2dca3a633",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9a2f1aa8-b5c9-4887-81c1-2450707b6e4b": {
      "main": [
        [
          {
            "node": "56a6384a-8ccd-41bd-82d6-ab5882b055d6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7a2e6ce1-fb42-4c44-9ead-356eff3e4fa2": {
      "main": [
        [
          {
            "node": "9a2f1aa8-b5c9-4887-81c1-2450707b6e4b",
            "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é ?

Intermédiaire - Intelligence Artificielle, Marketing

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.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds13
Catégorie2
Types de nœuds7
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Auteur
Aashit Sharma

Aashit Sharma

@aashitsharma

With a strong background in AI agent systems, RAG pipelines, and open-source automation tools like n8n, LangChain, and Ollama, Aashit specializes in crafting end-to-end solutions that merge intelligence with efficiency. He has developed multiple production-ready n8n templates — from personalized interview prep systems and document generators to AI-powered support agents — all designed to empower teams with scalable, low-code automation.

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34