{
  "id": "pfv5source027",
  "name": "Store analytics and order context - archived source",
  "nodes": [
    {
      "id": "pfv5source027n0",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "daysInterval": 7
            }
          ]
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n1",
      "name": "Pull Active Stores",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        200,
        0
      ],
      "parameters": {
        "operation": "search",
        "base": "[REMOVED FOR VISUAL REVIEW]",
        "table": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]",
          "cachedResultUrl": "[REMOVED FOR VISUAL REVIEW]"
        },
        "options": {
          "view": {
            "__rl": true,
            "value": "[REMOVED FOR VISUAL REVIEW]",
            "mode": "list",
            "cachedResultName": "[REMOVED FOR VISUAL REVIEW]",
            "cachedResultUrl": "[REMOVED FOR VISUAL REVIEW]"
          }
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n2",
      "name": "Pull Performance Metrics",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        680,
        280
      ],
      "parameters": {
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n3",
      "name": "Get Store Orders Count (7D)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        900,
        280
      ],
      "parameters": {
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n4",
      "name": "Abandoned Checkouts (7D)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1100,
        280
      ],
      "parameters": {
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n5",
      "name": "Loop Over Stores",
      "type": "n8n-nodes-base.splitInBatches",
      "typeVersion": 3,
      "position": [
        380,
        0
      ],
      "parameters": {
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n6",
      "name": "Set Store & Client ID",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        480,
        280
      ],
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]",
              "type": "string"
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]",
              "type": "string"
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n7",
      "name": "Add Analytics",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        1300,
        280
      ],
      "parameters": {
        "operation": "create",
        "base": "[REMOVED FOR VISUAL REVIEW]",
        "table": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]",
          "cachedResultUrl": "[REMOVED FOR VISUAL REVIEW]"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "matchingColumns": [],
          "schema": [
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "number",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "array",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "array",
              "readOnly": false,
              "removed": false
            },
            {
              "id": "[REMOVED FOR VISUAL REVIEW]",
              "displayName": "[REMOVED FOR VISUAL REVIEW]",
              "required": false,
              "defaultMatch": false,
              "canBeUsedToMatch": true,
              "display": true,
              "type": "string",
              "readOnly": true,
              "removed": true
            }
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n8",
      "name": "Pull Order Information",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        1520,
        280
      ],
      "parameters": {
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            },
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n9",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1720,
        280
      ],
      "parameters": {
        "unit": "minutes"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n10",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -380,
        880
      ],
      "parameters": {
        "httpMethod": "POST",
        "path": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n11",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1000,
        880
      ],
      "parameters": {
        "amount": 1,
        "unit": "minutes"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n12",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        2360,
        880
      ],
      "parameters": {
        "amount": 1,
        "unit": "minutes"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n13",
      "name": "Wait7",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        840,
        1320
      ],
      "parameters": {
        "amount": 1,
        "unit": "minutes"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n14",
      "name": "Send to Make for Document Creation",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2580,
        1320
      ],
      "parameters": {
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendBody": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            },
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            },
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            },
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            },
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n15",
      "name": "Wait8",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        440,
        880
      ],
      "parameters": {
        "amount": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n16",
      "name": "Get Client Record",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        220,
        880
      ],
      "parameters": {
        "base": "[REMOVED FOR VISUAL REVIEW]",
        "table": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]",
          "cachedResultUrl": "[REMOVED FOR VISUAL REVIEW]"
        },
        "id": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n17",
      "name": "Orders Executive Summary",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        660,
        880
      ],
      "parameters": {
        "promptType": "[REMOVED FOR VISUAL REVIEW]",
        "text": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "systemMessage": "[REMOVED FOR VISUAL REVIEW]",
          "returnIntermediateSteps": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n18",
      "name": "Product Category Analysis",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        1940,
        880
      ],
      "parameters": {
        "promptType": "[REMOVED FOR VISUAL REVIEW]",
        "text": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "systemMessage": "[REMOVED FOR VISUAL REVIEW]",
          "returnIntermediateSteps": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n19",
      "name": "Time Based Analytics",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        1060,
        1320
      ],
      "parameters": {
        "promptType": "[REMOVED FOR VISUAL REVIEW]",
        "text": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "systemMessage": "[REMOVED FOR VISUAL REVIEW]",
          "returnIntermediateSteps": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n20",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "typeVersion": 1,
      "position": [
        540,
        1080
      ],
      "parameters": {
        "description": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n21",
      "name": "Think1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "typeVersion": 1,
      "position": [
        1640,
        1040
      ],
      "parameters": {
        "description": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n22",
      "name": "Think2",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "typeVersion": 1,
      "position": [
        2880,
        1060
      ],
      "parameters": {
        "description": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n23",
      "name": "Think3",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "typeVersion": 1,
      "position": [
        400,
        1540
      ],
      "parameters": {
        "description": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n24",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        380,
        1040
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]"
        },
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n25",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        1040,
        1680
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]"
        },
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n26",
      "name": "Convert Emails to HTML1",
      "type": "n8n-nodes-base.markdown",
      "typeVersion": 1,
      "position": [
        2000,
        1320
      ],
      "parameters": {
        "mode": "[REMOVED FOR VISUAL REVIEW]",
        "markdown": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "completeHTMLDocument": true,
          "tasklists": true,
          "simpleLineBreaks": false,
          "smartIndentationFix": true,
          "disableForced4SpacesIndentedSublists": true,
          "tables": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n27",
      "name": "Encode N8N Markdown",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2200,
        1320
      ],
      "parameters": {
        "jsCode": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n28",
      "name": "Encode N8N Markdown5",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        2380,
        1320
      ],
      "parameters": {
        "jsCode": "[REMOVED FOR VISUAL REVIEW]"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n29",
      "name": "Send Execution Data5",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        2800,
        1320
      ],
      "parameters": {
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n30",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1720,
        880
      ],
      "parameters": {
        "amount": 1,
        "unit": "minutes"
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n31",
      "name": "Get Generation Record",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        -200,
        880
      ],
      "parameters": {
        "base": "[REMOVED FOR VISUAL REVIEW]",
        "table": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]",
          "cachedResultUrl": "[REMOVED FOR VISUAL REVIEW]"
        },
        "id": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n32",
      "name": "Pull Store Record",
      "type": "n8n-nodes-base.airtable",
      "typeVersion": 2.1,
      "position": [
        20,
        880
      ],
      "parameters": {
        "base": "[REMOVED FOR VISUAL REVIEW]",
        "table": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]",
          "cachedResultUrl": "[REMOVED FOR VISUAL REVIEW]"
        },
        "id": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n33",
      "name": "Shopify Graph QL",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        700,
        1120
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n34",
      "name": "Customer Journey",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        1240,
        880
      ],
      "parameters": {
        "promptType": "[REMOVED FOR VISUAL REVIEW]",
        "text": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "systemMessage": "[REMOVED FOR VISUAL REVIEW]",
          "returnIntermediateSteps": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n35",
      "name": "Customer Segmentation",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        460,
        1320
      ],
      "parameters": {
        "promptType": "[REMOVED FOR VISUAL REVIEW]",
        "text": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "systemMessage": "[REMOVED FOR VISUAL REVIEW]",
          "returnIntermediateSteps": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n36",
      "name": "Shopify Graph QL1",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        1300,
        1120
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n37",
      "name": "Shopify Graph QL2",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        2220,
        1160
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n38",
      "name": "Shopify Graph QL3",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        280,
        1520
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n39",
      "name": "Shopify Graph QL5",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        960,
        1500
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n40",
      "name": "Shopify Graph QL6",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        1320,
        1660
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n41",
      "name": "GA4/Google",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1.7,
      "position": [
        1440,
        1320
      ],
      "parameters": {
        "promptType": "[REMOVED FOR VISUAL REVIEW]",
        "text": "[REMOVED FOR VISUAL REVIEW]",
        "options": {
          "systemMessage": "[REMOVED FOR VISUAL REVIEW]",
          "returnIntermediateSteps": true
        }
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n42",
      "name": "PerformanceMetrics",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        1440,
        1620
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n43",
      "name": "Orders Count",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        1580,
        1620
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n44",
      "name": "Abandoned Checkouts",
      "type": "n8n-nodes-base.httpRequestTool",
      "typeVersion": 4.2,
      "position": [
        1700,
        1620
      ],
      "parameters": {
        "toolDescription": "[REMOVED FOR VISUAL REVIEW]",
        "method": "POST",
        "url": "[REMOVED FOR VISUAL REVIEW]",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "[REMOVED FOR VISUAL REVIEW]",
              "value": "[REMOVED FOR VISUAL REVIEW]"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "[REMOVED FOR VISUAL REVIEW]",
        "options": {}
      },
      "disabled": false
    },
    {
      "id": "pfv5source027n45",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1.2,
      "position": [
        1220,
        1520
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "value": "[REMOVED FOR VISUAL REVIEW]",
          "mode": "list",
          "cachedResultName": "[REMOVED FOR VISUAL REVIEW]"
        },
        "options": {}
      },
      "disabled": false
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Pull Active Stores",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull Active Stores": {
      "main": [
        [
          {
            "node": "Loop Over Stores",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull Performance Metrics": {
      "main": [
        [
          {
            "node": "Get Store Orders Count (7D)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Store Orders Count (7D)": {
      "main": [
        [
          {
            "node": "Abandoned Checkouts (7D)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Stores": {
      "main": [
        [],
        [
          {
            "node": "Set Store & Client ID",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Abandoned Checkouts (7D)": {
      "main": [
        [
          {
            "node": "Add Analytics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Store & Client ID": {
      "main": [
        [
          {
            "node": "Pull Performance Metrics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Analytics": {
      "main": [
        [
          {
            "node": "Pull Order Information",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull Order Information": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Loop Over Stores",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Customer Journey",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "Customer Segmentation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait7": {
      "main": [
        [
          {
            "node": "Time Based Analytics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send to Make for Document Creation": {
      "main": [
        [
          {
            "node": "Send Execution Data5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait8": {
      "main": [
        [
          {
            "node": "Orders Executive Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Client Record": {
      "main": [
        [
          {
            "node": "Wait8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Orders Executive Summary": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Product Category Analysis": {
      "main": [
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Time Based Analytics": {
      "main": [
        [
          {
            "node": "GA4/Google",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think": {
      "ai_tool": [
        [
          {
            "node": "Orders Executive Summary",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think1": {
      "ai_tool": [
        [
          {
            "node": "Customer Journey",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think2": {
      "ai_tool": [
        [
          {
            "node": "Product Category Analysis",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think3": {
      "ai_tool": [
        [
          {
            "node": "Customer Segmentation",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Orders Executive Summary",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Customer Journey",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Product Category Analysis",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Customer Segmentation",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Time Based Analytics",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Convert Emails to HTML1": {
      "main": [
        [
          {
            "node": "Encode N8N Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Encode N8N Markdown": {
      "main": [
        [
          {
            "node": "Encode N8N Markdown5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Encode N8N Markdown5": {
      "main": [
        [
          {
            "node": "Send to Make for Document Creation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Product Category Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Get Generation Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Generation Record": {
      "main": [
        [
          {
            "node": "Pull Store Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull Store Record": {
      "main": [
        [
          {
            "node": "Get Client Record",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Graph QL": {
      "ai_tool": [
        [
          {
            "node": "Orders Executive Summary",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Customer Journey": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Customer Segmentation": {
      "main": [
        [
          {
            "node": "Wait7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Graph QL1": {
      "ai_tool": [
        [
          {
            "node": "Customer Journey",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Graph QL2": {
      "ai_tool": [
        [
          {
            "node": "Product Category Analysis",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Graph QL3": {
      "ai_tool": [
        [
          {
            "node": "Customer Segmentation",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Graph QL5": {
      "ai_tool": [
        [
          {
            "node": "Time Based Analytics",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Graph QL6": {
      "ai_tool": [
        [
          {
            "node": "GA4/Google",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "PerformanceMetrics": {
      "ai_tool": [
        [
          {
            "node": "GA4/Google",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Orders Count": {
      "ai_tool": [
        [
          {
            "node": "GA4/Google",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Abandoned Checkouts": {
      "ai_tool": [
        [
          {
            "node": "GA4/Google",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "GA4/Google",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "GA4/Google": {
      "main": [
        [
          {
            "node": "Convert Emails to HTML1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "tags": []
}