{
  "name": "06 · E-commerce / Post-Delivery Review Request",
  "active": false,
  "nodes": [
    {
      "id": "d6ec443b-03fb-4b35-aea8-ee6ec0f68a0b",
      "name": "📘 Guide",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        -120
      ],
      "parameters": {
        "content": "## 06 · E-commerce · Post-Delivery Review Request\n\n### What this does\nOn delivered status, waits N days, asks for review, and routes negative feedback to support.\n\n### Setup checklist\n1. Shipping status webhook\n2. Review platform\n3. Support ticket create\n\n### How to test locally\nPOST `ecom-delivered` with shipment JSON.\n\n### Tips\n- Keep credentials in n8n Credentials (never hardcode secrets).\n- Use **Test URL** on the Webhook while developing.\n- Activate only after credentials + destinations are configured.\n",
        "width": 560,
        "height": 560,
        "color": 1
      }
    },
    {
      "id": "c9dc9d7e-7d09-41d3-9430-336d77b6a88c",
      "name": "⚙️ Config",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -640,
        480
      ],
      "parameters": {
        "content": "## Config map\n\n- **Webhook path:** `ecom-delivered`\n- **Replace** all `https://httpbin.org/...` calls with real integrations.\n- **Credentials:** create in n8n → Credentials, then select on HTTP nodes.\n- **Activate** workflow only after a successful Test execution.\n\n### Local files\nShared host folder is mounted at `/files` inside n8n.",
        "width": 560,
        "height": 320,
        "color": 2
      }
    },
    {
      "id": "b9ba6d90-c7e5-431c-9637-afdf7b5799b7",
      "name": "Start Sequence",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        200
      ],
      "webhookId": "e44535f3-42c2-4db7-a20c-243dc28ba290",
      "parameters": {
        "httpMethod": "POST",
        "path": "ecom-delivered",
        "responseMode": "responseNode",
        "options": {}
      }
    },
    {
      "id": "56bacfc2-1db7-423e-a85a-d93501b0e055",
      "name": "Step 1 · Confirm",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        280,
        200
      ],
      "parameters": {
        "mode": "manual",
        "duplicateItem": false,
        "assignments": {
          "assignments": [
            {
              "id": "1",
              "name": "step",
              "value": 1,
              "type": "number"
            },
            {
              "id": "2",
              "name": "message",
              "value": "Confirmation sent (replace with Email/SMS node)",
              "type": "string"
            },
            {
              "id": "3",
              "name": "data",
              "value": "={{ $json.body || $json }}",
              "type": "object"
            }
          ]
        },
        "options": {}
      }
    },
    {
      "id": "f06bb740-bb7c-458c-a318-42dc611952f9",
      "name": "Wait Before Reminder",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        560,
        200
      ],
      "webhookId": "ba3602aa-24b9-4346-8faf-b71179d65564",
      "parameters": {
        "resume": "timeInterval",
        "amount": 3,
        "unit": "seconds"
      }
    },
    {
      "id": "17114f05-ba7b-477b-a388-0664a5a636ed",
      "name": "Step 2 · Reminder",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        840,
        200
      ],
      "parameters": {
        "mode": "manual",
        "duplicateItem": false,
        "assignments": {
          "assignments": [
            {
              "id": "1",
              "name": "step",
              "value": 2,
              "type": "number"
            },
            {
              "id": "2",
              "name": "message",
              "value": "Reminder prepared",
              "type": "string"
            }
          ]
        },
        "options": {}
      }
    },
    {
      "id": "50a77cb0-d002-4440-8726-95475d8d377b",
      "name": "Send Messages",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1120,
        200
      ],
      "parameters": {
        "method": "POST",
        "url": "https://httpbin.org/post",
        "options": {},
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "={{ JSON.stringify($json) }}"
      }
    },
    {
      "id": "488c2e14-cf78-4b7c-805f-64e93a2eadc5",
      "name": "Webhook Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        1400,
        200
      ],
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ $json }}",
        "options": {}
      }
    }
  ],
  "connections": {
    "Start Sequence": {
      "main": [
        [
          {
            "node": "Step 1 · Confirm",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 1 · Confirm": {
      "main": [
        [
          {
            "node": "Wait Before Reminder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Reminder": {
      "main": [
        [
          {
            "node": "Step 2 · Reminder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Step 2 · Reminder": {
      "main": [
        [
          {
            "node": "Send Messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Messages": {
      "main": [
        [
          {
            "node": "Webhook Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1",
    "callerPolicy": "workflowsFromSameOwner"
  },
  "tags": [],
  "meta": {
    "templateCredsSetupCompleted": true,
    "description": "On delivered status, waits N days, asks for review, and routes negative feedback to support."
  },
  "pinData": {}
}