{
  "name": "Analyze WooCommerce product reviews with GPT-4, Airtable & Slack summaries",
  "nodes": [
    {
      "id": "bb34add7-02c0-40c1-ae29-47cc424699d5",
      "name": "Set WooCommerce Domain",
      "type": "n8n-nodes-base.set",
      "position": [
        -5024,
        -640
      ]
    },
    {
      "id": "7504ae47-1e01-4fab-9f40-22009fdc0039",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5936,
        -1264
      ],
      "parameters": {
        "width": 416,
        "height": 624,
        "content": "## How it works\n\nThis workflow automatically fetches new product reviews from WooCommerce every 10 minutes. Each review is sent to an AI model for sentiment analysis (positive, neutral, negative). Res"
      }
    },
    {
      "id": "63767daf-22e6-4995-b155-111d21e0af4d",
      "name": "Every 10 min trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -5248,
        -640
      ]
    },
    {
      "id": "274aa24b-a225-48c3-bd6e-2335abcd1227",
      "name": "Get latest product reviews",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -4800,
        -640
      ]
    },
    {
      "id": "0b3ad706-09d7-4193-a9b1-071205d34154",
      "name": "Process reviews in batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -4576,
        -640
      ]
    },
    {
      "id": "60d867e6-077a-4c18-be97-ba98874b50f1",
      "name": "Analyze Review Sentiment",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -4352,
        -560
      ]
    },
    {
      "id": "c75fbbe1-1d06-4799-b957-b2ff36199a2e",
      "name": "Merge Review & AI Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        -4000,
        -640
      ]
    },
    {
      "id": "1ffbcfb4-b253-4813-95ef-80d72ddf5ea6",
      "name": "Combine Review & AI Results",
      "type": "n8n-nodes-base.code",
      "position": [
        -3776,
        -640
      ]
    },
    {
      "id": "e9aa4109-ca6c-45b4-ab67-625ce54b2de7",
      "name": "Check Sentiment Type",
      "type": "n8n-nodes-base.if",
      "position": [
        -3552,
        -640
      ]
    },
    {
      "id": "57297894-2bf5-431d-8842-6f6b7405e2cd",
      "name": "Save Review in Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        -3328,
        -704
      ]
    },
    {
      "id": "e380722a-84a5-4285-bd01-8431326def42",
      "name": "Merge Summary with Workflow",
      "type": "n8n-nodes-base.merge",
      "position": [
        -3104,
        -640
      ]
    },
    {
      "id": "aa4fa9ab-443d-4116-8926-47d007fc20ff",
      "name": "Summarize Sentiments",
      "type": "n8n-nodes-base.code",
      "position": [
        -2880,
        -640
      ]
    },
    {
      "id": "5d81b161-15f8-41f3-a3c3-d54d4eb2d297",
      "name": "Send Slack Summary",
      "type": "n8n-nodes-base.slack",
      "position": [
        -2656,
        -640
      ]
    },
    {
      "id": "37194cfe-ccb3-4038-b787-c2ad6b0329c5",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5328,
        -720
      ],
      "parameters": {
        "width": null,
        "height": 224,
        "content": "This node runs the workflow every 10 minutes automatically."
      }
    },
    {
      "id": "af032ca2-e69e-4f43-825d-a6fa6966e1f2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -5056,
        -816
      ],
      "parameters": {
        "width": 400,
        "height": 368,
        "content": "## Fetch WooCommerce Reviews\n\nThis process sets your WooCommerce store address and then fetches all the latest product reviews using your store credentials, so the workflow knows which reviews to proc"
      }
    },
    {
      "id": "5278685d-3d66-4ecb-aad2-8577f2c3ba5e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3600,
        -816
      ],
      "parameters": {
        "width": 1152,
        "height": 448,
        "content": "## Save and Share Review Insights\n\nThis part of the workflow saves each review and its sentiment in Airtable, merges all the data together, counts how many reviews are positive, neutral, or negative, "
      }
    },
    {
      "id": "41d5eefd-c79d-40a4-a50b-5c18a64469ba",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4640,
        -816
      ],
      "parameters": {
        "width": 1008,
        "height": 448,
        "content": "## Analyze Reviews with AI\n\nThis process breaks reviews into smaller groups, sends each review to AI to determine its sentiment and create a short summary, and then combines the AI results with the or"
      }
    }
  ],
  "connections": {
    "Send Slack Summary": {
      "main": [
        [
          {
            "node": "Process reviews in batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Sentiment Type": {
      "main": [
        [
          {
            "node": "Save Review in Airtable",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge Summary with Workflow",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Every 10 min trigger": {
      "main": [
        [
          {
            "node": "Set WooCommerce Domain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Sentiments": {
      "main": [
        [
          {
            "node": "Send Slack Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Review & AI Data": {
      "main": [
        [
          {
            "node": "Combine Review & AI Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set WooCommerce Domain": {
      "main": [
        [
          {
            "node": "Get latest product reviews",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Review in Airtable": {
      "main": [
        [
          {
            "node": "Merge Summary with Workflow",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Review Sentiment": {
      "main": [
        [
          {
            "node": "Merge Review & AI Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get latest product reviews": {
      "main": [
        [
          {
            "node": "Process reviews in batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process reviews in batches": {
      "main": [
        [],
        [
          {
            "node": "Analyze Review Sentiment",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge Review & AI Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine Review & AI Results": {
      "main": [
        [
          {
            "node": "Check Sentiment Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Summary with Workflow": {
      "main": [
        [
          {
            "node": "Summarize Sentiments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}