{
  "name": "Customer feedback automation with sentiment analysis using GPT-4.1, Jira & Slack",
  "nodes": [
    {
      "id": "897474a0-9537-4083-a3b5-cb309bb2c016",
      "name": "Collect Feedback",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1808,
        96
      ]
    },
    {
      "id": "fe6b076a-9dc6-48db-9d6b-f140eac913e4",
      "name": "Validate Payload",
      "type": "n8n-nodes-base.if",
      "position": [
        -1568,
        96
      ]
    },
    {
      "id": "824a6439-613d-4b1b-9745-fe528c9cabf1",
      "name": "Slack – Payload Error",
      "type": "n8n-nodes-base.slack",
      "position": [
        -1264,
        160
      ]
    },
    {
      "id": "60a2e196-e5e4-43f9-b1b7-086ae2c3c168",
      "name": "Determine Sentiment",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1296,
        0
      ]
    },
    {
      "id": "12a54d8f-ce42-4a46-8a87-dc902fad61d2",
      "name": "Is Negative or Feature Request?",
      "type": "n8n-nodes-base.if",
      "position": [
        -896,
        32
      ]
    },
    {
      "id": "bfc5ad41-6a16-4ac3-8424-b37f9e4a950b",
      "name": "Create Jira Task",
      "type": "n8n-nodes-base.jira",
      "position": [
        -624,
        16
      ]
    },
    {
      "id": "7276b4c2-821e-410f-842d-baac704da71a",
      "name": "Weekly Summary Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1664,
        592
      ]
    },
    {
      "id": "bd87ea1c-c5d0-472c-b346-9302e1208874",
      "name": "Search Weekly Issues",
      "type": "n8n-nodes-base.jira",
      "position": [
        -1440,
        592
      ]
    },
    {
      "id": "018ae0ec-d072-4dcc-b4fc-724181644d3f",
      "name": "Send Weekly Slack Summary",
      "type": "n8n-nodes-base.slack",
      "position": [
        -864,
        592
      ]
    },
    {
      "id": "775ca163-29f6-4884-a4c3-cfc79861bf4e",
      "name": "Create Weekly Summary",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -1216,
        592
      ]
    },
    {
      "id": "558d96d1-54c4-45a4-bcb3-2c24e490b190",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1904,
        0
      ],
      "parameters": {
        "width": 278,
        "height": 224,
        "content": "\nReceives customer feedback data via POST webhook."
      }
    },
    {
      "id": "ab3d5be5-e71d-4e0f-abeb-4909461da113",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1584,
        -112
      ],
      "parameters": {
        "width": 1286,
        "height": 432,
        "content": "## AI-Driven Feedback Analysis and Ticket Generation\nThis part of the workflow first checks if the incoming feedback has all the required details. If something is missing, it sends an alert to Slack s"
      }
    },
    {
      "id": "743c5f7d-5ad5-4f43-97e7-951c8c516386",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1760,
        368
      ],
      "parameters": {
        "width": 1094,
        "height": 432,
        "content": "**Weekly Summary Trigger:** Runs automatically once per week to generate the summary.\n\n**Search Weekly Issues:** Fetches all Jira issues created today (or within defined time) for weekly reporting.\n\n*"
      }
    },
    {
      "id": "1e9013ef-e2f6-4790-bb9c-318e330ede9a",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2432,
        -192
      ],
      "parameters": {
        "width": 480,
        "height": 816,
        "content": "## How it Works:\nThis workflow automatically handles customer feedback sent through a webhook. When feedback arrives, the system first checks whether the required fields are present. If something is m"
      }
    }
  ],
  "connections": {
    "Collect Feedback": {
      "main": [
        [
          {
            "node": "Validate Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate Payload": {
      "main": [
        [
          {
            "node": "Determine Sentiment",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Slack – Payload Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Determine Sentiment": {
      "main": [
        [
          {
            "node": "Is Negative or Feature Request?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Weekly Issues": {
      "main": [
        [
          {
            "node": "Create Weekly Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Weekly Summary": {
      "main": [
        [
          {
            "node": "Send Weekly Slack Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly Summary Trigger": {
      "main": [
        [
          {
            "node": "Search Weekly Issues",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Negative or Feature Request?": {
      "main": [
        [
          {
            "node": "Create Jira Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}