GPT-4の感情分析機能により、Notion内でユーザーからのフィードバックを分析しタグ付けする

上級

これはSales, Support, AI, Marketing分野の自動化ワークフローで、31個のノードを含みます。主にSet, Code, Merge, Notion, NotionToolなどのノードを使用、AI技術を活用したスマート自動化を実現。 ユーザーからのフィードバックをGPT-4感情分析でNotionで分析してマーキングする

前提条件
  • Notion API Key
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "meta": {
    "instanceId": "f4f5d195bb2162a0972f737368404b18be694648d365d6c6771d7b4909d28167",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "d4f8359b-c80b-409c-a5e3-0c4a2b1868ae",
      "name": "フィードバック感情分析を更新",
      "type": "n8n-nodes-base.notion",
      "position": [
        1660,
        -220
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "76fd1d49-3c0e-4f82-a362-e9e934fb4603",
      "name": "データベース構造を取得",
      "type": "n8n-nodes-base.notion",
      "position": [
        1640,
        440
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "cdea1403-bb1f-498e-bed7-999f5a32ac67",
      "name": "全てのフィードバックを取得",
      "type": "n8n-nodes-base.notionTool",
      "position": [
        3360,
        600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c0c95739-45b9-4947-b214-0d238b51c33b",
      "name": "全てのインサイトを取得",
      "type": "n8n-nodes-base.notionTool",
      "position": [
        3180,
        600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "90241f39-a8af-4675-a57a-f1391f9b513c",
      "name": "構造化出力パーサー",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3980,
        760
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "f93b5559-8eb5-4216-95b8-82e061a71b24",
      "name": "感情分析1",
      "type": "@n8n/n8n-nodes-langchain.sentimentAnalysis",
      "position": [
        1240,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "33b9c804-4f4b-44ae-8238-2bdb5e859665",
      "name": "自動修正出力パーサー",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        3800,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8a306667-f028-48fc-a3a3-44bf33d79cad",
      "name": "新規インサイトを作成",
      "type": "n8n-nodes-base.notionTool",
      "position": [
        3520,
        600
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2146f34b-9f59-404e-b70d-f8e22b7f49b0",
      "name": "ウィンドウバッファメモリ1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2860,
        600
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "87c6d9a6-58d7-4a58-b1da-3ee37ab58e3e",
      "name": "フィードバックを更新",
      "type": "n8n-nodes-base.notion",
      "maxTries": 2,
      "position": [
        3860,
        160
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 2.2,
      "waitBetweenTries": 5000
    },
    {
      "id": "965d9764-2916-4bc5-bc46-37d242871173",
      "name": "データベースアイテム更新時",
      "type": "n8n-nodes-base.notionTrigger",
      "position": [
        920,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2d691c3b-92c9-4f70-b51c-cfb11455b52e",
      "name": "マージ",
      "type": "n8n-nodes-base.merge",
      "position": [
        2420,
        160
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "9a0475cd-906a-4bdc-a9db-167dabc1916a",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "49d3e282-b43a-435f-b04f-663680383f09",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ec11349c-fc60-41f1-baa7-01ab6c25ddc8",
      "name": "OpenAI - 感情分析",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1340,
        -80
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3d3051dc-c141-4917-a7a4-25d6bb9d8065",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cda892d3-d588-418d-85ac-d266bf91592b",
      "name": "製品情報を設定",
      "type": "n8n-nodes-base.set",
      "position": [
        1300,
        440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c7a2465f-4062-49e7-9dd3-70768d7f00d4",
      "name": "プロンプトを設定",
      "type": "n8n-nodes-base.set",
      "position": [
        2120,
        440
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a6ed81c9-b6d8-4777-b6bb-c27c91becb0d",
      "name": "付箋3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1580,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "616e34d9-2c57-4942-befc-4ee2b585934e",
      "name": "データベースプロパティをクリーンアップ",
      "type": "n8n-nodes-base.code",
      "position": [
        1820,
        440
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "158439de-221a-492e-adc3-746cb2201321",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a0f41b8-9fc3-4a79-9d65-1e7032a28574",
      "name": "OpenAI - AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2540,
        600
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "356ed301-f92d-4e0e-a07b-1e56ce0b7af1",
      "name": "OpenAI - パーサー修正",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        3840,
        760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6e16a3c3-5453-4e75-9742-8a2f1efb92a0",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2440,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8ef22961-fcef-4f48-9e27-36caefe91ce6",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2760,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "61144e4d-9c4e-41cb-98ef-aecefc5dd721",
      "name": "付箋7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3080,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "68d38fd5-6aa5-4e4d-8019-d43767d4e03b",
      "name": "付箋8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2864.257816298081,
        -35.53222703726067
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c24f6d6f-4291-4a25-a874-8ae676db104e",
      "name": "付箋9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3740,
        400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
      "name": "AIエージェント",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2940,
        160
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "321d155f-b2a2-4073-83d7-3893b3f52a12",
      "name": "付箋10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3740,
        -40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e7c6de3b-3787-449f-be67-f2bd3ab07412",
      "name": "付箋11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -120,
        -360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "2d691c3b-92c9-4f70-b51c-cfb11455b52e": {
      "main": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cb5af46d-2dc2-409f-bff3-56e16beb6cb2": {
      "main": [
        [
          {
            "node": "87c6d9a6-58d7-4a58-b1da-3ee37ab58e3e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c7a2465f-4062-49e7-9dd3-70768d7f00d4": {
      "main": [
        [
          {
            "node": "2d691c3b-92c9-4f70-b51c-cfb11455b52e",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "cdea1403-bb1f-498e-bed7-999f5a32ac67": {
      "ai_tool": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "c0c95739-45b9-4947-b214-0d238b51c33b": {
      "ai_tool": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9a0f41b8-9fc3-4a79-9d65-1e7032a28574": {
      "ai_languageModel": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "8a306667-f028-48fc-a3a3-44bf33d79cad": {
      "ai_tool": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "f93b5559-8eb5-4216-95b8-82e061a71b24": {
      "main": [
        [
          {
            "node": "d4f8359b-c80b-409c-a5e3-0c4a2b1868ae",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d4f8359b-c80b-409c-a5e3-0c4a2b1868ae",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "d4f8359b-c80b-409c-a5e3-0c4a2b1868ae",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2146f34b-9f59-404e-b70d-f8e22b7f49b0": {
      "ai_memory": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "76fd1d49-3c0e-4f82-a362-e9e934fb4603": {
      "main": [
        [
          {
            "node": "616e34d9-2c57-4942-befc-4ee2b585934e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "356ed301-f92d-4e0e-a07b-1e56ce0b7af1": {
      "ai_languageModel": [
        [
          {
            "node": "33b9c804-4f4b-44ae-8238-2bdb5e859665",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "965d9764-2916-4bc5-bc46-37d242871173": {
      "main": [
        [
          {
            "node": "f93b5559-8eb5-4216-95b8-82e061a71b24",
            "type": "main",
            "index": 0
          },
          {
            "node": "cda892d3-d588-418d-85ac-d266bf91592b",
            "type": "main",
            "index": 0
          },
          {
            "node": "2d691c3b-92c9-4f70-b51c-cfb11455b52e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "90241f39-a8af-4675-a57a-f1391f9b513c": {
      "ai_outputParser": [
        [
          {
            "node": "33b9c804-4f4b-44ae-8238-2bdb5e859665",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "33b9c804-4f4b-44ae-8238-2bdb5e859665": {
      "ai_outputParser": [
        [
          {
            "node": "cb5af46d-2dc2-409f-bff3-56e16beb6cb2",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "ec11349c-fc60-41f1-baa7-01ab6c25ddc8": {
      "ai_languageModel": [
        [
          {
            "node": "f93b5559-8eb5-4216-95b8-82e061a71b24",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "cda892d3-d588-418d-85ac-d266bf91592b": {
      "main": [
        [
          {
            "node": "76fd1d49-3c0e-4f82-a362-e9e934fb4603",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "616e34d9-2c57-4942-befc-4ee2b585934e": {
      "main": [
        [
          {
            "node": "c7a2465f-4062-49e7-9dd3-70768d7f00d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - 営業, サポート, 人工知能, マーケティング

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数31
カテゴリー4
ノードタイプ13
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
Agent Studio

Agent Studio

@agentstudio

We are a product studio that helps organizations leverage no-code and generative AI to automate internal processes and launch new digital products.

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34