Ollama LLMsとGoogleシートを使用してブランドストーリーを生成・最適化
これはAI, Marketing分野の自動化ワークフローで、13個のノードを含みます。主にIf, Set, GoogleSheets, Agent, ChatTriggerなどのノードを使用、AI技術を活用したスマート自動化を実現。 OllamaのLLMとGoogle Sheetsを使ってブランドストーリーを生成し、最適化する
- •Google Sheets API認証情報
{
"meta": {
"instanceId": "473ff4054f1a6c3ed6f17a2b4a2e55676fe5b921cceb87b2256e6c416c158559",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "f0fa65c1-68a1-4ad8-94f5-12dcce2ce708",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-200,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "346fff16-a415-4e28-af89-bfb2dca3a633",
"name": "評価エージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
700,
340
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "065c3094-415c-4aa8-a964-85bc73efe394",
"name": "最適化エージェント",
"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": "チャット入力: ストーリーフロー開始",
"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": "ブランドストーリーテリングエージェント",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
120,
340
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "56a6384a-8ccd-41bd-82d6-ab5882b055d6",
"name": "ブランド変数の設定",
"type": "n8n-nodes-base.set",
"position": [
480,
340
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "47ae1610-3bcc-4507-815a-eea07a36c0d1",
"name": "ブランドストーリーをスプレッドシートに保存",
"type": "n8n-nodes-base.googleSheets",
"position": [
1360,
220
],
"parameters": {},
"typeVersion": 4.6
},
{
"id": "80beca32-318c-4e55-9678-5302ee2b7d17",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "30105c81-95cc-4362-9153-7e6748a08d8e",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
140
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3d16e5be-ca4b-4c0b-a567-e60afeeb7bcb",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
660
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "bd008cb7-78f5-49c4-a76a-76e170946173",
"name": "評価チェック",
"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
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 人工知能, マーケティング
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Aashit Sharma
@aashitsharmaWith 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.
このワークフローを共有