{
  "name": "Evaluate organizational data maturity and email HTML reports with Postgres",
  "nodes": [
    {
      "id": "7fad3e81-6eb0-413d-b6e4-2635ea4ef486",
      "name": "Webhook1",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1664,
        624
      ]
    },
    {
      "id": "bde28bbb-aca2-4dc0-bb37-caffc19cc202",
      "name": "Send Email seek chart wtith overall",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1280,
        528
      ]
    },
    {
      "id": "17e46bc4-2330-4538-8128-79785f0d8185",
      "name": "Calculate & Generate Charts",
      "type": "n8n-nodes-base.code",
      "position": [
        -1200,
        416
      ]
    },
    {
      "id": "60068da3-f65c-4ea0-bd63-a85ae08083ea",
      "name": "Save Results",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -976,
        416
      ]
    },
    {
      "id": "2e30993d-c828-44d6-b87d-1288767a2f24",
      "name": "Save Form Details",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -976,
        624
      ]
    },
    {
      "id": "6fe7e2a4-2c91-4f9a-b868-c0ed9970050a",
      "name": "Collect Step",
      "type": "n8n-nodes-base.merge",
      "position": [
        -528,
        528
      ]
    },
    {
      "id": "02358eee-6d69-4a88-b0b0-c37fa1c3964c",
      "name": "Collect Ranks",
      "type": "n8n-nodes-base.merge",
      "position": [
        -96,
        432
      ]
    },
    {
      "id": "449e403a-30b2-44a9-8037-c3e980f3cc94",
      "name": "Rank_Data_Strategy_Governance",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        -80
      ]
    },
    {
      "id": "53a75890-7c52-43d8-b104-7b09706f115f",
      "name": "Rank_Data_Quality_Integrity",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        128
      ]
    },
    {
      "id": "33997417-fe52-4cd7-bd4e-f7cd0608d15e",
      "name": "Rank_Data_DrivenDecision_Intelligence",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        320
      ]
    },
    {
      "id": "d19d55bc-15f9-4b37-b37c-9f4e3f2ed5ea",
      "name": "Rank_Data_Management_Operations",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        528
      ]
    },
    {
      "id": "b5d808ec-4b65-4a7f-ac70-428874167c4d",
      "name": "Rank_Data_Ethics_Privacy",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        720
      ]
    },
    {
      "id": "faf58e8b-72ff-4ea5-96a0-5cfea277843d",
      "name": "Rank_AI_Maturity_Assessment",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        928
      ]
    },
    {
      "id": "ad931f70-e76d-49ac-a250-aa701c5726c7",
      "name": "Rank_Overall_Avg",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -320,
        1120
      ]
    },
    {
      "id": "7779a41f-751b-4a5d-b333-2a11226042eb",
      "name": "Create HTML FIle",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        752,
        704
      ]
    },
    {
      "id": "c14f89ce-d21e-4ac4-9cd8-e889496d55de",
      "name": "HTML Body",
      "type": "n8n-nodes-base.set",
      "position": [
        480,
        704
      ]
    },
    {
      "id": "d9354e92-40f6-4726-ac81-1614e99d0e96",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1008,
        528
      ]
    },
    {
      "id": "e87f9428-db7b-4eea-9481-24ca542adecc",
      "name": "DataCollector",
      "type": "n8n-nodes-base.set",
      "position": [
        -1424,
        416
      ]
    },
    {
      "id": "3eb7c2d2-d26f-4217-b994-9b13cdccc3e4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1664,
        320
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "57765c3c-ac6e-4432-ae17-ecf716b66f4f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        304
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "01a8b966-1aa6-4062-8a7c-090a35520273",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -208
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "09ac49de-9496-4e24-af46-7d49eccb1161",
      "name": "Generate Email styling and Formats",
      "type": "n8n-nodes-base.code",
      "position": [
        192,
        512
      ]
    },
    {
      "id": "29762eb5-d28c-4328-9541-fd4a337fa5c2",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        704
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "45961cdf-09e4-4c43-a40b-16951365cd62",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        880
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "88a51184-8b6f-426f-8723-5e55ba00ebef",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1744,
        -352
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f5d7b7f5-18f7-4435-9bcd-421ab72434f4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "b745a9e9-a5c6-4c48-8dc3-0feed0fc7f3d",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1d4bc79c-1f4a-42a6-8e74-88f1f0a9ceb7",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        16
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c5c3f24b-4c00-4291-82a4-c667e144b3d5",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        160
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ddda747d-4843-4eee-8bcb-21ebbb31ebc0",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -256
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "7e3d7f21-fd54-405d-a43a-06e081bce16b",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e8007a8d-b8d1-48fa-acf6-1d484faa22fe",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -336
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "13547bc0-b178-4fd9-9216-cf5449d02dc8",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        96
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "d99af876-71ec-4ae9-b8cf-527b5e4a8296",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        112
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ec867ea6-793e-4afe-b55f-126aee4f280c",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "f816f0b6-ff41-4a23-b9ae-a75fdee36a4f",
      "name": "Wait Save Form Details",
      "type": "n8n-nodes-base.wait",
      "position": [
        -752,
        624
      ]
    },
    {
      "id": "c92e2172-edc4-4d3c-95c0-8cd6c05edc47",
      "name": "Wait Save Results",
      "type": "n8n-nodes-base.wait",
      "position": [
        -752,
        416
      ]
    },
    {
      "id": "9cd414f1-8f74-4cd7-ac6e-554dfe49957a",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1744,
        -192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "63ceeeeb-db14-4c7c-a00f-0edf668b2074",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1744,
        16
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "70a1aa00-435e-4489-8d18-881ae9a39efe",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1184,
        -288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1baa9fd0-3e77-469c-90cf-9f6c591c93c7",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1168,
        -336
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "6661016b-c444-439c-b94b-46d3bbe94c6b",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1408,
        -288
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Send Email seek chart wtith overall",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook1": {
      "main": [
        [
          {
            "node": "DataCollector",
            "type": "main",
            "index": 0
          },
          {
            "node": "Save Form Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML Body": {
      "main": [
        [
          {
            "node": "Create HTML FIle",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect Step": {
      "main": [
        [
          {
            "node": "Rank_Data_Strategy_Governance",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rank_Data_Quality_Integrity",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rank_Data_DrivenDecision_Intelligence",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rank_Data_Management_Operations",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rank_Data_Ethics_Privacy",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rank_AI_Maturity_Assessment",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rank_Overall_Avg",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Results": {
      "main": [
        [
          {
            "node": "Wait Save Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Collect Ranks": {
      "main": [
        [
          {
            "node": "Generate Email styling and Formats",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "DataCollector": {
      "main": [
        [
          {
            "node": "Calculate & Generate Charts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create HTML FIle": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Rank_Overall_Avg": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 6
          }
        ]
      ]
    },
    "Save Form Details": {
      "main": [
        [
          {
            "node": "Wait Save Form Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Save Results": {
      "main": [
        [
          {
            "node": "Collect Step",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Save Form Details": {
      "main": [
        [
          {
            "node": "Collect Step",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Rank_Data_Ethics_Privacy": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Calculate & Generate Charts": {
      "main": [
        [
          {
            "node": "Save Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank_AI_Maturity_Assessment": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Rank_Data_Quality_Integrity": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Rank_Data_Strategy_Governance": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank_Data_Management_Operations": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Generate Email styling and Formats": {
      "main": [
        [
          {
            "node": "HTML Body",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rank_Data_DrivenDecision_Intelligence": {
      "main": [
        [
          {
            "node": "Collect Ranks",
            "type": "main",
            "index": 2
          }
        ]
      ]
    }
  }
}